# -*- 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-pooch
version             1.3.0
revision            0
platforms           darwin
license             BSD
maintainers         {mps @Schamschula} openmaintainer

description         Pooch manages your Python library's sample data files it \
                    automatically downloads and stores them in a local directory with \
                    support for versioning and corruption checks.
long_description    ${description}

homepage            https://github.com/fatiando/pooch

checksums           rmd160  6023ed7efc7a653147abf036f588fd10300c2e38 \
                    sha256  30d448e825904e2d763bbbe418831a788813c32f636b21c8d60ee5f474532898 \
                    size    69952

python.versions     37 38 39

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

    depends_lib     port:py${python.version}-appdirs \
                    port:py${python.version}-requests \
                    port:py${python.version}-packaging
}
