You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
50 lines
2.0 KiB
Tcl
50 lines
2.0 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 v
|
|
name py-${name}
|
|
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.
|
|
platforms darwin
|
|
supported_archs noarch
|
|
license BSD
|
|
|
|
homepage https://astroquery.readthedocs.io/
|
|
checksums rmd160 c40d69a62233356f4212f0366818066769f29bc8 \
|
|
sha256 2e266102d5de1ee48cd8926cc89b291ff40bbb450ce21aa04e14784a80549584 \
|
|
size 6241912
|
|
|
|
python.versions 27 35 36 37 38
|
|
|
|
if {${name} ne ${subport}} {
|
|
|
|
depends_lib-append port:py${python.version}-astropy \
|
|
port:py${python.version}-requests \
|
|
port:py${python.version}-keyring \
|
|
port:py${python.version}-beautifulsoup4 \
|
|
port:py${python.version}-html5lib \
|
|
port:py${python.version}-six
|
|
|
|
depends_build-append \
|
|
port:py${python.version}-astropy-helpers \
|
|
port:py${python.version}-setuptools
|
|
|
|
# By default, astropy downloads an astropy-helpers package for setup.py.
|
|
# The --offline and --no-git flags prevent this and use a bundled version.
|
|
build.cmd ${python.bin} setup.py --no-user-cfg --offline --no-git
|
|
destroot.cmd ${python.bin} setup.py --no-user-cfg --offline --no-git
|
|
|
|
post-patch {
|
|
reinplace -W ${worksrcpath} "s/auto_use = True/auto_use = False/" setup.cfg
|
|
}
|
|
|
|
livecheck.type none
|
|
}
|