Merge pull request #15625 from ja-pa/python-cryptodomex-update

python-cryptodomex: update to version 3.10.1
This commit is contained in:
Josef Schlehofer 2021-05-25 21:00:09 +02:00 committed by GitHub
commit b99c1df4ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -5,11 +5,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-cryptodomex
PKG_VERSION:=3.9.7
PKG_RELEASE:=2
PKG_VERSION:=3.10.1
PKG_RELEASE:=1
PYPI_NAME:=pycryptodomex
PKG_HASH:=50163324834edd0c9ce3e4512ded3e221c969086e10fdd5d3fdcaadac5e24a78
PKG_HASH:=541cd3e3e252fb19a7b48f420b798b53483302b7fe4d9954c947605d0a263d62
PKG_LICENSE:=BSD-2-Clause
PKG_LICENSE_FILES:=LICENSE.rst

View File

@ -1,8 +1,8 @@
--- a/lib/Cryptodome/Math/_IntegerGMP.py
+++ b/lib/Cryptodome/Math/_IntegerGMP.py
@@ -92,7 +92,7 @@ gmp_defs = """typedef unsigned long UNIX
int __gmpz_divisible_ui_p (const mpz_t n, UNIX_ULONG d);
"""
@@ -95,7 +95,7 @@ gmp_defs = """typedef unsigned long UNIX
if sys.platform == "win32":
raise ImportError("Not using GMP on Windows")
-lib = load_lib("gmp", gmp_defs)
+lib = load_lib("libgmp.so.10", gmp_defs)

View File

@ -1,7 +1,7 @@
--- a/setup.py
+++ b/setup.py
@@ -301,6 +301,9 @@ package_data = {
],
@@ -275,6 +275,9 @@ package_data = {
"Crypto.Util" : [ "*.pyi" ],
}
+packages = [i for i in packages if not i.startswith('Crypto.SelfTest')]