pkgsrc/security/py-cryptodome/Makefile
adam 24c2ff685b py-cryptodome: update to 3.4.7
3.4.7:

New features
* API documentation is made with sphinx instead of epydoc.
* Start using ``importlib`` instead of ``imp``` where available.

Resolved issues
* Fixed PEM header for RSA/DSA public keys.
2017-09-27 20:10:56 +00:00

22 lines
685 B
Makefile
Executable file

# $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"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"