summaryrefslogtreecommitdiffstats
path: root/lang/python/python-cryptodome/patches/002-omit-tests.patch
blob: 6f16b2175150f2ca49cfa6345f10bb9943390fed (plain)
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
--- a/setup.py
+++ b/setup.py
@@ -245,16 +245,6 @@
     "Crypto.Signature",
     "Crypto.Util",
     "Crypto.Math",
-    "Crypto.SelfTest",
-    "Crypto.SelfTest.Cipher",
-    "Crypto.SelfTest.Hash",
-    "Crypto.SelfTest.IO",
-    "Crypto.SelfTest.Protocol",
-    "Crypto.SelfTest.PublicKey",
-    "Crypto.SelfTest.Random",
-    "Crypto.SelfTest.Signature",
-    "Crypto.SelfTest.Util",
-    "Crypto.SelfTest.Math",
 ]
 package_dir = {"Crypto": "lib/Crypto"}
 package_data = {
@@ -268,30 +258,6 @@
     "Crypto.Signature" : [ "*.pyi" ],
     "Crypto.IO" : [ "*.pyi" ],
     "Crypto.Util" : [ "*.pyi" ],
-    "Crypto.SelfTest.Cipher" : [
-        "test_vectors/AES/*.rsp",
-        "test_vectors/TDES/*.rsp",
-        "test_vectors/wycheproof/*.json",
-    ],
-    "Crypto.SelfTest.Hash" : [
-        "test_vectors/SHA1/*.rsp",
-        "test_vectors/SHA2/*.rsp",
-        "test_vectors/SHA3/*.txt",
-        "test_vectors/keccak/*.txt",
-        "test_vectors/BLAKE2s/*.txt",
-        "test_vectors/BLAKE2b/*.txt",
-        "test_vectors/wycheproof/*.json",
-    ],
-    "Crypto.SelfTest.Signature" : [
-        "test_vectors/DSA/*.*",
-        "test_vectors/ECDSA/*.*",
-        "test_vectors/PKCS1-v1.5/*.*",
-        "test_vectors/PKCS1-PSS/*.*",
-        "test_vectors/wycheproof/*.json",
-    ],
-    "Crypto.SelfTest.PublicKey" : [
-        "test_vectors/ECC/*.*",
-    ],
 }
 
 system_bits = 8 * struct.calcsize("P")