Po-Chuan Hsieh 6d475ab2dc
Mk/Uses/python.mk: Remove USE_PYTHON=cython3{,_run,_test}
- Convert all cython3 occurrence to USE_PYTHON=cython*
- Bump PORTREVISION dependent ports of USE_PYTHON=cython_run for dependency change

PR:		291778
2026-01-16 01:22:12 +08:00

29 lines
965 B
Makefile

PORTNAME= python-pkcs11
PORTVERSION= 0.9.3
CATEGORIES= security python
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://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}
USES= python
USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>