Files
2026-01-06 17:03:41 -05:00

44 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-intervaltree
version 3.2.1
revision 0
platforms {darwin any}
supported_archs noarch
license Apache-2
maintainers {reneeotten @reneeotten} openmaintainer
description A mutable, self-balancing interval tree for Python 2 and 3
long_description {*}${description}. Queries may be by point, by range overlap, \
or by range envelopment.
homepage https://github.com/chaimleib/intervaltree
checksums rmd160 1407ff22e7366aea63580964f3d1b1df0e47f3fb \
sha256 f3f7e8baeb7dd75b9f7a6d33cf3ec10025984a8e66e3016d537e52130c73cfe2 \
size 1231531
python.versions 310 311 312 313 314
python.pep517_backend hatch
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-uv-dynamic-versioning
depends_lib-append \
port:py${python.version}-sortedcontainers
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} CHANGELOG.md HACKING.md \
LICENSE.txt README.md ${destroot}${docdir}
}
test.run yes
}