Files
2026-07-10 08:25:29 +02:00

53 lines
1.7 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name py-pdal-plugins
version 1.6.7
revision 0
categories-append gis
license BSD
maintainers {yahoo.com:n_larsson @nilason} openmaintainer
description PDAL Python Plugins
long_description {*}${description} allow you to process data with PDAL into \
Numpy arrays. They support embedding Python in PDAL pipelines \
with the readers.numpy and filters.python stages.
homepage https://www.pdal.io
distname [string map {- _} ${python.rootname}]-${version}
checksums rmd160 647bd0f1a6266ad5b130d4f08238e4b017a7b4d6 \
sha256 3c3497c97480da56ffb41ef3db2f8372f0e9ca8a7e2affe44f70e8bcc00e0496 \
size 296746
python.versions 310 311 312 313 314
patchfiles patch_pyproject_pybind11.diff
if {${name} ne ${subport}} {
compiler.cxx_standard \
2017
depends_build-append \
path:bin/cmake:cmake \
port:ninja \
port:py${python.version}-pybind11 \
port:py${python.version}-scikit-build-core
depends_lib-append \
port:pdal \
port:py${python.version}-numpy \
port:py${python.version}-pdal
build.env-append \
pybind11_DIR=${python.pkgd}/pybind11/share/cmake/pybind11
notes-append \
"Add '${python.pkgd}/pdal' to the environmental variable PDAL_DRIVER_PATH\
to enable PDAL to locate the plugins."
}