# -*- 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
checksums rmd160 9540438956a57d6ab150e9c13d21c4544a44b42d \
sha256 1e10e0f099f54f2c119e70863b10ff64c6b3ad30e9fa47e648023d701d6fb5d1 \
maintainers {robitaille @astrofrog} {ligo.org:duncan.macleod @duncanmmacleod} openmaintainer
categories-append science
description A Community Python Library for Astronomy
long_description The Astropy project is a common effort to develop \
a single core package for Astronomy.
homepage http://www.astropy.org
master_sites pypi:a/astropy/
python.versions 27 34 35 36 37
build.args-append --use-system-cfitsio \
if {${name} ne ${subport}} {
if {${python.version} < 35} {
checksums rmd160 e7e2118a6c8626645cc9c2d0a7a0526153ef00b0 \
sha256 272fef5f61aa8a9f8fb5d46f0a294e07c2e702d8533f082bc91092bfaa7d2808 \
depends_lib-append port:cfitsio \
port:py${python.version}-numpy
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
dist_subdir ${name}/${version}
distname astropy-${version}