Package: precious
Version: 0.6.0-5

I hope to update rust-itertools to 0.12 soon. The new version is
available in experimental (and has been for some time).

I was able to sucessfully build precious with the new version
after patching the dependency. The debdiff I used for testing
is attatched.
diff -Nru precious-0.6.0/debian/changelog precious-0.6.0/debian/changelog
--- precious-0.6.0/debian/changelog     2024-02-11 22:04:24.000000000 +0000
+++ precious-0.6.0/debian/changelog     2024-05-31 03:20:52.000000000 +0000
@@ -1,3 +1,10 @@
+precious (0.6.0-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax dependency on itertools.
+
+ -- Peter Michael Green <plugw...@debian.org>  Fri, 31 May 2024 03:20:52 +0000
+
 precious (0.6.0-5) unstable; urgency=medium
 
   * update patch 2001_indexmap to relax dependency;
diff -Nru precious-0.6.0/debian/control precious-0.6.0/debian/control
--- precious-0.6.0/debian/control       2024-02-11 17:45:40.000000000 +0000
+++ precious-0.6.0/debian/control       2024-05-31 03:20:47.000000000 +0000
@@ -22,7 +22,7 @@
  librust-globset-0.4+default-dev (>= 0.4.9),
  librust-ignore-0.4+default-dev (>= 0.4.18),
  librust-indexmap-dev (<< 3),
- librust-itertools+default-dev (<< 0.11),
+ librust-itertools+default-dev (<< 0.13),
  librust-log-0.4+default-dev (>= 0.4.17),
  librust-md5-0.7+default-dev,
  librust-once-cell-1+default-dev (>= 1.16),
diff -Nru precious-0.6.0/debian/patches/1001_itertools.patch 
precious-0.6.0/debian/patches/1001_itertools.patch
--- precious-0.6.0/debian/patches/1001_itertools.patch  1970-01-01 
00:00:00.000000000 +0000
+++ precious-0.6.0/debian/patches/1001_itertools.patch  2024-05-31 
03:20:51.000000000 +0000
@@ -0,0 +1,13 @@
+Index: precious-0.6.0/Cargo.toml
+===================================================================
+--- precious-0.6.0.orig/Cargo.toml
++++ precious-0.6.0/Cargo.toml
+@@ -37,7 +37,7 @@ filetime = "0.2.22"
+ globset = "0.4.13"
+ ignore = "0.4.20"
+ indexmap = { version = "2.0.2", features = ["serde"] }
+-itertools = ">= 0.9.0, < 0.11.0"
++itertools = ">= 0.9.0, < 0.13.0"
+ log = "0.4.20"
+ md5 = "0.7.0"
+ once_cell = "1.18.0"
diff -Nru precious-0.6.0/debian/patches/2001_indexmap.patch 
precious-0.6.0/debian/patches/2001_indexmap.patch
--- precious-0.6.0/debian/patches/2001_indexmap.patch   2024-02-11 
22:03:20.000000000 +0000
+++ precious-0.6.0/debian/patches/2001_indexmap.patch   2024-05-31 
03:20:52.000000000 +0000
@@ -13,6 +13,6 @@
  ignore = "0.4.20"
 -indexmap = { version = "2.0.2", features = ["serde"] }
 +indexmap = { version = ">= 1.9.3, <= 2", features = ["serde"] }
- itertools = ">= 0.9.0, < 0.11.0"
+ itertools = ">= 0.9.0, < 0.13.0"
  log = "0.4.20"
  md5 = "0.7.0"
diff -Nru precious-0.6.0/debian/patches/series 
precious-0.6.0/debian/patches/series
--- precious-0.6.0/debian/patches/series        2024-02-11 17:43:30.000000000 
+0000
+++ precious-0.6.0/debian/patches/series        2024-05-31 03:20:03.000000000 
+0000
@@ -1,3 +1,4 @@
+1001_itertools.patch
 2001_comfy-table.patch
 2001_indexmap.patch
 2001_toml.patch

Reply via email to