summaryrefslogtreecommitdiffstats
path: root/vendor/anstream/debian/patches
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:47:55 +0000
commit2aadc03ef15cb5ca5cc2af8a7c08e070742f0ac4 (patch)
tree033cc839730fda84ff08db877037977be94e5e3a /vendor/anstream/debian/patches
parentInitial commit. (diff)
downloadcargo-2aadc03ef15cb5ca5cc2af8a7c08e070742f0ac4.tar.xz
cargo-2aadc03ef15cb5ca5cc2af8a7c08e070742f0ac4.zip
Adding upstream version 0.70.1+ds1.upstream/0.70.1+ds1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/anstream/debian/patches')
-rw-r--r--vendor/anstream/debian/patches/disable-benches-missing-testdata.patch29
-rw-r--r--vendor/anstream/debian/patches/drop-non-linux.patch14
-rw-r--r--vendor/anstream/debian/patches/relax-dep.diff17
-rw-r--r--vendor/anstream/debian/patches/series3
4 files changed, 63 insertions, 0 deletions
diff --git a/vendor/anstream/debian/patches/disable-benches-missing-testdata.patch b/vendor/anstream/debian/patches/disable-benches-missing-testdata.patch
new file mode 100644
index 0000000..9802fe1
--- /dev/null
+++ b/vendor/anstream/debian/patches/disable-benches-missing-testdata.patch
@@ -0,0 +1,29 @@
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -37,6 +37,7 @@
+ categories = ["command-line-interface"]
+ license = "MIT OR Apache-2.0"
+ repository = "https://github.com/rust-cli/anstyle.git"
++autobenches = false
+
+ [package.metadata.docs.rs]
+ cargo-args = [
+@@ -83,18 +84,6 @@
+ [Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD"""
+ search = "<!-- next-url -->"
+
+-[[bench]]
+-name = "strip"
+-harness = false
+-
+-[[bench]]
+-name = "wincon"
+-harness = false
+-
+-[[bench]]
+-name = "stream"
+-harness = false
+-
+ [dependencies.anstyle]
+ version = "1.0.0"
+
diff --git a/vendor/anstream/debian/patches/drop-non-linux.patch b/vendor/anstream/debian/patches/drop-non-linux.patch
new file mode 100644
index 0000000..f531257
--- /dev/null
+++ b/vendor/anstream/debian/patches/drop-non-linux.patch
@@ -0,0 +1,14 @@
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -131,11 +131,5 @@
+ ]
+ default = [
+ "auto",
+- "wincon",
+ ]
+ test = []
+-wincon = ["dep:anstyle-wincon"]
+-
+-[target."cfg(windows)".dependencies.anstyle-wincon]
+-version = "3.0.1"
+-optional = true
diff --git a/vendor/anstream/debian/patches/relax-dep.diff b/vendor/anstream/debian/patches/relax-dep.diff
new file mode 100644
index 0000000..ac63dfe
--- /dev/null
+++ b/vendor/anstream/debian/patches/relax-dep.diff
@@ -0,0 +1,17 @@
+Index: anstream/Cargo.toml
+===================================================================
+--- anstream.orig/Cargo.toml
++++ anstream/Cargo.toml
+@@ -108,10 +108,10 @@ version = "0.5.1"
+ version = "3.5.0"
+
+ [dev-dependencies.proptest]
+-version = "1.2.0"
++version = "1.0.0"
+
+ [dev-dependencies.strip-ansi-escapes]
+-version = "0.2.0"
++version = ">= 0.1.1, < 0.3"
+
+ [features]
+ auto = [
diff --git a/vendor/anstream/debian/patches/series b/vendor/anstream/debian/patches/series
new file mode 100644
index 0000000..50af666
--- /dev/null
+++ b/vendor/anstream/debian/patches/series
@@ -0,0 +1,3 @@
+drop-non-linux.patch
+disable-benches-missing-testdata.patch
+relax-dep.diff