pkgsrc/security/py-cryptodome/Makefile

23 lines
685 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.7 2017/09/27 20:10:56 adam Exp $
DISTNAME= pycryptodome-3.4.7
PKGNAME= ${DISTNAME:S/^py/${PYPKGPREFIX}-/}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycryptodome/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.pycryptodome.org/
COMMENT= Cryptographic and hash functions for Python
LICENSE= public-domain AND python-software-foundation
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} ${PYSETUP} test
# XXX is this needed?
CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
BUILDLINK_API_DEPENDS.gmp+= gmp>=5.0
.include "../../devel/gmp/buildlink3.mk"
2017-02-08 01:06:54 +01:00
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"