pkgsrc/security/py-cryptography/Makefile
adam 4acb208c99 py-cryptography[_vectors]: updated to 2.4.2
2.4.2:
Updated Windows, macOS, and manylinux1 wheels to be compiled with OpenSSL 1.1.0j.
2018-11-21 10:38:38 +00:00

36 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.70 2018/11/21 10:38:38 adam Exp $
DISTNAME= cryptography-2.4.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cryptography/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/pyca/cryptography
COMMENT= Cryptographic recipes and primitives for Python
LICENSE= apache-2.0 OR modified-bsd
DEPENDS+= ${PYPKGPREFIX}-asn1crypto>=0.21.0:../../security/py-asn1crypto
DEPENDS+= ${PYPKGPREFIX}-cffi>=1.11.4:../../devel/py-cffi
DEPENDS+= ${PYPKGPREFIX}-cparser>=2.10:../../devel/py-cparser
DEPENDS+= ${PYPKGPREFIX}-idna>=2.1:../../www/py-idna
DEPENDS+= ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-cryptography_vectors-[0-9]*:../../security/py-cryptography_vectors
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=1.11.4:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-iso8601-[0-9]*:../../time/py-iso8601
TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.9.3:../../devel/py-test
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
.endif
do-test:
cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"