# -*- 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
PortGroup github 1.0
github.setup Unidata cftime 1.6.6.1 v rel
github.tarball_from archive
name py-cftime
revision 0
categories-append devel
license MIT
maintainers {reneeotten @reneeotten} openmaintainer
description Time-handling functionality from netcdf4-python
long_description {*}${description}
checksums rmd160 3cc6b8fd029fb4956e5429defab3c23f9916bc43 \
sha256 e992e2de7b89fd8ba4ec57cfef96cbbd8f195af7d847c41389f891694b44779b \
size 63616
python.versions 310 311 312 313 314 315
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-cython \
port:py${python.version}-oldest-supported-numpy
depends_lib-append \
port:py${python.version}-numpy
test.run yes
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.md Changelog \
LICENSE ${destroot}${docdir}
}
}