Compare commits
8 Commits
debian/3.0
...
deb/trixie
| Author | SHA1 | Date | |
|---|---|---|---|
| 8381514640 | |||
| a9168d8851 | |||
| f7b54b9605 | |||
| fa8f590019 | |||
| 89179e49e7 | |||
| 47b91a1e42 | |||
| 4778c6f362 | |||
| 2022da671e |
1
debian/cargo-checksum.json
vendored
Normal file
1
debian/cargo-checksum.json
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"package":"62e0ece55a4e0150ab3a3f7f5299e6eb113134975100cddde5a68dfcbb5e1a5c","files":{}}
|
||||||
12
debian/changelog
vendored
12
debian/changelog
vendored
@@ -1,3 +1,15 @@
|
|||||||
|
gt-tool (3.0.1-2) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Fix: debian/copyright was using old package name.
|
||||||
|
* Add a cargo-checksum.json, remove its fake
|
||||||
|
* Remove bogus pre-step inserts
|
||||||
|
* Strip out all the imports and exports
|
||||||
|
* Drop a copyright notice (!)
|
||||||
|
* Adopt debian/control contents from debcargo output
|
||||||
|
* Adopt debcargo auto-gen'd testing stuff
|
||||||
|
|
||||||
|
-- Robert Garrett <robertgarrett404@gmail.com> Thu, 13 Nov 2025 22:07:35 -0600
|
||||||
|
|
||||||
gt-tool (3.0.1-1) unstable; urgency=medium
|
gt-tool (3.0.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
* Update dependency versions for Debian 13 "Trixie"
|
* Update dependency versions for Debian 13 "Trixie"
|
||||||
|
|||||||
73
debian/control
vendored
73
debian/control
vendored
@@ -1,28 +1,83 @@
|
|||||||
Source: gt-tool
|
Source: gt-tool
|
||||||
Maintainer: Robert Garrett <robertgarrett404@gmail.com>
|
Maintainer: Robert Garrett <robertgarrett404@gmail.com>
|
||||||
Section: misc
|
Section: rust
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Standards-Version: 4.6.2
|
Standards-Version: 4.6.2
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
debhelper-compat (= 13),
|
debhelper-compat (= 13),
|
||||||
dh-cargo,
|
dh-sequence-cargo
|
||||||
librust-clap-dev,
|
Build-Depends-Arch:
|
||||||
librust-colored-dev,
|
cargo:native,
|
||||||
librust-itertools-dev,
|
rustc:native,
|
||||||
librust-reqwest-dev,
|
libstd-rust-dev,
|
||||||
librust-serde-dev,
|
librust-clap-4+default-dev (>= 4.5.23-~~),
|
||||||
librust-tokio-dev,
|
librust-clap-4+derive-dev (>= 4.5.23-~~),
|
||||||
librust-toml-dev,
|
librust-clap-4+env-dev (>= 4.5.23-~~),
|
||||||
|
librust-colored-2+default-dev (>= 2.2.0-~~),
|
||||||
|
librust-itertools-0.13+default-dev,
|
||||||
|
librust-reqwest-0.12+default-dev (>= 0.12.15-~~),
|
||||||
|
librust-reqwest-0.12+json-dev (>= 0.12.15-~~),
|
||||||
|
librust-reqwest-0.12+multipart-dev (>= 0.12.15-~~),
|
||||||
|
librust-reqwest-0.12+stream-dev (>= 0.12.15-~~),
|
||||||
|
librust-serde-1+default-dev (>= 1.0.217-~~),
|
||||||
|
librust-serde-1+derive-dev (>= 1.0.217-~~),
|
||||||
|
librust-tokio-1+default-dev (>= 1.43.1-~~),
|
||||||
|
librust-tokio-1+macros-dev (>= 1.43.1-~~),
|
||||||
|
librust-tokio-1+rt-multi-thread-dev (>= 1.43.1-~~),
|
||||||
|
librust-toml-0.8+default-dev (>= 0.8.19-~~)
|
||||||
Homepage: https://git.gelvin.dev/robert/gt-tool
|
Homepage: https://git.gelvin.dev/robert/gt-tool
|
||||||
Vcs-Git: https://git.gelvin.dev/robert/gt-tool
|
Vcs-Git: https://git.gelvin.dev/robert/gt-tool
|
||||||
Vcs-Browser: https://git.gelvin.dev/robert/gt-tool
|
Vcs-Browser: https://git.gelvin.dev/robert/gt-tool
|
||||||
Rules-Requires-Root: no
|
Rules-Requires-Root: no
|
||||||
|
X-Cargo-Crate: gt-tool
|
||||||
|
|
||||||
|
Package: librust-gt-tool-dev
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Depends:
|
||||||
|
${misc:Depends},
|
||||||
|
librust-clap-4+default-dev (>= 4.5.23-~~),
|
||||||
|
librust-clap-4+derive-dev (>= 4.5.23-~~),
|
||||||
|
librust-clap-4+env-dev (>= 4.5.23-~~),
|
||||||
|
librust-colored-2+default-dev (>= 2.2.0-~~),
|
||||||
|
librust-itertools-0.13+default-dev,
|
||||||
|
librust-reqwest-0.12+default-dev (>= 0.12.15-~~),
|
||||||
|
librust-reqwest-0.12+json-dev (>= 0.12.15-~~),
|
||||||
|
librust-reqwest-0.12+multipart-dev (>= 0.12.15-~~),
|
||||||
|
librust-reqwest-0.12+stream-dev (>= 0.12.15-~~),
|
||||||
|
librust-serde-1+default-dev (>= 1.0.217-~~),
|
||||||
|
librust-serde-1+derive-dev (>= 1.0.217-~~),
|
||||||
|
librust-tokio-1+default-dev (>= 1.43.1-~~),
|
||||||
|
librust-tokio-1+macros-dev (>= 1.43.1-~~),
|
||||||
|
librust-tokio-1+rt-multi-thread-dev (>= 1.43.1-~~),
|
||||||
|
librust-toml-0.8+default-dev (>= 0.8.19-~~)
|
||||||
|
Provides:
|
||||||
|
librust-gt-tool+default-dev (= ${binary:Version}),
|
||||||
|
librust-gt-tool-3-dev (= ${binary:Version}),
|
||||||
|
librust-gt-tool-3+default-dev (= ${binary:Version}),
|
||||||
|
librust-gt-tool-3.0-dev (= ${binary:Version}),
|
||||||
|
librust-gt-tool-3.0+default-dev (= ${binary:Version}),
|
||||||
|
librust-gt-tool-3.0.1-dev (= ${binary:Version}),
|
||||||
|
librust-gt-tool-3.0.1+default-dev (= ${binary:Version})
|
||||||
|
Description: CLI tools for interacting with the Gitea API - Rust source code
|
||||||
|
Mainly for attaching files to releases.
|
||||||
|
.
|
||||||
|
Source code for Debianized Rust crate "gt-tool"
|
||||||
|
|
||||||
Package: gt-tool
|
Package: gt-tool
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends:
|
Depends:
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
${shlibs:Depends},
|
${shlibs:Depends},
|
||||||
|
${cargo:Depends}
|
||||||
|
Recommends:
|
||||||
|
${cargo:Recommends}
|
||||||
|
Suggests:
|
||||||
|
${cargo:Suggests}
|
||||||
|
Provides:
|
||||||
|
${cargo:Provides}
|
||||||
|
Built-Using: ${cargo:Built-Using}
|
||||||
|
Static-Built-Using: ${cargo:Static-Built-Using}
|
||||||
Description: CLI tools for interacting with the Gitea API.
|
Description: CLI tools for interacting with the Gitea API.
|
||||||
Use interactively to talk to your Gitea instance, or automatically via a CI/CD
|
Use interactively to talk to your Gitea instance, or automatically via a CI/CD
|
||||||
pipeline. Currently supports:
|
pipeline. Currently supports:
|
||||||
|
|||||||
15
debian/copyright
vendored
15
debian/copyright
vendored
@@ -1,5 +1,5 @@
|
|||||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
Upstream-Name: gt-tools
|
Upstream-Name: gt-tool
|
||||||
Upstream-Contact: Robert Garrett <robertgarrett404@gmail.com>
|
Upstream-Contact: Robert Garrett <robertgarrett404@gmail.com>
|
||||||
Source: https://git.gelvin.dev/robert/gt-tool
|
Source: https://git.gelvin.dev/robert/gt-tool
|
||||||
|
|
||||||
@@ -11,19 +11,6 @@ Files: debian/*
|
|||||||
Copyright: 2025 Robert Garrett <robertgarrett404@gmail.com>
|
Copyright: 2025 Robert Garrett <robertgarrett404@gmail.com>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: debian/rules
|
|
||||||
Copyright:
|
|
||||||
Johannes Schauer Marin Rodrigues <josch@debian.org>
|
|
||||||
2025 Robert Garrett <robertgarrett404@gmail.com>
|
|
||||||
License: GPL-3+
|
|
||||||
Comment:
|
|
||||||
The debian/rules file is lifted directly from the tuigreet package. It was
|
|
||||||
linked in the Debian Rust Team Book as a pretty simple example package. The
|
|
||||||
only change I've made is to remove the documentation generation target.
|
|
||||||
.
|
|
||||||
https://salsa.debian.org/debian/tuigreet/-/blob/master/debian/rules?ref_type=heads
|
|
||||||
|
|
||||||
|
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
25
debian/rules
vendored
25
debian/rules
vendored
@@ -1,26 +1,7 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
||||||
DPKG_EXPORT_BUILDFLAGS = 1
|
|
||||||
include /usr/share/dpkg/default.mk
|
|
||||||
include /usr/share/rustc/architecture.mk
|
|
||||||
export DEB_HOST_RUST_TYPE
|
|
||||||
export PATH:=/usr/share/cargo/bin:$(PATH)
|
|
||||||
export CARGO=/usr/share/cargo/bin/cargo
|
|
||||||
export CARGO_HOME=$(CURDIR)/debian/cargo_home
|
|
||||||
export CARGO_REGISTRY=$(CURDIR)/debian/cargo_registry
|
|
||||||
export DEB_CARGO_CRATE=$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM)
|
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --buildsystem=cargo
|
dh $@ --buildsystem cargo
|
||||||
|
|
||||||
execute_after_dh_auto_clean:
|
override_dh_auto_test:
|
||||||
$(CARGO) clean
|
dh_auto_test -- test --all
|
||||||
rm -rf $(CARGO_HOME)
|
|
||||||
rm -rf $(CARGO_REGISTRY)
|
|
||||||
rm -f debian/cargo-checksum.json
|
|
||||||
|
|
||||||
execute_before_dh_auto_configure:
|
|
||||||
$(CARGO) prepare-debian $(CARGO_REGISTRY) --link-from-system
|
|
||||||
rm -f Cargo.lock
|
|
||||||
touch debian/cargo-checksum.json
|
|
||||||
|
|||||||
14
debian/tests/control
vendored
Normal file
14
debian/tests/control
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
Test-Command: /usr/share/cargo/bin/cargo-auto-test gt-tool 3.0.1 --all-targets --all-features
|
||||||
|
Features: test-name=rust-gt-tool:@
|
||||||
|
Depends: dh-cargo (>= 31), rustc, @
|
||||||
|
Restrictions: allow-stderr, skip-not-installable
|
||||||
|
|
||||||
|
Test-Command: /usr/share/cargo/bin/cargo-auto-test gt-tool 3.0.1 --all-targets
|
||||||
|
Features: test-name=librust-gt-tool-dev:default
|
||||||
|
Depends: dh-cargo (>= 31), rustc, @
|
||||||
|
Restrictions: allow-stderr, skip-not-installable
|
||||||
|
|
||||||
|
Test-Command: /usr/share/cargo/bin/cargo-auto-test gt-tool 3.0.1 --all-targets --no-default-features
|
||||||
|
Features: test-name=librust-gt-tool-dev:
|
||||||
|
Depends: dh-cargo (>= 31), rustc, @
|
||||||
|
Restrictions: allow-stderr, skip-not-installable
|
||||||
Reference in New Issue
Block a user