rust-pyo3-built 0.6.0-1
Package Information
| Description | Expose build variables obtained with built as a PyDict - Rust source code Source code for Debianized Rust crate "pyo3-built" for use in Debian builds. Other Rust packages wishing to use the "pyo3-built" crate can either add the "librust-pyo3-built-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-pyo3-built.git (browse) |
| Closes | #1156194 |
| Tracker | https://tracker.debian.org/pkg/rust-pyo3-built |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Source | rust-pyo3-built |
|---|---|
| Version | 0.6.0-1 |
| Changed-By | Andreas Tille <tille@debian.org> |
| Architecture | source amd64 |
| Distribution | unstable |
| Date | Thu, 03 Dec 2026 08:50:24 +0100 |
Changelog
rust-pyo3-built (0.6.0-1) unstable; urgency=medium . * Initial release (Closes: #1156194)
.dsc
| Section | rust |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | librust-pyo3-built-dev deb rust optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pyo3-built Upstream-Contact: PyO3 Project and Contributors <pyo3-users@googlegroups.com> Source: https://github.com/PyO3/pyo3-built Files: * Copyright: 2021-2026 PyO3 Project and Contributors License: Apache-2.0 Files: debian/* Copyright: 2026 Andreas Tille <tille@debian.org> License: Apache-2.0 License: Apache-2.0 On Debian systems, the complete text of the Apache License, Version 2.0 can be found in the file '/usr/share/common-licenses/Apache-2.0'.
DFSG Assistant LLM REVIEW 0 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-pyo3-built version 0.6.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 0 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
debian/copyright is DEP-5 and matches the tree: the only licence text is the verbatim Apache License 2.0 in LICENSE, and Cargo.toml/Cargo.toml.orig declare license = "Apache-2.0"; the Files: * and Files: debian/* stanzas, the License: Apache-2.0 short name and its pointer to /usr/share/common-licenses/Apache-2.0 are all consistent. No other copyright or licence notice exists in the 12 upstream files (the prescan found no unnamed holder), there are no non-free terms, no vendored third-party code and no built/generated binaries. The one remaining unverifiable point is the copyright year range, which is recorded under Not confirmed.
Packaging
Clean debcargo-generated packaging: debhelper compat 14 with the dh-cargo buildsystem, the whole crate tree installed into /usr/share/cargo/registry, autopkgtest control present and well formed, no patches and no maintainer scripts, Standards-Version 4.7.4 current against Policy 4.7.4.1, and a sane 0.6.0-1 unstable changelog closing an ITP. The <!nocheck> Build-Depends on cargo/rustc/libstd-rust-dev still resolve in a nocheck build through dh-cargo's dependency chain (cargo -> rustc -> libstd-rust-dev), so there is no nocheck FTBFS. No issues found.
Issues
None.
Verified ◂
- Read debian/copyright in full: DEP-5 header,
Files: *Apache-2.0 for 2021-2026 PyO3 Project and Contributors,Files: debian/*Apache-2.0 for 2026 Andreas Tille, one stand-alone Apache-2.0 paragraph pointing at /usr/share/common-licenses/Apache-2.0 (that file exists).Files: *precedes thedebian/*override, which is the order copyright-format 6.9 requires. - LICENSE is the complete, unmodified Apache License 2.0 (201 lines) with no added copyright line; Cargo.toml and Cargo.toml.orig declare
license = "Apache-2.0"andauthors = ["PyO3 Project and Contributors"], agreeing with the stanza. - All 12 non-debian files checked (grep for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/GNU/Apache License/public domain/All rights reserved, plus full reads): src/lib.rs is a macro-only crate with no header; README.md carries only Apache-2.0 badges and examples; .github/workflows/test.yml and .github/dependabot.yml, both .gitignore files, Cargo.lock and .cargo_vcs_info.json carry no notice. All are covered by
Files: *and are installed only as Rust source, so no holder is missing; no non-free wording anywhere. - example/setup.py contains only setuptools metadata (
author="Martin Larralde",author_email=...) and no copyright notice; the repository-wide Apache-2.0 LICENSE covers it. It is upstream's stale example (its referenced example/hello/Cargo.toml is not shipped) and is not executed by the Debian build. - Debian cargo buildsystem (read /usr/share/perl5/Debian/Debhelper/Buildsystem/cargo.pm): get_sources() excludes only .git, .pc, debian and target, so every upstream path, including example/ and .github/, is copied into /usr/share/cargo/registry/pyo3-built-0.6.0; Cargo.lock is removed at configure time and debian/cargo-checksum.json (package hash 4bf83fce... equal to the orig tarball's sha256 in the .dsc) is copied to .cargo-checksum.json. Nothing is left uninstalled.
- Build-depends/profile check with apt-cache: dh-cargo 34 Depends cargo (>= 0.40.0-3~~); cargo Depends rustc; rustc Depends libstd-rust-dev (= version). Thus a DEB_BUILD_OPTIONS=nocheck build still installs the three
<!nocheck>Build-Depends and dh_auto_build can run, so the<!nocheck>markers are not a nocheck FTBFS. - debhelper tool: at compat 14 (recommended, not deprecated) dh skips override_/execute_ targets of dh_auto_test when DEB_BUILD_OPTIONS contains nocheck, so override_dh_auto_test needs no guard; its
dh_auto_test -- test --allcorrectly passestest --allto the cargo buildsystem, whose test() then runscargo test --all. The crate has no [dependencies], no dev-dependencies and no tests, so the run only re-checks compilation and needs nothing extra. - debian/tests/control: two Test-Command entries using /usr/share/cargo/bin/cargo-auto-test (present in /usr/share/cargo/bin) with dh-cargo (>= 18);
Features:test-name values and theDepends: @expansion were checked in /usr/share/autopkgtest/lib/testdesc.py — commas separate values and@in Depends is the build-deps placeholder, so the file is well formed (the literal@in the Features test-name is harmless). - debian/control: source name rust-pyo3-built with X-Cargo-Crate: pyo3-built, binary librust-pyo3-built-dev Architecture any + Multi-Arch same with the standard debcargo Provides list; Standards-Version 4.7.4 (first two components 4.7 match Policy 4.7.4.1); Priority omitted, which Policy A10.3 (4.7.3) recommends; no maintainer scripts, no patches (so no DEP-3 question), source format 3.0 (quilt).
- debian/changelog: 0.6.0-1 to unstable, urgency medium, dated today,
Initial release (Closes: #1156194); upstream version 0.6.0 matches Cargo.toml and the debian/cargo-checksum.json/local crate path. - The prescan reported no candidate copyright holders, no built/minified/PDF files, no rare licence wording and no patch-created files, consistent with the greps and full reads above over the whole 12-file upstream tree.
- uscan found the packaged version as the newest upstream release (upstream
0.6.0, packaged0.6.0). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- The stated copyright years
2021-2026cannot be verified: the tarball ships only a commit id (.cargo_vcs_info.json), no VCS history, and the README example output is dated 2018, so the start year is unconfirmed (no contradicting notice exists in the package).
Proposed changes ◂
None.
Uploader's response to the LLM review
The review found no issues, so no response is needed.