]> git.proxmox.com Git - debcargo-conf.git/commitdiff
cbindgen: fix timestamps and autopkgtests.
authorPeter Michael Green <plugwash@debian.org>
Thu, 11 Feb 2021 18:17:04 +0000 (18:17 +0000)
committerPeter Michael Green <plugwash@debian.org>
Thu, 11 Feb 2021 18:17:04 +0000 (18:17 +0000)
src/cbindgen/debian/changelog
src/cbindgen/debian/debcargo.toml
src/cbindgen/debian/rules
src/cbindgen/debian/tests/control [deleted file]
src/cbindgen/debian/tests/control.debcargo.hint [deleted file]

index ba1d07dd3f65d86ae0279dd4a5b5317338af6de9..8b63be5148e918f0c4a290ad0bac3d959840940e 100644 (file)
@@ -1,3 +1,15 @@
+rust-cbindgen (0.17.0-2) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+  * Team upload.
+  * Package cbindgen 0.17.0 from crates.io using debcargo 2.4.4
+  * Fix very old timestamps (Closes: #982130)
+  * Remove old and broken override of debian/tests/control
+  * Add cython to the autopkgtest dependencies too.
+  * Mark test for no-features case as broken
+  * Mark other testcases as not broken.
+
+ -- Peter Michael Green <plugwash@debian.org>  Thu, 11 Feb 2021 18:06:48 +0000
+
 rust-cbindgen (0.17.0-1) unstable; urgency=medium
 
   * Package cbindgen 0.17.0 from crates.io using debcargo 2.4.4-alpha.0
index 43c5f9fcfa92526e82d1b6a11f4949faca655d60..d2c86f4582b3f9b4885bd39ef7fa57cc1dd0f448 100644 (file)
@@ -27,3 +27,16 @@ Features:
  * Support for generating #ifdef's for #[cfg] attributes
  * Support for #[repr(sized)] tagged enum's
 """
+
+[packages.lib]
+test_depends = ["cython"]
+test_is_broken = true
+
+[packages."lib+clap"]
+test_is_broken = false
+
+[packages."lib+default"]
+test_is_broken = false
+
+[packages."lib+@"]
+test_is_broken = false
index 7eee587dad84993852afa4bf9aa9c44ac4237e6c..fe19b829410d8f45e730e724660350ec218fe521 100644 (file)
@@ -8,3 +8,6 @@ override_dh_auto_test:
 override_dh_installman:
        help2man debian/cbindgen/usr/bin/cbindgen > debian/cbindgen.1
        dh_installman -O--buildsystem=cargo
+
+execute_after_dh_testdir:
+       find . ! -newermt "jan 01, 2000" -exec touch {} +
diff --git a/src/cbindgen/debian/tests/control b/src/cbindgen/debian/tests/control
deleted file mode 100644 (file)
index 300f39e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test-Command: /usr/share/cargo/bin/cargo-auto-test cbindgen 0.14.1 --all-targets --all-features
-Depends: dh-cargo (>= 18), g++, @
-Restrictions: allow-stderr, skip-not-installable, flaky
diff --git a/src/cbindgen/debian/tests/control.debcargo.hint b/src/cbindgen/debian/tests/control.debcargo.hint
deleted file mode 100644 (file)
index 78e64c2..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-Test-Command: /usr/share/cargo/bin/cargo-auto-test cbindgen 0.17.0 --all-targets --all-features
-Features: test-name=rust-cbindgen:@
-Depends: dh-cargo (>= 18), librust-serial-test-0.5+default-dev, @
-Restrictions: allow-stderr, skip-not-installable
-
-Test-Command: /usr/share/cargo/bin/cargo-auto-test cbindgen 0.17.0 --all-targets --no-default-features
-Features: test-name=librust-cbindgen-dev:
-Depends: dh-cargo (>= 18), librust-serial-test-0.5+default-dev, @
-Restrictions: allow-stderr, skip-not-installable
-
-Test-Command: /usr/share/cargo/bin/cargo-auto-test cbindgen 0.17.0 --all-targets 
-Features: test-name=librust-cbindgen+clap-dev:default
-Depends: dh-cargo (>= 18), librust-serial-test-0.5+default-dev, @
-Restrictions: allow-stderr, skip-not-installable
-
-Test-Command: /usr/share/cargo/bin/cargo-auto-test cbindgen 0.17.0 --all-targets --no-default-features --features clap
-Features: test-name=librust-cbindgen+clap-dev:clap
-Depends: dh-cargo (>= 18), librust-serial-test-0.5+default-dev, @
-Restrictions: allow-stderr, skip-not-installable