diff options
Diffstat (limited to 'devel/py-preshed3/Makefile')
-rw-r--r-- | devel/py-preshed3/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/devel/py-preshed3/Makefile b/devel/py-preshed3/Makefile new file mode 100644 index 000000000000..a74d2cfe1be1 --- /dev/null +++ b/devel/py-preshed3/Makefile @@ -0,0 +1,30 @@ +PORTNAME= preshed +PORTVERSION= 3.0.9 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 3 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Cython hash table that trusts the keys are pre-hashed +WWW= https://github.com/explosion/preshed + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cymem>=2.0.2<2.1.0:devel/py-cymem@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}murmurhash>=0.28.0<1.1.0:devel/py-murmurhash@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cymem>=2.0.2<2.1.0:devel/py-cymem@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}murmurhash>=0.28.0<1.1.0:devel/py-murmurhash@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent cython pep517 + +PORTSCOUT= limit^3\. + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include <bsd.port.mk> |