# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        crsmithdev arrow 0.17.0
revision            0
name                py-arrow
platforms           darwin
license             Apache-2
maintainers         nomaintainer

description         Better dates and times for Python
long_description    {*}${description}

checksums           rmd160  66860bb00d58a0e9a1a90b82e4e3e07da44092d0 \
                    sha256  b8df5c61a6bff9266376c10d52154bc1ea0eeb91d6da6b522418b08dba388a84 \
                    size    97452

compiler.cxx_standard 2011

python.versions     36 37 38 39

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools

    depends_lib-append \
                    port:py${python.version}-dateutil

    post-destroot {
        xinstall -d ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 0644 -W ${worksrcpath} CHANGELOG.rst LICENSE \
            README.rst ${destroot}${prefix}/share/doc/${subport}
    }

    livecheck.type      none
}
