d124a8225e
- Convert to USE_PYTHON=pep517 Changes: https://github.com/ifduyue/python-xxhash/releases
29 lines
851 B
Makefile
29 lines
851 B
Makefile
PORTNAME= xxhash
|
|
PORTVERSION= 3.3.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}setuptools_scm>=6.2:devel/py-setuptools_scm@${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>
|