# -*- 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-pyvo
version             1.6.2
revision            0

supported_archs     noarch
platforms           {darwin any}
license             BSD
maintainers         {mps @Schamschula} openmaintainer

description         Astropy affiliated package for accessing Virtual Observatory data and services
long_description    {*}${description}

homepage            https://github.com/astropy/pyvo

checksums           rmd160  545b44b8c369cf42967cc60a131ade107cc292cb \
                    sha256  ea9e80f2a30c39be5564bf46545f7db0af7c6ef5fd1da2836eb435a5007f7802 \
                    size    1022707

python.versions     39 310 311 312

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

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

    patchfiles      patch-pyproject.toml.diff
}
