usbmuxd: Update to latest git
[feed/packages.git] / lang / python / python-cryptodome / patches / 002-omit-tests.patch
1 --- a/setup.py
2 +++ b/setup.py
3 @@ -245,16 +245,6 @@
4 "Crypto.Signature",
5 "Crypto.Util",
6 "Crypto.Math",
7 - "Crypto.SelfTest",
8 - "Crypto.SelfTest.Cipher",
9 - "Crypto.SelfTest.Hash",
10 - "Crypto.SelfTest.IO",
11 - "Crypto.SelfTest.Protocol",
12 - "Crypto.SelfTest.PublicKey",
13 - "Crypto.SelfTest.Random",
14 - "Crypto.SelfTest.Signature",
15 - "Crypto.SelfTest.Util",
16 - "Crypto.SelfTest.Math",
17 ]
18 package_dir = {"Crypto": "lib/Crypto"}
19 package_data = {
20 @@ -268,30 +258,6 @@
21 "Crypto.Signature" : [ "*.pyi" ],
22 "Crypto.IO" : [ "*.pyi" ],
23 "Crypto.Util" : [ "*.pyi" ],
24 - "Crypto.SelfTest.Cipher" : [
25 - "test_vectors/AES/*.rsp",
26 - "test_vectors/TDES/*.rsp",
27 - "test_vectors/wycheproof/*.json",
28 - ],
29 - "Crypto.SelfTest.Hash" : [
30 - "test_vectors/SHA1/*.rsp",
31 - "test_vectors/SHA2/*.rsp",
32 - "test_vectors/SHA3/*.txt",
33 - "test_vectors/keccak/*.txt",
34 - "test_vectors/BLAKE2s/*.txt",
35 - "test_vectors/BLAKE2b/*.txt",
36 - "test_vectors/wycheproof/*.json",
37 - ],
38 - "Crypto.SelfTest.Signature" : [
39 - "test_vectors/DSA/*.*",
40 - "test_vectors/ECDSA/*.*",
41 - "test_vectors/PKCS1-v1.5/*.*",
42 - "test_vectors/PKCS1-PSS/*.*",
43 - "test_vectors/wycheproof/*.json",
44 - ],
45 - "Crypto.SelfTest.PublicKey" : [
46 - "test_vectors/ECC/*.*",
47 - ],
48 }
49
50 system_bits = 8 * struct.calcsize("P")