packages/lang/python/python-cryptodomex/patches/002-omit-tests.patch
Jeffery To a1b3595550
python-cryptodomex: Update to 3.18.0, refresh patches
This also updates the list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 06:09:42 +08:00

12 lines
350 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -276,6 +276,9 @@ package_data = {
"Crypto.Util" : [ "*.pyi" ],
}
+packages = [i for i in packages if not i.startswith('Crypto.SelfTest')]
+package_data = {k: v for k, v in package_data.items() if not k.startswith('Crypto.SelfTest')}
+
ext_modules = [
# Hash functions
Extension("Crypto.Hash._MD2",