File: drop-subplot.patch

package info (click to toggle)
rust-sequoia-sq 1.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,616 kB
  • sloc: makefile: 5
file content (63 lines) | stat: -rw-r--r-- 1,570 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Description: Drop subplot-driven tests

subplot is not available in debian, and it would require a lot
of additional packaging work.  Better to just avoid it for now.

This set of changes for the sake of reduced dependency subtrees
was guided by Lars Wirzenius from upstream.

This patch was modified by Peter Michael Green, Alexander Kjäll
and Holger Levsen to support newer versions of sequoia-sq


Index: sequoia-sq/Cargo.toml
===================================================================
--- sequoia-sq.orig/Cargo.toml
+++ sequoia-sq/Cargo.toml
@@ -64,11 +64,6 @@ crypto-nettle = ["sequoia-openpgp/crypto
 crypto-openssl = ["sequoia-openpgp/crypto-openssl"]
 crypto-rust = ["sequoia-openpgp/crypto-rust"]
 default = ["crypto-nettle"]
-subplot = [
-    "culpa",
-    "subplot-build",
-    "subplotlib",
-]
 
 [[bin]]
 name = "sq"
@@ -79,11 +74,6 @@ bench = false
 name = "integration"
 path = "tests/integration.rs"
 
-[[test]]
-name = "sq-subplot"
-path = "tests/sq-subplot.rs"
-required-features = ["subplot"]
-
 [dependencies.aho-corasick]
 version = "1"
 
@@ -193,10 +183,6 @@ default-features = false
 version = "1.0.137"
 features = ["derive"]
 
-[dependencies.subplotlib]
-version = ">=0.11, <0.13"
-optional = true
-
 [dependencies.tempfile]
 version = "3.1"
 
@@ -298,10 +284,6 @@ default-features = false
 version = "1.0.137"
 features = ["derive"]
 
-[build-dependencies.subplot-build]
-version = ">=0.11, <0.13"
-optional = true
-
 [build-dependencies.terminal_size]
 version = ">=0.2.6, <0.5"