pkgsrc/security/py-OpenSSL/Makefile
adam 59ad9558ea py-OpenSSL: update to 17.3.0
17.3.0
Backward-incompatible changes:
* Dropped support for Python 3.3.
* Removed the deprecated OpenSSL.rand module. This is being done ahead of our normal deprecation schedule due to its lack of use and the fact that it was becoming a maintenance burden. os.urandom() should be used instead.

Deprecations:
* Deprecated OpenSSL.tsafe.

Changes:
* Fixed a memory leak in OpenSSL.crypto.CRL.
* Fixed a memory leak when verifying certificates with OpenSSL.crypto.X509StoreContext.
2017-09-16 06:47:52 +00:00

26 lines
917 B
Makefile

# $NetBSD: Makefile,v 1.48 2017/09/16 06:47:52 adam Exp $
DISTNAME= pyOpenSSL-17.3.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"