# -*- 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.7
revision            0
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

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  e10d7507bb9b700dcb15e0f315180361d2940339 \
                    sha256  a6fad9efd410732d113e55df43b0201c9acb2e29f27532c71bda56f38ce62320 \
                    size    2095584

python.versions     39 310 311 312 313

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}-defusedxml \
                    port:py${python.version}-pillow \
                    port:py${python.version}-requests

    patchfiles      patch-pyproject.toml.diff
}
