# -*- 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.9.1
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  a48f832639a9b973525bd8683fc82c15eac70e7c \
                    sha256  2f26c99af7c32f3c34b919e2d14eaf1a95914176d693fb7769773f3ab0b7999d \
                    size    2167800

python.versions     310 311 312 313 314

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
}
