diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-13 14:01:37 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-13 14:01:37 +0000 |
commit | 661b4e14b6d2eb63e55a2d4a6a76f68906229302 (patch) | |
tree | a52b82c3df998cffc999126af0657e97df43b1a3 /graphics/py-h3/Makefile | |
parent | 0af63d0fcef2fc10697f4b12e03ef98326b2d7e4 (diff) | |
download | ports-661b4e14b6d2eb63e55a2d4a6a76f68906229302.tar.gz ports-661b4e14b6d2eb63e55a2d4a6a76f68906229302.zip |
graphics/py-h3: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
Diffstat (limited to 'graphics/py-h3/Makefile')
-rw-r--r-- | graphics/py-h3/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/py-h3/Makefile b/graphics/py-h3/Makefile index 06947694e389..d2553bcdfb6d 100644 --- a/graphics/py-h3/Makefile +++ b/graphics/py-h3/Makefile @@ -1,5 +1,6 @@ PORTNAME= h3 PORTVERSION= 3.7.7 +PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,12 +15,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= cmake:devel/cmake-core \ h3>=3.7.2:graphics/h3 \ - ${PYTHON_PKGNAMEPREFIX}scikit-build>=0:devel/py-scikit-build@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}scikit-build>=0:devel/py-scikit-build@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libh3.so:graphics/h3 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} USES= localbase:ldflags ninja:build python -USE_PYTHON= autoplist concurrent cython distutils pytest +USE_PYTHON= autoplist concurrent cython pep517 pytest CFLAGS+= -I${LOCALBASE}/include/h3 TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} |