Package: btm
Version: 0.9.6-6

I hope to update rust-itertools from 0.10 to 0.12 soon. Looking at btm
the version currently in Debian uses 0.11 upstream and is currently
patched to allow 0.10. I checked the upstream git and they did not
seem to make any code changes when upgrading from 0.11 to 0.12 and
after patching the dependencies to allow 0.12, btm built successfully
with it.

The debdiff I used for testing is attatched.
diff -Nru btm-0.9.6/debian/changelog btm-0.9.6/debian/changelog
--- btm-0.9.6/debian/changelog  2024-05-17 05:43:16.000000000 +0000
+++ btm-0.9.6/debian/changelog  2024-05-31 01:59:04.000000000 +0000
@@ -1,3 +1,10 @@
+btm (0.9.6-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax itertools dependency to allow 0.12.
+
+ -- Peter Michael Green <plugw...@debian.org>  Fri, 31 May 2024 01:59:04 +0000
+
 btm (0.9.6-6) unstable; urgency=medium
 
   * update copyright info: fix file path
diff -Nru btm-0.9.6/debian/control btm-0.9.6/debian/control
--- btm-0.9.6/debian/control    2024-05-17 05:40:13.000000000 +0000
+++ btm-0.9.6/debian/control    2024-05-31 01:58:45.000000000 +0000
@@ -24,7 +24,7 @@
  librust-hashbrown-0.14+default-dev,
  librust-humantime-2+default-dev,
  librust-indexmap-2+default-dev,
- librust-itertools-dev (<< 0.12),
+ librust-itertools-dev (<< 0.13),
  librust-kstring-2+arc-dev,
  librust-kstring-2+default-dev,
  librust-libc-0.2+default-dev,
diff -Nru btm-0.9.6/debian/patches/2001_itertools.patch 
btm-0.9.6/debian/patches/2001_itertools.patch
--- btm-0.9.6/debian/patches/2001_itertools.patch       2024-05-17 
05:36:12.000000000 +0000
+++ btm-0.9.6/debian/patches/2001_itertools.patch       2024-05-31 
01:53:41.000000000 +0000
@@ -1,8 +1,8 @@
-Description: accept older branch of crate itertools
+Description: accept older and newer branches of crate itertools
 Author: Jonas Smedegaard <d...@jones.dk>
 Bug-Debian: https://bugs.debian.org/1054075
 Forwarded: not-needed
-Last-Update: 2024-02-17
+Last-Update: 2024-05-31 by Peter Michael Green
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/Cargo.toml
@@ -12,7 +12,7 @@
  humantime = "2.1.0"
  indexmap = "2.0.0"
 -itertools = "0.11.0"
-+itertools = ">= 0.10.5, <= 0.11"
++itertools = ">= 0.10.5, < 0.13"
  kstring = { version = "2.0.0", features = ["arc"] }
  log = { version = "0.4.20", optional = true }
  nvml-wrapper = { version = "0.9.0", optional = true }

Reply via email to