aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Bartoletti <lbartoletti@FreeBSD.org>2022-02-25 20:51:00 +0000
committerLoïc Bartoletti <lbartoletti@FreeBSD.org>2022-02-25 20:51:46 +0000
commit99b1c257c8ffa79da53b62b6779635f3fb9cc16e (patch)
tree214bd7c04281f449e201e6f9f1b9e86b1c9836ac
parent9a3b512fbe4ca0bc90a8ec13f72f1f70a9e55758 (diff)
downloadports-99b1c257c8ffa79da53b62b6779635f3fb9cc16e.tar.gz
ports-99b1c257c8ffa79da53b62b6779635f3fb9cc16e.zip
-rw-r--r--math/py-pdal/Makefile8
-rw-r--r--math/py-pdal/distinfo6
2 files changed, 7 insertions, 7 deletions
diff --git a/math/py-pdal/Makefile b/math/py-pdal/Makefile
index 3d555bc787d9..19fe41f8e920 100644
--- a/math/py-pdal/Makefile
+++ b/math/py-pdal/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pdal
-DISTVERSION= 2.3.5
+DISTVERSION= 3.0.2
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,20 +12,20 @@ LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR} \
+ ${PREFIX}/share/cmake/pybind11/pybind11Config.cmake:devel/pybind11 \
cmake:devel/cmake
LIB_DEPENDS= libpdal_base.so:math/pdal
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
${PYNUMPY}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= compiler:c++11-lang ninja:build python:3.6+
USE_PYTHON= autoplist cython distutils
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpdal_plugin_filter_python*.so
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/libpdalpython*.so
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpdal_plugin_reader_numpy*.so
do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+ @cd ${WRKSRC} && py.test -v test
.include <bsd.port.mk>
diff --git a/math/py-pdal/distinfo b/math/py-pdal/distinfo
index 5c024be88328..bb5758687344 100644
--- a/math/py-pdal/distinfo
+++ b/math/py-pdal/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1605199158
-SHA256 (PDAL-2.3.5.tar.gz) = 234e335c27a0fdd39f77c1fae4c9dd17ad748abc7908368e6aaedb4fb7f7da21
-SIZE (PDAL-2.3.5.tar.gz) = 945024
+TIMESTAMP = 1645816636
+SHA256 (PDAL-3.0.2.tar.gz) = fbad878ccab49833a8c7fc6982f8cd98dc9421cc592a1cf762113655806bac15
+SIZE (PDAL-3.0.2.tar.gz) = 82845