bb579283d0
They now have a tool dependency on py-setuptools instead of a DEPENDS
33 lines
879 B
Makefile
Executable file
33 lines
879 B
Makefile
Executable file
# $NetBSD: Makefile,v 1.39 2022/01/04 20:54:40 wiz Exp $
|
|
|
|
DISTNAME= pycryptodome-3.12.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
|
|
PKGREVISION= 1
|
|
CATEGORIES= security python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycryptodome/}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.pycryptodome.org/
|
|
COMMENT= Cryptographic and hash functions for Python
|
|
LICENSE= public-domain AND python-software-foundation
|
|
|
|
EXTRACT_USING= bsdtar
|
|
|
|
# XXX is this needed?
|
|
CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
|
|
|
|
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 "../../mk/bsd.pkg.mk"
|