Files
2025-10-23 21:49:45 -04:00

46 lines
1.7 KiB
Tcl

# -*- 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
PortGroup github 1.0
github.setup astropy astroquery 0.4.6 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name py-${name}
revision 0
maintainers {aronnax @lpsinger} openmaintainer
categories-append science
description Accessing Online Astronomical Data
long_description Astroquery is an astropy affiliated package that contains \
a collection of tools to access online Astronomical data. \
Each web service has its own sub-package.
supported_archs noarch
platforms {darwin any}
license BSD
homepage https://astroquery.readthedocs.io/
checksums rmd160 f5646aa21b8094885b6e8ab0899f960da3487c79 \
sha256 9c9bbb1173fbd88d82be657be88f784bba6ee2718f749555ddbe33814b753730 \
size 7883378
python.versions 310 311
if {${name} ne ${subport}} {
python.pep517 yes
depends_lib-append port:py${python.version}-astropy \
port:py${python.version}-beautifulsoup4 \
port:py${python.version}-html5lib \
port:py${python.version}-keyring \
port:py${python.version}-numpy \
port:py${python.version}-pyvo \
port:py${python.version}-requests
post-patch {
reinplace -W ${worksrcpath} "s/auto_use = True/auto_use = False/" setup.cfg
}
}