9bbf669736
17.4.0: Re-added a subset of the OpenSSL.rand module. This subset allows conscientious users to reseed the OpenSSL CSPRNG after fork. Corrected a use-after-free when reusing an issuer or subject from an X509 object after the underlying object has been mutated.
26 lines
917 B
Makefile
26 lines
917 B
Makefile
# $NetBSD: Makefile,v 1.49 2017/11/23 10:12:33 adam Exp $
|
|
|
|
DISTNAME= pyOpenSSL-17.4.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
CATEGORIES= security python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyOpenSSL/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://pyopenssl.org/
|
|
COMMENT= Python interface to the OpenSSL library
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-cryptography>=0.3:../../security/py-cryptography
|
|
DEPENDS+= ${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six
|
|
# TEST_DEPENDS
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-flaky-[0-9]*:../../devel/py-flaky
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.1:../../devel/py-test
|
|
|
|
# https://github.com/pyca/pyopenssl/issues/656
|
|
do-test:
|
|
cd ${WRKSRC} && PYTHONPATH=src py.test-${PYVERSSUFFIX} -v
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|