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:   wiz
Date:           Thu Mar 30 05:32:26 UTC 2023

Modified Files:
        pkgsrc/security/py-cryptodome: Makefile

Log Message:
py-cryptodome: fix logic error in previous


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/security/py-cryptodome/Makefile

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.47 pkgsrc/security/py-cryptodome/Makefile:1.48
--- pkgsrc/security/py-cryptodome/Makefile:1.47 Wed Mar 29 09:34:12 2023
+++ pkgsrc/security/py-cryptodome/Makefile      Thu Mar 30 05:32:26 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2023/03/29 09:34:12 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2023/03/30 05:32:26 wiz Exp $
 
 DISTNAME=      pycryptodome-3.17
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
@@ -21,10 +21,10 @@ CHECK_PORTABILITY_SKIP=     appveyor/get_whe
 .include "../../lang/python/egg.mk"
 
 # Python 3 builds of this package get an extra "abi3" suffix added
-.if ${PYTHON_VERSION} == 207
-PLIST_SUBST+=  SOEXT="abi3.so"
-.else
+.if ${PYTHON_VERSION} < 300
 PLIST_SUBST+=  SOEXT="so"
+.else
+PLIST_SUBST+=  SOEXT="abi3.so"
 .endif
 
 BUILDLINK_API_DEPENDS.gmp+=    gmp>=5.0



Home | Main Index | Thread Index | Old Index