]> git.proxmox.com Git - debcargo-conf.git/commitdiff
os-display - fix autopkgtests.
authorPeter Michael Green <plugwash@debian.org>
Sat, 14 Jan 2023 23:08:03 +0000 (23:08 +0000)
committerPeter Michael Green <plugwash@debian.org>
Wed, 18 Jan 2023 04:33:27 +0000 (04:33 +0000)
src/os-display/debian/changelog
src/os-display/debian/copyright
src/os-display/debian/copyright.debcargo.hint
src/os-display/debian/debcargo.toml
src/os-display/debian/patches/mark-example-as-needing-std.diff [new file with mode: 0644]
src/os-display/debian/patches/series

index 40db3a907f0178b4a432f3d5aadc77a57140d3ba..bf45c0d6df23b1321ac154a94e5ef6402fe38c38 100644 (file)
@@ -1,3 +1,12 @@
+rust-os-display (0.1.3-3) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+  * Team upload.
+  * Package os_display 0.1.3 from crates.io using debcargo 2.6.0
+  * Mark example as requiring "std" feature.
+  * Establish baseline for tests.
+
+ -- Peter Michael Green <plugwash@debian.org>  Sat, 14 Jan 2023 23:07:13 +0000
+
 rust-os-display (0.1.3-2) unstable; urgency=medium
 
   * Team upload.
index c28e4a8dd0f1ed43d4646ff6b2bc17e205d5dccc..a47f73f2b92f199546c9e3efe0f9d9920297616d 100644 (file)
@@ -4,12 +4,12 @@ Upstream-Contact: Jan Verbeek <jan.verbeek@posteo.nl>
 Source: https://github.com/blyxxyz/os_display
 
 Files: *
-Copyright: 2021 Jan Verbeek <jan.verbeek@posteo.nl>
+Copyright: 2021-2022 Jan Verbeek <jan.verbeek@posteo.nl>
 License: MIT
 
 Files: debian/*
 Copyright:
- 2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2022-2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
  2022 Collabora, Ltd.
 License: MIT
 
index 04b3607bbbab4dbf65b9d9686aa14377a17c25ec..3079c9574f1e2e08f87189f3f3b02a95c8e9246a 100644 (file)
@@ -21,8 +21,8 @@ Comment:
 
 Files: debian/*
 Copyright:
- 2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
- 2022 Ryan Gonzalez <ryan.gonzalez@collabora.com>
+ 2022-2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2022-2023 Ryan Gonzalez <ryan.gonzalez@collabora.com>
 License: MIT
 
 License: MIT
index 09f23a7cf94665be3f114f58eb7661bfca078658..1c21459749913882c975a5dd77593ebd186d03e3 100644 (file)
@@ -1,2 +1,19 @@
 overlay = "."
 uploaders = ["Ryan Gonzalez <ryan.gonzalez@collabora.com>"]
+
+#the crate requires at least one of the native, unix or windows features
+[packages.lib]
+test_is_broken = true
+
+[packages."lib+native"]
+test_is_broken = false
+
+[packages."lib+unix"]
+test_is_broken = false
+
+[packages."lib+windows"]
+test_is_broken = false
+
+[packages."lib+default"]
+test_is_broken = false
+
diff --git a/src/os-display/debian/patches/mark-example-as-needing-std.diff b/src/os-display/debian/patches/mark-example-as-needing-std.diff
new file mode 100644 (file)
index 0000000..a92ff62
--- /dev/null
@@ -0,0 +1,13 @@
+--- rust-os-display-0.1.3.orig/Cargo.toml
++++ rust-os-display-0.1.3/Cargo.toml
+@@ -27,6 +27,10 @@ all-features = true
+ [dependencies.unicode-width]
+ version = "0.1"
++[[example]]
++name = "echo"
++required-features = ["std"]
++
+ [features]
+ alloc = []
+ default = ["native", "alloc", "std"]
index 27c24da66cdbfc04bd70dabe89110fdb2512c33e..d1c453f5599d7d0ef221e393a810ac17f86170ce 100644 (file)
@@ -1,2 +1,3 @@
 update-dep.diff
 #fix-doctests.diff
+mark-example-as-needing-std.diff