summaryrefslogtreecommitdiff
path: root/devel/py-pykdtree/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-pykdtree/Makefile')
-rw-r--r--devel/py-pykdtree/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/py-pykdtree/Makefile b/devel/py-pykdtree/Makefile
index e72d7b52ed05..6d55c41638e3 100644
--- a/devel/py-pykdtree/Makefile
+++ b/devel/py-pykdtree/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pykdtree
-PORTVERSION= 1.4.1
+PORTVERSION= 1.4.2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,9 +16,13 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
-USES= python:3.9+
+USES= python
USE_PYTHON= autoplist concurrent cython3 pep517
+.if !exists(/usr/include/omp.h)
+MAKE_ENV= USE_OMP=0
+.endif
+
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +