pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/py-cryptodome
Module Name: pkgsrc
Committed By: gutteridge
Date: Wed Feb 24 01:11:34 UTC 2021
Modified Files:
pkgsrc/security/py-cryptodome: Makefile PLIST
Log Message:
py-cryptodome: fix Python 2.7 builds
The upstream project decided to add an extra "abi3" suffix to shared
objects when this is built with Python 3.x; these are simply omitted
when Python 2.7 is involved.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/security/py-cryptodome/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/security/py-cryptodome/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/py-cryptodome/Makefile
diff -u pkgsrc/security/py-cryptodome/Makefile:1.34 pkgsrc/security/py-cryptodome/Makefile:1.35
--- pkgsrc/security/py-cryptodome/Makefile:1.34 Wed Feb 17 15:59:20 2021
+++ pkgsrc/security/py-cryptodome/Makefile Wed Feb 24 01:11:34 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2021/02/17 15:59:20 adam Exp $
+# $NetBSD: Makefile,v 1.35 2021/02/24 01:11:34 gutteridge Exp $
DISTNAME= pycryptodome-3.10.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
@@ -17,7 +17,15 @@ CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=
CHECK_PORTABILITY_SKIP= appveyor/get_wheels.sh
+.include "../../lang/python/egg.mk"
+
+# Python 3 builds of this package get an extra "abi3" suffix added
+.if ${PYVERSSUFFIX} != "2.7"
+PLIST_SUBST+= SOEXT="abi3.so"
+.else
+PLIST_SUBST+= SOEXT="so"
+.endif
+
BUILDLINK_API_DEPENDS.gmp+= gmp>=5.0
.include "../../devel/gmp/buildlink3.mk"
-.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/py-cryptodome/PLIST
diff -u pkgsrc/security/py-cryptodome/PLIST:1.19 pkgsrc/security/py-cryptodome/PLIST:1.20
--- pkgsrc/security/py-cryptodome/PLIST:1.19 Wed Feb 17 15:59:20 2021
+++ pkgsrc/security/py-cryptodome/PLIST Wed Feb 24 01:11:34 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.19 2021/02/17 15:59:20 adam Exp $
+@comment $NetBSD: PLIST,v 1.20 2021/02/24 01:11:34 gutteridge Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -52,17 +52,17 @@ ${PYSITELIB}/Crypto/Cipher/Salsa20.py
${PYSITELIB}/Crypto/Cipher/Salsa20.pyc
${PYSITELIB}/Crypto/Cipher/Salsa20.pyi
${PYSITELIB}/Crypto/Cipher/Salsa20.pyo
-${PYSITELIB}/Crypto/Cipher/_ARC4.abi3.so
+${PYSITELIB}/Crypto/Cipher/_ARC4.${SOEXT}
${PYSITELIB}/Crypto/Cipher/_EKSBlowfish.py
${PYSITELIB}/Crypto/Cipher/_EKSBlowfish.pyc
${PYSITELIB}/Crypto/Cipher/_EKSBlowfish.pyi
${PYSITELIB}/Crypto/Cipher/_EKSBlowfish.pyo
-${PYSITELIB}/Crypto/Cipher/_Salsa20.abi3.so
+${PYSITELIB}/Crypto/Cipher/_Salsa20.${SOEXT}
${PYSITELIB}/Crypto/Cipher/__init__.py
${PYSITELIB}/Crypto/Cipher/__init__.pyc
${PYSITELIB}/Crypto/Cipher/__init__.pyi
${PYSITELIB}/Crypto/Cipher/__init__.pyo
-${PYSITELIB}/Crypto/Cipher/_chacha20.abi3.so
+${PYSITELIB}/Crypto/Cipher/_chacha20.${SOEXT}
${PYSITELIB}/Crypto/Cipher/_mode_cbc.py
${PYSITELIB}/Crypto/Cipher/_mode_cbc.pyc
${PYSITELIB}/Crypto/Cipher/_mode_cbc.pyi
@@ -107,20 +107,20 @@ ${PYSITELIB}/Crypto/Cipher/_mode_siv.py
${PYSITELIB}/Crypto/Cipher/_mode_siv.pyc
${PYSITELIB}/Crypto/Cipher/_mode_siv.pyi
${PYSITELIB}/Crypto/Cipher/_mode_siv.pyo
-${PYSITELIB}/Crypto/Cipher/_raw_aes.abi3.so
-${PYSITELIB}/Crypto/Cipher/_raw_aesni.abi3.so
-${PYSITELIB}/Crypto/Cipher/_raw_arc2.abi3.so
-${PYSITELIB}/Crypto/Cipher/_raw_blowfish.abi3.so
-${PYSITELIB}/Crypto/Cipher/_raw_cast.abi3.so
-${PYSITELIB}/Crypto/Cipher/_raw_cbc.abi3.so
-${PYSITELIB}/Crypto/Cipher/_raw_cfb.abi3.so
-${PYSITELIB}/Crypto/Cipher/_raw_ctr.abi3.so
-${PYSITELIB}/Crypto/Cipher/_raw_des.abi3.so
-${PYSITELIB}/Crypto/Cipher/_raw_des3.abi3.so
-${PYSITELIB}/Crypto/Cipher/_raw_ecb.abi3.so
-${PYSITELIB}/Crypto/Cipher/_raw_eksblowfish.abi3.so
-${PYSITELIB}/Crypto/Cipher/_raw_ocb.abi3.so
-${PYSITELIB}/Crypto/Cipher/_raw_ofb.abi3.so
+${PYSITELIB}/Crypto/Cipher/_raw_aes.${SOEXT}
+${PYSITELIB}/Crypto/Cipher/_raw_aesni.${SOEXT}
+${PYSITELIB}/Crypto/Cipher/_raw_arc2.${SOEXT}
+${PYSITELIB}/Crypto/Cipher/_raw_blowfish.${SOEXT}
+${PYSITELIB}/Crypto/Cipher/_raw_cast.${SOEXT}
+${PYSITELIB}/Crypto/Cipher/_raw_cbc.${SOEXT}
+${PYSITELIB}/Crypto/Cipher/_raw_cfb.${SOEXT}
+${PYSITELIB}/Crypto/Cipher/_raw_ctr.${SOEXT}
+${PYSITELIB}/Crypto/Cipher/_raw_des.${SOEXT}
+${PYSITELIB}/Crypto/Cipher/_raw_des3.${SOEXT}
+${PYSITELIB}/Crypto/Cipher/_raw_ecb.${SOEXT}
+${PYSITELIB}/Crypto/Cipher/_raw_eksblowfish.${SOEXT}
+${PYSITELIB}/Crypto/Cipher/_raw_ocb.${SOEXT}
+${PYSITELIB}/Crypto/Cipher/_raw_ofb.${SOEXT}
${PYSITELIB}/Crypto/Hash/BLAKE2b.py
${PYSITELIB}/Crypto/Hash/BLAKE2b.pyc
${PYSITELIB}/Crypto/Hash/BLAKE2b.pyi
@@ -209,25 +209,25 @@ ${PYSITELIB}/Crypto/Hash/SHAKE256.py
${PYSITELIB}/Crypto/Hash/SHAKE256.pyc
${PYSITELIB}/Crypto/Hash/SHAKE256.pyi
${PYSITELIB}/Crypto/Hash/SHAKE256.pyo
-${PYSITELIB}/Crypto/Hash/_BLAKE2b.abi3.so
-${PYSITELIB}/Crypto/Hash/_BLAKE2s.abi3.so
-${PYSITELIB}/Crypto/Hash/_MD2.abi3.so
-${PYSITELIB}/Crypto/Hash/_MD4.abi3.so
-${PYSITELIB}/Crypto/Hash/_MD5.abi3.so
-${PYSITELIB}/Crypto/Hash/_RIPEMD160.abi3.so
-${PYSITELIB}/Crypto/Hash/_SHA1.abi3.so
-${PYSITELIB}/Crypto/Hash/_SHA224.abi3.so
-${PYSITELIB}/Crypto/Hash/_SHA256.abi3.so
-${PYSITELIB}/Crypto/Hash/_SHA384.abi3.so
-${PYSITELIB}/Crypto/Hash/_SHA512.abi3.so
+${PYSITELIB}/Crypto/Hash/_BLAKE2b.${SOEXT}
+${PYSITELIB}/Crypto/Hash/_BLAKE2s.${SOEXT}
+${PYSITELIB}/Crypto/Hash/_MD2.${SOEXT}
+${PYSITELIB}/Crypto/Hash/_MD4.${SOEXT}
+${PYSITELIB}/Crypto/Hash/_MD5.${SOEXT}
+${PYSITELIB}/Crypto/Hash/_RIPEMD160.${SOEXT}
+${PYSITELIB}/Crypto/Hash/_SHA1.${SOEXT}
+${PYSITELIB}/Crypto/Hash/_SHA224.${SOEXT}
+${PYSITELIB}/Crypto/Hash/_SHA256.${SOEXT}
+${PYSITELIB}/Crypto/Hash/_SHA384.${SOEXT}
+${PYSITELIB}/Crypto/Hash/_SHA512.${SOEXT}
${PYSITELIB}/Crypto/Hash/__init__.py
${PYSITELIB}/Crypto/Hash/__init__.pyc
${PYSITELIB}/Crypto/Hash/__init__.pyi
${PYSITELIB}/Crypto/Hash/__init__.pyo
-${PYSITELIB}/Crypto/Hash/_ghash_clmul.abi3.so
-${PYSITELIB}/Crypto/Hash/_ghash_portable.abi3.so
-${PYSITELIB}/Crypto/Hash/_keccak.abi3.so
-${PYSITELIB}/Crypto/Hash/_poly1305.abi3.so
+${PYSITELIB}/Crypto/Hash/_ghash_clmul.${SOEXT}
+${PYSITELIB}/Crypto/Hash/_ghash_portable.${SOEXT}
+${PYSITELIB}/Crypto/Hash/_keccak.${SOEXT}
+${PYSITELIB}/Crypto/Hash/_poly1305.${SOEXT}
${PYSITELIB}/Crypto/Hash/keccak.py
${PYSITELIB}/Crypto/Hash/keccak.pyc
${PYSITELIB}/Crypto/Hash/keccak.pyi
@@ -274,7 +274,7 @@ ${PYSITELIB}/Crypto/Math/_IntegerNative.
${PYSITELIB}/Crypto/Math/__init__.py
${PYSITELIB}/Crypto/Math/__init__.pyc
${PYSITELIB}/Crypto/Math/__init__.pyo
-${PYSITELIB}/Crypto/Math/_modexp.abi3.so
+${PYSITELIB}/Crypto/Math/_modexp.${SOEXT}
${PYSITELIB}/Crypto/Protocol/KDF.py
${PYSITELIB}/Crypto/Protocol/KDF.pyc
${PYSITELIB}/Crypto/Protocol/KDF.pyi
@@ -287,7 +287,7 @@ ${PYSITELIB}/Crypto/Protocol/__init__.py
${PYSITELIB}/Crypto/Protocol/__init__.pyc
${PYSITELIB}/Crypto/Protocol/__init__.pyi
${PYSITELIB}/Crypto/Protocol/__init__.pyo
-${PYSITELIB}/Crypto/Protocol/_scrypt.abi3.so
+${PYSITELIB}/Crypto/Protocol/_scrypt.${SOEXT}
${PYSITELIB}/Crypto/PublicKey/DSA.py
${PYSITELIB}/Crypto/PublicKey/DSA.pyc
${PYSITELIB}/Crypto/PublicKey/DSA.pyi
@@ -308,7 +308,7 @@ ${PYSITELIB}/Crypto/PublicKey/__init__.p
${PYSITELIB}/Crypto/PublicKey/__init__.pyc
${PYSITELIB}/Crypto/PublicKey/__init__.pyi
${PYSITELIB}/Crypto/PublicKey/__init__.pyo
-${PYSITELIB}/Crypto/PublicKey/_ec_ws.abi3.so
+${PYSITELIB}/Crypto/PublicKey/_ec_ws.${SOEXT}
${PYSITELIB}/Crypto/PublicKey/_openssh.py
${PYSITELIB}/Crypto/PublicKey/_openssh.pyc
${PYSITELIB}/Crypto/PublicKey/_openssh.pyi
@@ -606,7 +606,7 @@ ${PYSITELIB}/Crypto/Util/_cpu_features.p
${PYSITELIB}/Crypto/Util/_cpu_features.pyc
${PYSITELIB}/Crypto/Util/_cpu_features.pyi
${PYSITELIB}/Crypto/Util/_cpu_features.pyo
-${PYSITELIB}/Crypto/Util/_cpuid_c.abi3.so
+${PYSITELIB}/Crypto/Util/_cpuid_c.${SOEXT}
${PYSITELIB}/Crypto/Util/_file_system.py
${PYSITELIB}/Crypto/Util/_file_system.pyc
${PYSITELIB}/Crypto/Util/_file_system.pyi
@@ -615,7 +615,7 @@ ${PYSITELIB}/Crypto/Util/_raw_api.py
${PYSITELIB}/Crypto/Util/_raw_api.pyc
${PYSITELIB}/Crypto/Util/_raw_api.pyi
${PYSITELIB}/Crypto/Util/_raw_api.pyo
-${PYSITELIB}/Crypto/Util/_strxor.abi3.so
+${PYSITELIB}/Crypto/Util/_strxor.${SOEXT}
${PYSITELIB}/Crypto/Util/asn1.py
${PYSITELIB}/Crypto/Util/asn1.pyc
${PYSITELIB}/Crypto/Util/asn1.pyi
Home |
Main Index |
Thread Index |
Old Index