Files
2026-02-26 21:38:56 -05:00

49 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-arrow
version 1.4.0
revision 1
license Apache-2
maintainers nomaintainer
description Better dates and times for Python
long_description Arrow is a Python library that offers a sensible \
and human-friendly approach to creating, manipulating, \
formatting and converting dates, times and timestamps. \
It implements and updates the datetime type, plugging gaps \
in functionality and providing an intelligent module API that \
supports many common creation scenarios.
homepage https://arrow.readthedocs.io
supported_archs noarch
platforms {darwin any}
checksums rmd160 b46e9a2d108ffb38917dcfcf7a0ab09bf5520bd3 \
sha256 ed0cc050e98001b8779e84d461b0098c4ac597e88704a655582b21d116e526d7 \
size 152931
compiler.cxx_standard 2011
python.versions 310 311 312 313 314
python.pep517_backend \
flit
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-dateutil \
port:py${python.version}-types-python-dateutil \
port:py${python.version}-tzdata
post-destroot {
xinstall -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 0644 -W ${worksrcpath} CHANGELOG.rst LICENSE \
README.rst ${destroot}${prefix}/share/doc/${subport}
}
}