Review: dart-pub-semver 2.2.1-1
Package Information
| Description | Versions and version constraints implementing pub's versioning policy This is very similar to vanilla semver, with a few corner cases. This package ships the Dart sources so that other Dart packages can depend on it at build time. |
|---|---|
| Maintainer | Emfox Zhou <emfox@debian.org> |
| Changed By | Emfox Zhou <emfox@debian.org> |
| Sponsor | emfox@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/dart-team/dart-pub-semver.git (browse) |
| Closes | #1149086 |
| Tracker | https://tracker.debian.org/pkg/dart-pub-semver |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Architecture | source all |
|---|---|
| Distribution | unstable |
| Date | Sat, 26 Sep 2026 19:41:15 +0800 |
| Source | dart-pub-semver |
| Version | 2.2.1-1 |
| Changed-By | Emfox Zhou |
Changelog
dart-pub-semver (2.2.1-1) unstable; urgency=medium . * Initial release. (Closes: #1149086)
.dsc
| Section | libs |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | dart-pub-semver deb libs optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pub_semver
Source: https://github.com/dart-lang/tools/tree/main/pkgs/pub_semver
Files: *
Copyright: 2014-2020, the Dart project authors
License: BSD-3-clause
Copyright 2014, the Dart project authors.
.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Review Information
accepted — allocated to awm 1 hour ago, started 1 hour ago, completed 1 hour ago.
Final Comment
Hi,
The shipped sources import package:collection/collection.dart:
lib/src/version.dart:7
lib/src/version_union.dart:5
Yet debian/control declares no Depends: at all on the binary package. The package's stated purpose is to "ship the Dart sources so that other Dart packages can depend on it at build time," but those sources won't compile for consumers without collection being provided.
This needs a Depends: dart-collection — otherwise the shipped code is incomplete for its intended use.
... or possibly it doesn't. I know that with debhelper 14 some classes of Depends are no longer needed, so perhaps this is one such? It would be good to know...
I guess it's also possible you know this perfectly well, but you have to do it this way as you pull this all together from the bootstraps :-)
Thanks!