svn commit: r543829 - in head/math: . py-pdal
Loïc Bartoletti
lbartoletti at FreeBSD.org
Thu Jul 30 19:55:19 UTC 2020
Author: lbartoletti
Date: Thu Jul 30 19:55:18 2020
New Revision: 543829
URL: https://svnweb.freebsd.org/changeset/ports/543829
Log:
[NEW PORT] math/py-pdal: PDAL Python bindings
Description:
PDAL Python support allows you to process data with PDAL into Numpy arrays. It supports embedding Python in PDAL pipelines with the readers.numpy and filters.python stages, and it provides a PDAL extension module to control Python interaction with PDAL.
Additionally, you can use it to fetch schema and metadata from PDAL operations.
Context:
Python plugin is removed from math/pdal and is available at https://pypi.org/project/PDAL/
Approved by: tcberner (mentor)
Added:
head/math/py-pdal/
head/math/py-pdal/Makefile (contents, props changed)
head/math/py-pdal/distinfo (contents, props changed)
head/math/py-pdal/pkg-descr (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Thu Jul 30 19:53:25 2020 (r543828)
+++ head/math/Makefile Thu Jul 30 19:55:18 2020 (r543829)
@@ -793,6 +793,7 @@
SUBDIR += py-pandas
SUBDIR += py-pandas-datareader
SUBDIR += py-patsy
+ SUBDIR += py-pdal
SUBDIR += py-permutation
SUBDIR += py-petsc4py
SUBDIR += py-piranha
Added: head/math/py-pdal/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-pdal/Makefile Thu Jul 30 19:55:18 2020 (r543829)
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME= pdal
+DISTVERSION= 2.3.3
+CATEGORIES= math python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:tu}-${DISTVERSION}
+
+MAINTAINER= lbartoletti at FreeBSD.org
+COMMENT= PDAL Python bindings
+
+LICENSE= BSD3CLAUSE
+
+BUILD_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR} \
+ ${LOCALBASE}/bin/cmake:devel/cmake \
+ ${LOCALBASE}/bin/ninja:devel/ninja
+LIB_DEPENDS= libpdal_base.so:math/pdal
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
+ ${PYNUMPY}
+
+USES= python
+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
+
+.include <bsd.port.mk>
Added: head/math/py-pdal/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-pdal/distinfo Thu Jul 30 19:55:18 2020 (r543829)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1595956011
+SHA256 (PDAL-2.3.3.tar.gz) = 04203b65110447b7c305e89f33ec0f3a898b3f464af0c266cc5bccbf8c05d64b
+SIZE (PDAL-2.3.3.tar.gz) = 998382
Added: head/math/py-pdal/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-pdal/pkg-descr Thu Jul 30 19:55:18 2020 (r543829)
@@ -0,0 +1,8 @@
+PDAL Python support allows you to process data with PDAL into Numpy arrays.
+It supports embedding Python in PDAL pipelines with the readers.numpy and
+filters.python stages, and it provides a PDAL extension module to control
+Python interaction with PDAL.
+
+Additionally, you can use it to fetch schema and metadata from PDAL operations.
+
+WWW: https://pypi.python.org/pypi/pdal
More information about the svn-ports-head
mailing list