summaryrefslogtreecommitdiff
path: root/security/py-python-pkcs11/Makefile
blob: b632077457e1188fabea6142b5d1208250b3b4f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PORTNAME=	python-pkcs11
PORTVERSION=	0.8.1
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 cython3 pep517

post-install:
	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +

.include <bsd.port.mk>