Package: sccache
Version: 3.3.1-3

I hope to upgrade itertools to 0.13 soon, I've uploaded
new version to experimental. sccache has a
dev-dependency on itertools which the debian packaging
translates to a build-dependency.

I looked at the upstream changelog and didn't see anything too
scary and after patching the dependencies I was able to
successfully build sccache against the new version of itertools.

Debdiff is attached



diff -Nru sccache-0.8.1/debian/changelog sccache-0.8.1/debian/changelog
--- sccache-0.8.1/debian/changelog      2024-07-31 20:25:58.000000000 +0000
+++ sccache-0.8.1/debian/changelog      2024-09-24 09:54:27.000000000 +0000
@@ -1,3 +1,11 @@
+sccache (0.8.1-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax Debian build-dependency and Cargo dev-dependency on itertools
+    to allow version 0.13
+
+ -- Peter Michael Green <plugw...@debian.org>  Tue, 24 Sep 2024 09:54:27 +0000
+
 sccache (0.8.1-7) unstable; urgency=medium
 
   * trust upstream optimization level unless explicitly disabled
diff -Nru sccache-0.8.1/debian/control sccache-0.8.1/debian/control
--- sccache-0.8.1/debian/control        2024-07-21 07:03:15.000000000 +0000
+++ sccache-0.8.1/debian/control        2024-09-24 09:54:14.000000000 +0000
@@ -34,7 +34,7 @@
  librust-hyper-0.14+default-dev,
  librust-hyper-0.14+server-dev,
  librust-is-terminal-0.4+default-dev,
- librust-itertools-dev (<< 0.13) <!nocheck>,
+ librust-itertools-dev (<< 0.14) <!nocheck>,
  librust-jobserver-0.1+default-dev,
  librust-libc-0.2+default-dev,
  librust-linked-hash-map-0.5+default-dev,
diff -Nru sccache-0.8.1/debian/patches/2001_itertools.patch 
sccache-0.8.1/debian/patches/2001_itertools.patch
--- sccache-0.8.1/debian/patches/2001_itertools.patch   2024-07-05 
14:47:24.000000000 +0000
+++ sccache-0.8.1/debian/patches/2001_itertools.patch   2024-09-24 
09:51:58.000000000 +0000
@@ -2,7 +2,7 @@
 Author: Jonas Smedegaard <d...@jones.dk>
 Bug-Debian: https://bugs.debian.org/1060875
 Forwarded: not-needed
-Last-Update: 2024-01-15
+Last-Update: 2024-10-24 by Peter Michael Green
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/Cargo.toml
@@ -12,7 +12,7 @@
  chrono = "0.4.33"
  filetime = "0.2"
 -itertools = "0.12"
-+itertools = ">= 0.10.5, <= 0.12"
++itertools = ">= 0.10.5, <= 0.13"
  predicates = "3.1.0"
  serial_test = "3.1"
  temp-env = "0.3.6"
diff -Nru sccache-0.8.1/debian/patches/2001_serial_test.patch 
sccache-0.8.1/debian/patches/2001_serial_test.patch
--- sccache-0.8.1/debian/patches/2001_serial_test.patch 2024-07-05 
14:47:24.000000000 +0000
+++ sccache-0.8.1/debian/patches/2001_serial_test.patch 2024-09-24 
09:52:40.000000000 +0000
@@ -8,7 +8,7 @@
 +++ b/Cargo.toml
 @@ -120,7 +120,7 @@
  filetime = "0.2"
- itertools = ">= 0.10.5, <= 0.12"
+ itertools = ">= 0.10.5, <= 0.13"
  predicates = "3.1.0"
 -serial_test = "3.1"
 +serial_test = ">= 2.0.0, <= 3"
diff -Nru sccache-0.8.1/debian/patches/2001_temp-env.patch 
sccache-0.8.1/debian/patches/2001_temp-env.patch
--- sccache-0.8.1/debian/patches/2001_temp-env.patch    2024-07-05 
14:47:24.000000000 +0000
+++ sccache-0.8.1/debian/patches/2001_temp-env.patch    2024-09-24 
09:53:16.000000000 +0000
@@ -7,7 +7,7 @@
 --- a/Cargo.toml
 +++ b/Cargo.toml
 @@ -121,7 +121,6 @@
- itertools = ">= 0.10.5, <= 0.12"
+ itertools = ">= 0.10.5, <= 0.13"
  predicates = "3.1.0"
  serial_test = ">= 2.0.0, <= 3"
 -temp-env = "0.3.6"

Reply via email to