1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

archivers/py-laszip: New port: Bindings for LASzip made with pybind11

This commit is contained in:
Yuri Victorovich 2023-10-22 19:42:45 -07:00
parent 362ade45f8
commit 210e124632
5 changed files with 46 additions and 0 deletions

View File

@ -192,6 +192,7 @@
SUBDIR += py-bz2file
SUBDIR += py-compressed-rtf
SUBDIR += py-cramjam
SUBDIR += py-laszip
SUBDIR += py-libarchive-c
SUBDIR += py-lz4
SUBDIR += py-lzma

View File

@ -0,0 +1,28 @@
PORTNAME= laszip
DISTVERSION= 0.2.3
CATEGORIES= archivers
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Bindings for LASzip made with pybind11
WWW= https://laspy.readthedocs.io/en/latest/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/License.txt
BUILD_DEPENDS= cmake:devel/cmake-core \
ninja:devel/ninja \
${PYTHON_PKGNAMEPREFIX}pybind11>=2.10:devel/py-pybind11@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyproject-metadata>=0.7.1:devel/py-pyproject-metadata@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0.1.5:devel/py-scikit-build-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS= liblaszip.so:archivers/laszip
USES= python
USE_PYTHON= pep517 autoplist
USE_GITHUB= yes
GH_ACCOUNT= tmontaigu
GH_PROJECT= laszip-python
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1698026487
SHA256 (tmontaigu-laszip-python-0.2.3_GH0.tar.gz) = 31572639a928fabf7d60a340970c6ae256ae9382e0420e938d6ab237553ac57b
SIZE (tmontaigu-laszip-python-0.2.3_GH0.tar.gz) = 11256

View File

@ -0,0 +1,11 @@
--- pyproject.toml.orig 2023-10-23 02:32:14 UTC
+++ pyproject.toml
@@ -1,8 +1,6 @@
[build-system]
requires = [
"scikit-build-core>=0.1.5",
- "cmake>=3.20",
- "ninja",
"pybind11>=2.10",
]
build-backend = "scikit_build_core.build"

View File

@ -0,0 +1,3 @@
laszip is a Python bindings for LASzip.
The main purpose is for integration within laspy.