Package: prs
Version: 0.5.2+dfsg-9
Tags: patch

I hope to update rust-indicatif to 0.18 soon as part of the
rust-console update (the only "breaking change" listed by
upstream is the update of console).

prs needs it's dependencies adjusting to build with the new
version.
diff -Nru prs-0.5.2+dfsg/debian/changelog prs-0.5.2+dfsg/debian/changelog
--- prs-0.5.2+dfsg/debian/changelog     2026-08-04 15:27:52.000000000 +0000
+++ prs-0.5.2+dfsg/debian/changelog     2026-10-13 15:22:27.000000000 +0000
@@ -1,3 +1,10 @@
+prs (0.5.2+dfsg-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax dependency on indicatif
+
+ -- Peter Michael Green <[email protected]>  Tue, 13 Oct 2026 15:22:27 +0000
+
 prs (0.5.2+dfsg-9) unstable; urgency=medium
 
   [ Alexander Kjäll ]
diff -Nru prs-0.5.2+dfsg/debian/control prs-0.5.2+dfsg/debian/control
--- prs-0.5.2+dfsg/debian/control       2026-08-04 15:27:52.000000000 +0000
+++ prs-0.5.2+dfsg/debian/control       2026-10-13 15:22:27.000000000 +0000
@@ -29,7 +29,8 @@
  librust-edit-0.1+default-dev (>= 0.1),
  librust-fs-extra-1+default-dev (>= 1.2),
  librust-git-state-0.1+default-dev (>= 0.1),
- librust-indicatif-0.17+default-dev (>= 0.17),
+ librust-indicatif+default-dev (>= 0.17),
+ librust-indicatif+default-dev (<< 0.19),
  librust-lazy-static-dev (>= 1.4),
  librust-linkify-0.10+default-dev (>= 0.10),
  librust-nix-0.30+user-dev( >= 0.30),
diff -Nru prs-0.5.2+dfsg/debian/patches/relax-deps.diff 
prs-0.5.2+dfsg/debian/patches/relax-deps.diff
--- prs-0.5.2+dfsg/debian/patches/relax-deps.diff       2026-08-04 
15:27:52.000000000 +0000
+++ prs-0.5.2+dfsg/debian/patches/relax-deps.diff       2026-10-13 
15:22:20.000000000 +0000
@@ -6,9 +6,11 @@
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 
---- a/cli/Cargo.toml
-+++ b/cli/Cargo.toml
-@@ -66,8 +66,8 @@
+Index: prs-0.5.2+dfsg/cli/Cargo.toml
+===================================================================
+--- prs-0.5.2+dfsg.orig/cli/Cargo.toml
++++ prs-0.5.2+dfsg/cli/Cargo.toml
+@@ -66,11 +66,11 @@ anyhow = "1.0"
  chbs = "0.1"
  clap = { version = "4.1", default-features = false, features = ["std", 
"help", "suggestions", "color", "usage", "cargo", "env"] }
  clap_complete = "4.1"
@@ -18,8 +20,12 @@
 +crossterm = { version = ">= 0.27, < 0.30", default-features = false, features 
= ["events"] }
  derive_builder = "0.20"
  edit = "0.1"
- indicatif = "0.17"
-@@ -79,15 +79,15 @@
+-indicatif = "0.17"
++indicatif = ">= 0.17, < 0.19"
+ lazy_static = "1.4"
+ prs-lib = { version = "=0.5.2", path = "../lib", default-features = false }
+ rand = { version = "0.8", default-features = false, features = ["std"] }
+@@ -79,15 +79,15 @@ shellexpand = "3.0"
  shlex = "1.3"
  substring = "1.4.5"
  text_trees = "0.1"
@@ -38,7 +44,7 @@
  fs_extra = { version = "1.2", optional = true }
  
  # TOTP support
-@@ -105,7 +105,7 @@
+@@ -105,7 +105,7 @@ copypasta-ext = { version = "0.4.1", opt
  # Clipboard support for X11/Wayland
  [target.'cfg(all(unix, not(any(target_os="macos", target_os="android", 
target_os="emscripten")), not(target_env = "musl")))'.dependencies]
  copypasta-ext = { version = "0.4.1", optional = true, default-features = 
false, features = ["wayland-bin"] }
@@ -47,9 +53,11 @@
  
  # Clipboard support for X11/Wayland musl
  [target.'cfg(all(unix, not(any(target_os="macos", target_os="android", 
target_os="emscripten")), target_env = "musl"))'.dependencies]
---- a/lib/Cargo.toml
-+++ b/lib/Cargo.toml
-@@ -43,9 +43,9 @@
+Index: prs-0.5.2+dfsg/lib/Cargo.toml
+===================================================================
+--- prs-0.5.2+dfsg.orig/lib/Cargo.toml
++++ prs-0.5.2+dfsg/lib/Cargo.toml
+@@ -43,9 +43,9 @@ git-state = "0.1"
  lazy_static = "1.4"
  secstr = "0.5"
  shellexpand = "3.0"
@@ -61,12 +69,8 @@
  zeroize = "1.5"
  
  # Tomb support
-@@ -57,10 +57,10 @@
- # Crypto backend: gnupg binary
- regex = { version = "1.7", optional = true, default-features = false, 
features = ["std", "unicode-perl"] }
- shlex = { version = "1.3", optional = true }
--version-compare = { version = "0.2", optional = true }
-+version-compare = { version = "0.2", optional = true }
+@@ -60,7 +60,7 @@ shlex = { version = "1.3", optional = tr
+ version-compare = { version = "0.2", optional = true }
  
  [target.'cfg(unix)'.dependencies]
 -nix = { version = "0.29", default-features = false, features = ["user", 
"signal"] }

Reply via email to