Date: Mon, 23 Oct 2023 02:56:49 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1ca80262a408 - main - misc/py-laspy: New port: Library and tools to read/write LAS files with lidar data Message-ID: <202310230256.39N2unWo013831@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ca80262a408beccf296e65986a6a7b33983a90a commit 1ca80262a408beccf296e65986a6a7b33983a90a Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-10-23 02:56:18 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-10-23 02:56:45 +0000 misc/py-laspy: New port: Library and tools to read/write LAS files with lidar data --- misc/Makefile | 1 + misc/py-laspy/Makefile | 28 ++++++++++++++++++++++++++++ misc/py-laspy/distinfo | 3 +++ misc/py-laspy/pkg-descr | 6 ++++++ 4 files changed, 38 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 2e48cbe7adab..677c218455ed 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -424,6 +424,7 @@ SUBDIR += py-icoextract SUBDIR += py-ipyfastscape SUBDIR += py-kartograph + SUBDIR += py-laspy SUBDIR += py-lazrs SUBDIR += py-lightgbm SUBDIR += py-lightning-utilities diff --git a/misc/py-laspy/Makefile b/misc/py-laspy/Makefile new file mode 100644 index 000000000000..0bd044ca72d3 --- /dev/null +++ b/misc/py-laspy/Makefile @@ -0,0 +1,28 @@ +PORTNAME= laspy +DISTVERSION= 2.5.1 +CATEGORIES= misc +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Library and tools to read/write LAS files with lidar data +WWW= https://laspy.readthedocs.io/en/latest/ + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYNUMPY} +# optional dependencies +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}lazrs>=0.5.0:misc/py-lazrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}laszip>=0.2.1:archivers/py-laszip@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyproj>0:graphics/py-pyproj@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 concurrent autoplist pytest + +NOARCH= yes + +.include <bsd.port.mk> diff --git a/misc/py-laspy/distinfo b/misc/py-laspy/distinfo new file mode 100644 index 000000000000..59924359430c --- /dev/null +++ b/misc/py-laspy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1698025374 +SHA256 (laspy-2.5.1.tar.gz) = baa3c9c6cc155636f161149111f9cfc243dbd14f6cca729c94b356b31c668f2e +SIZE (laspy-2.5.1.tar.gz) = 1555098 diff --git a/misc/py-laspy/pkg-descr b/misc/py-laspy/pkg-descr new file mode 100644 index 000000000000..b6cbcb3cd7f1 --- /dev/null +++ b/misc/py-laspy/pkg-descr @@ -0,0 +1,6 @@ +Laspy is a pythonic interface for reading/modifying/creating .LAS LIDAR +files matching specification 1.0-1.4. + +LAS (and its compressed counterpart LAZ), is a popular format for lidar +pointcloud and full waveform, laspy reads and writes these formats and +provides a Python API via Numpy Arrays.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310230256.39N2unWo013831>