diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2018-01-14 22:29:29 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2018-01-14 22:31:01 +0800 |
| commit | fa60629c99588a111b78a6c34958f6eddc770a49 (patch) | |
| tree | e0888c9516a4ee158203763131b91935e16f118f /lang/python/python-crypto/patches | |
| parent | a5fdaeb52c4c28e21c9681f27e0f6bf440ad2a06 (diff) | |
python-crypto: add python3 variant, src packages, omit tests
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-crypto/patches')
| -rw-r--r-- | lang/python/python-crypto/patches/002-fix-endianness-detect.patch | 2 | ||||
| -rw-r--r-- | lang/python/python-crypto/patches/003-omit-tests.patch | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/lang/python/python-crypto/patches/002-fix-endianness-detect.patch b/lang/python/python-crypto/patches/002-fix-endianness-detect.patch index baed012bf..38e5a5b62 100644 --- a/lang/python/python-crypto/patches/002-fix-endianness-detect.patch +++ b/lang/python/python-crypto/patches/002-fix-endianness-detect.patch @@ -1,6 +1,6 @@ --- a/setup.py +++ b/setup.py -@@ -100,6 +100,10 @@ +@@ -100,6 +100,10 @@ def PrintErr(*args, **kwd): w(kwd.get("end", "\n")) def endianness_macro(): diff --git a/lang/python/python-crypto/patches/003-omit-tests.patch b/lang/python/python-crypto/patches/003-omit-tests.patch new file mode 100644 index 000000000..f72bcb07b --- /dev/null +++ b/lang/python/python-crypto/patches/003-omit-tests.patch @@ -0,0 +1,19 @@ +--- a/setup.py ++++ b/setup.py +@@ -357,16 +357,6 @@ kw = {'name':"pycrypto", + "Crypto.Random", + "Crypto.Random.Fortuna", + "Crypto.Random.OSRNG", +- "Crypto.SelfTest", +- "Crypto.SelfTest.Cipher", +- "Crypto.SelfTest.Hash", +- "Crypto.SelfTest.Protocol", +- "Crypto.SelfTest.PublicKey", +- "Crypto.SelfTest.Random", +- "Crypto.SelfTest.Random.Fortuna", +- "Crypto.SelfTest.Random.OSRNG", +- "Crypto.SelfTest.Util", +- "Crypto.SelfTest.Signature", + "Crypto.Protocol", + "Crypto.PublicKey", + "Crypto.Signature"], |
