summaryrefslogtreecommitdiff
path: root/security/py-python-pkcs11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-python-pkcs11/Makefile')
-rw-r--r--security/py-python-pkcs11/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/security/py-python-pkcs11/Makefile b/security/py-python-pkcs11/Makefile
index de79ce0ba106..b632077457e1 100644
--- a/security/py-python-pkcs11/Makefile
+++ b/security/py-python-pkcs11/Makefile
@@ -1,23 +1,28 @@
PORTNAME= python-pkcs11
-PORTVERSION= 0.7.0
-PORTREVISION= 1
+PORTVERSION= 0.8.1
CATEGORIES= security python
-MASTER_SITES= PYPI
+MASTER_SITES= PYPI \
+ https://github.com/pyauth/python-pkcs11/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= python_pkcs11-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PKCS\#11 (Cryptoki) support for Python
-WWW= https://github.com/danni/python-pkcs11
+WWW= https://python-pkcs11.readthedocs.io/en/latest/ \
+ https://github.com/danni/python-pkcs11
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=0:devel/py-asn1crypto@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}cached-property>=0:devel/py-cached-property@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=0:devel/py-asn1crypto@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython pep517
+USE_PYTHON= autoplist concurrent cython3 pep517
+
+post-install:
+ ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>