blob: b9369722c9e0a2efe15ae0ee7cb0d97009442a54 (
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= xxhash
PORTVERSION= 3.5.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python bindings for the xxHash library
WWW= https://github.com/ifduyue/python-xxhash
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
xxhash>=0.8.1:devel/xxhash
LIB_DEPENDS= libxxhash.so:devel/xxhash
USES= localbase python
USE_PYTHON= autoplist concurrent pep517
CONFIGURE_ENV= XXHASH_LINK_SO=yes
MAKE_ENV= XXHASH_LINK_SO=yes
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>
|