pkgsrc/security/py-OpenSSL/Makefile
wiz 75d7e4e108 Add missing py-pretend test dependency.
Update upstream bug report URLs.
2017-07-03 20:56:04 +00:00

31 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.45 2017/07/03 20:56:04 wiz Exp $
DISTNAME= pyOpenSSL-17.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyOpenSSL/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/pyca/pyopenssl/
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}-test-[0-9]*:../../devel/py-test
BUILD_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
do-test:
cd ${WRKSRC} && PYTHONPATH=src py.test-${PYVERSSUFFIX} -v -k "not test_verify_with_time and not test_set_default_verify_paths and not test_set_verify_callback_exception"
.else
# https://github.com/pyca/pyopenssl/issues/656
do-test:
cd ${WRKSRC} && PYTHONPATH=src py.test-${PYVERSSUFFIX} -v
.endif
.include "../../lang/python/egg.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"