You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
41 lines
1.4 KiB
Tcl
41 lines
1.4 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-pygeos
|
|
version 0.14
|
|
revision 0
|
|
categories-append math
|
|
license BSD
|
|
|
|
python.versions 310 311 312
|
|
|
|
maintainers {stromnov @stromnov} openmaintainer
|
|
|
|
description PyGEOS is a C/Python library with vectorized geometry functions.
|
|
long_description {*}${description}
|
|
|
|
homepage https://github.com/caspervdw/pygeos
|
|
|
|
checksums rmd160 065d15593b7f05114f4eddd4a40dacfc46271f0d \
|
|
sha256 30fbc17f64844200b85133b885fcfb65541b8779531f6ef4f8fe467d3fba7623 \
|
|
size 141330
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-cython-compat \
|
|
port:py${python.version}-oldest-supported-numpy \
|
|
port:py${python.version}-versioneer
|
|
|
|
set compat_path [string replace ${python.pkgd} 0 [string length ${python.prefix}]-1 ${prefix}/lib/py${python.version}-cython-compat]
|
|
build.env-append PYTHONPATH=${compat_path}
|
|
|
|
depends_lib-append port:py${python.version}-numpy \
|
|
port:geos
|
|
|
|
patch {
|
|
file delete ${worksrcpath}/versioneer.py
|
|
}
|
|
}
|