From owner-svn-ports-all@freebsd.org Thu Jul 30 19:55:19 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BED883ADAA8; Thu, 30 Jul 2020 19:55:19 +0000 (UTC) (envelope-from lbartoletti@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BHh3C4fbLz3btR; Thu, 30 Jul 2020 19:55:19 +0000 (UTC) (envelope-from lbartoletti@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 82961162BD; Thu, 30 Jul 2020 19:55:19 +0000 (UTC) (envelope-from lbartoletti@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 06UJtJJl057554; Thu, 30 Jul 2020 19:55:19 GMT (envelope-from lbartoletti@FreeBSD.org) Received: (from lbartoletti@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06UJtIxd057551; Thu, 30 Jul 2020 19:55:18 GMT (envelope-from lbartoletti@FreeBSD.org) Message-Id: <202007301955.06UJtIxd057551@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lbartoletti set sender to lbartoletti@FreeBSD.org using -f From: =?UTF-8?Q?Lo=c3=afc_Bartoletti?= Date: Thu, 30 Jul 2020 19:55:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r543829 - in head/math: . py-pdal X-SVN-Group: ports-head X-SVN-Commit-Author: lbartoletti X-SVN-Commit-Paths: in head/math: . py-pdal X-SVN-Commit-Revision: 543829 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2020 19:55:19 -0000 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@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 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