Fri Jul 3 03:03:18 2020 UTC ()
py-cryptodome: fix build on platforms that use nbtar by default

It isn't extracted properly by archivers/pax, which leads to
packaging errors on some platforms, e.g. some Solaris derivatives.
(gtar works too, but the common approach here seems to be to just
keep it simple and specify bsdtar universally.) This should address
PR pkg/55448 from Hauke Fath.


(gutteridge)
diff -r1.31 -r1.32 pkgsrc/security/py-cryptodome/Makefile

cvs diff -r1.31 -r1.32 pkgsrc/security/py-cryptodome/Makefile (expand / switch to unified diff)

--- pkgsrc/security/py-cryptodome/Makefile 2020/06/29 13:36:51 1.31
+++ pkgsrc/security/py-cryptodome/Makefile 2020/07/03 03:03:18 1.32
@@ -1,21 +1,23 @@ @@ -1,21 +1,23 @@
1# $NetBSD: Makefile,v 1.31 2020/06/29 13:36:51 adam Exp $ 1# $NetBSD: Makefile,v 1.32 2020/07/03 03:03:18 gutteridge Exp $
2 2
3DISTNAME= pycryptodome-3.9.8 3DISTNAME= pycryptodome-3.9.8
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
5CATEGORIES= security python 5CATEGORIES= security python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycryptodome/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycryptodome/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://www.pycryptodome.org/ 9HOMEPAGE= https://www.pycryptodome.org/
10COMMENT= Cryptographic and hash functions for Python 10COMMENT= Cryptographic and hash functions for Python
11LICENSE= public-domain AND python-software-foundation 11LICENSE= public-domain AND python-software-foundation
12 12
 13EXTRACT_USING= bsdtar
 14
13# XXX is this needed? 15# XXX is this needed?
14CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 16CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
15 17
16CHECK_PORTABILITY_SKIP= appveyor/get_wheels.sh 18CHECK_PORTABILITY_SKIP= appveyor/get_wheels.sh
17 19
18BUILDLINK_API_DEPENDS.gmp+= gmp>=5.0 20BUILDLINK_API_DEPENDS.gmp+= gmp>=5.0
19.include "../../devel/gmp/buildlink3.mk" 21.include "../../devel/gmp/buildlink3.mk"
20.include "../../lang/python/egg.mk" 22.include "../../lang/python/egg.mk"
21.include "../../mk/bsd.pkg.mk" 23.include "../../mk/bsd.pkg.mk"