# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        pyvirtobs pyvo 1.1 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball

name                py-vo
categories-append   science
license             BSD
platforms           {darwin any}
supported_archs     noarch
maintainers         {aronnax @lpsinger} openmaintainer
description         Python access to 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.
epoch               1

checksums           rmd160  61ca1beae5f3128fc8737d6778a765936922bb49 \
                    sha256  939e7b1be9425a7e895140c94d958d12a936ffd1d952d713935b6411babdded2 \
                    size    768184

python.versions     39

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

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