mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
05c9b04e55
- Convert to USE_PYTHON=pep517 Changes: https://gitlab.com/m2crypto/m2crypto/-/blob/master/CHANGES
28 lines
709 B
Makefile
28 lines
709 B
Makefile
PORTNAME= m2crypto
|
|
PORTVERSION= 0.41.0
|
|
CATEGORIES= security python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= M2Crypto-${PORTVERSION}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Crypto and SSL toolkit for Python
|
|
WWW= https://gitlab.com/m2crypto/m2crypto
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
|
|
swig>=4.0:devel/swig
|
|
|
|
USES= cpe python ssl
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
CPE_VENDOR= m2crypto_project
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
|
|
|
.include <bsd.port.mk>
|