rust-gb-io 0.9.0-1
Package Information
| Description | library for manipulating Genbank sequence files - Rust source code Source code for Debianized Rust crate "gb-io" for use in Debian builds. Other Rust packages wishing to use the "gb-io" crate can either add the "librust-gb-io-dev" package to the build dependencies, or use the packaged Debian source code in the Rust source build. |
|---|---|
| Maintainer | Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org> |
| Changed By | Andreas Tille <tille@debian.org> |
| Sponsor | tille@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/med-team/rust-gb-io.git (browse) |
| Closes | #1156123 |
| Tracker | https://tracker.debian.org/pkg/rust-gb-io |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Source | rust-gb-io |
|---|---|
| Version | 0.9.0-1 |
| Changed-By | Andreas Tille <tille@debian.org> |
| Architecture | source amd64 |
| Distribution | unstable |
| Date | Thu, 03 Dec 2026 06:54:30 +0100 |
Changelog
rust-gb-io (0.9.0-1) unstable; urgency=medium . * Initial release (Closes: #1156123)
.dsc
| Section | rust |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | librust-gb-io-dev deb rust optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gb-io Upstream-Contact: David Leslie <david@networkpharaoh.com> Source: https://github.com/dlesl/gb-io Files: * Copyright: 2018 David Leslie <david@networkpharaoh.com> License: MIT Files: debian/* Copyright: 2026 Andreas Tille <tille@debian.org> License: MIT License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
DFSG Assistant LLM REVIEW 1 blocker, 0 important, 0 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 0 hours ago.
Report
DFSG NEW review for rust-gb-io version 0.9.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 1 blocker, 0 important, 0 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
MIT is the correct licence for the crate as declared by upstream, and debian/copyright reproduces the MIT text and David Leslie's notice exactly. However, src/writer.rs states that both its constants and the locus_line implementation are ported/taken from Biopython's InsdcIO.py; the Biopython copyright holder and licence appear nowhere in debian/copyright, and the file itself carries no Biopython notice. The crate source is shipped in librust-gb-io-dev, so Debian Policy 2.3 requires that notice in the copyright file.
Packaging
Debcargo-generated packaging at compat 14 is sound: correct Build-Depends and runtime Depends/Provides, DEP-5 copyright, a DEP-3 vendor patch, and autopkgtest coverage of the doctests. All named dependency packages resolve in the archive, Standards-Version 4.7.4 matches Policy 4.7.4.1, and the test/build handling of the missing upstream test data is documented and consistent. No packaging faults were found.
Issues
blocker licensing 1. debian/copyright credits only David Leslie for src/writer.rs, which is ported from Biopython ◂
- Files:
src/writer.rs:6,src/writer.rs:84,debian/copyright - Basis: inferred from what was read, not seen directly
- Evidence: src/writer.rs:6
// Following constants taken from Biopython's InsdcIO.py; src/writer.rs:84/// Ported from Biopython (InsdcIO.py).; debian/copyrightFiles: */Copyright: 2018 David Leslie <david@networkpharaoh.com>/License: MIT - Problem: src/writer.rs is not solely David Leslie's work: its constants and the
locus_lineimplementation are stated in the file to be taken/ported from Biopython's InsdcIO.py. Biopython code is under the Biopython License Agreement (and, since 1.69, BSD-3-Clause), whose terms require the copyright notice and permission notice to be retained in copies. The file contains no such notice, and debian/copyright names neither the Biopython holders nor their licence. The crate source is installed into /usr/share/cargo/registry by librust-gb-io-dev, i.e. it is shipped in a binary package in source form, so Policy 2.3 requires the notice in /usr/share/doc/librust-gb-io-dev/copyright. As written, the copyright and licence of src/writer.rs are misdescribed as solely David Leslie/MIT. - Fix: Add a Files stanza for src/writer.rs (covering the Biopython-derived portions) naming The Biopython Consortium/contributors and the Biopython License Agreement/BSD-3-Clause, including the full licence text (it is not in /usr/share/common-licenses), or record the permission under which the ported code is relicensed; ask upstream to state this in the repository.
Verified ◂
- Covered the whole tree: 22 upstream files (LICENSE, README.md, Cargo.toml, Cargo.toml.orig, Cargo.lock, .cargo_vcs_info.json, .gitignore, 13 src/*.rs files, benches/parse.rs, examples/feature_extract.rs) and every file under debian/ except debian/watch (checked separately), debian/cargo-checksum.json and the .pc/ directory (excluded by the instructions).
- LICENSE is the MIT text with
Copyright (c) 2018 David Leslie; Cargo.toml and Cargo.toml.orig declarelicense = "MIT"; grepping src/, benches/, examples/ and the toplevel files for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/GNU/Apache/MPL/public domain/All rights reserved found no other licence or copyright notices. - debian/copyright is machine-readable DEP-5 1.0 with the exact Format URL, Upstream-Name/Upstream-Contact/Source,
Files: *andFiles: debian/*stanzas, and the full MIT text; MIT is not in /usr/share/common-licenses, so including the text is required and done. - The prescan's author check reported 21 files scanned and every holder it found is named in debian/copyright; it listed no file for follow-up.
- src/dna.rs:1 cites rust-bio's dna.rs as the basis for the IUPAC complement mapping; the file reproduces only that standard base-complement table and no copyright notice, so no separate stanza is proposed for it.
- All packages named in Build-Depends/Depends/autopkgtest Depends exist in the reviewing system's lists: librust-circular-dev 0.3.0, librust-itertools-dev 0.14.0, librust-log-dev 0.4.35, librust-nom-dev 8.0.0, librust-serde-dev 1.0.229 (also +derive-dev), librust-serde-bytes-dev 0.11.19, librust-thiserror-dev 2.0.21, librust-bencher-dev 0.1.5, librust-env-logger-dev 0.11.12, librust-glob-dev 0.3.4, dh-cargo 34; cargo depends on rustc, and rustc on libstd-rust-dev, so the autopkgtest gets the whole Rust toolchain.
- Standards-Version 4.7.4 has the same first two components as the reviewing system's Policy 4.7.4.1, and debhelper compat 14 is the recommended level; the debhelper tool confirms that from v13 dh skips the override_dh_auto_test target when DEB_BUILD_OPTIONS contains nocheck, and /usr/share/cargo/bin/cargo returns 0 for
testwhen DEB_BUILD_PROFILES contains nocheck, so the <!nocheck> Build-Depends on cargo/rustc/libstd-rust-dev are used only by the test step. - debian/patches/series contains one patch, smoke-doctest.patch, applied to src/reader/mod.rs; its doctest uses existing public API (Seq::empty, the public Seq fields, writer::write and reader::parse_slice) and the writer's LOCUS/ORIGIN output is accepted by reader/locus.rs's locus_full and the sequence parser, so the documented doctest round-trip is consistent with the code.
- debian/tests/control is valid:
@expands to the generated binary package (autopkgtest spec), the trailing commas are separators, and both Test-Commands runcargo-auto-test ... --doc, which matches debian/rules' doctest-only choice and the documented absence of tests/ from the crates.io tarball (confirmed by include_bytes! in src/lib.rs and benches/parse.rs). - Reviewed debian/control, rules, changelog, source/format, debcargo.toml, tests/control and the patch headers (DEP-3 Description/Author/Origin/Forwarded/Last-Update present); changelog distribution is unstable, version 0.9.0-1 is consistent with X-Cargo-Crate, and the Vcs-* fields and Section/Architecture/Multi-Arch are conventional for a Rust -dev package.
- uscan found the packaged version as the newest upstream release (upstream
0.9.0, packaged0.9.0).
Not confirmed ◂
- Biopython's licence text is not installed on the reviewing system, so the exact wording of the notice to add was not quoted from a local copy; the reported issue rests on the package's own statements that writer.rs code and constants were ported/taken from Biopython's InsdcIO.py.
- I did not build the package or run cargo test; the added doctest and the dependency resolution were checked statically only.
Proposed changes ◂
None.
Uploader's response to the LLM review
Waiting for the uploader's response until , because the review found serious issues.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.