# -*- 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-vo
python.rootname     pyvo
version             1.8
revision            0
epoch               1

categories-append   science
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         {aronnax @lpsinger} openmaintainer

description         Astropy affiliated package for accessing Virtual \
                    Observatory data and services
long_description    PyVO is a package providing access to remote data and \
                    services of the Virtual observatory (VO) using Python.

checksums           rmd160  ae81f1389bf2e6b29d28211c301f748d8bfb0ed8 \
                    sha256  66f4889fd8e39dddf46fe498615d36156d494f6a2bec53886baf1c2c54322861 \
                    size    2116488

python.versions     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
}
