pkgsrc/security/py-trustme/Makefile
adam 849a3cbedb py-trustme: updated to 0.5.3
Trustme 0.5.3:
Features
Added :attr:`CA.from_pem` to import an existing certificate authority; this allows migrating to trustme step-by-step.
2019-11-13 20:29:12 +00:00

27 lines
908 B
Makefile

# $NetBSD: Makefile,v 1.5 2019/11/13 20:29:12 adam Exp $
DISTNAME= trustme-0.5.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/trustme/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/python-trio/trustme
COMMENT= Number on quality TLS certs while you wait
LICENSE= apache-2.0 OR mit
DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna
TEST_DEPENDS+= ${PYPKGPREFIX}-service_identity-[0-9]*:../../security/py-service_identity
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
.endif
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"