Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (46 sloc) 2.15 KB
# -*- 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-astropy
version 3.1
revision 0
checksums rmd160 9540438956a57d6ab150e9c13d21c4544a44b42d \
sha256 1e10e0f099f54f2c119e70863b10ff64c6b3ad30e9fa47e648023d701d6fb5d1 \
size 8204843
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.
platforms darwin
license BSD
homepage http://www.astropy.org
master_sites pypi:a/astropy/
python.versions 27 34 35 36 37
build.args-append --use-system-cfitsio \
--use-system-expat \
--use-system-wcslib \
--use-system-erfa
if {${name} ne ${subport}} {
if {${python.version} < 35} {
version 2.0.10
revision 0
checksums rmd160 e7e2118a6c8626645cc9c2d0a7a0526153ef00b0 \
sha256 272fef5f61aa8a9f8fb5d46f0a294e07c2e702d8533f082bc91092bfaa7d2808 \
size 8342349
}
depends_lib-append port:cfitsio \
port:expat \
port:wcslib \
port:erfa \
port:py${python.version}-numpy
depends_build-append \
port:pkgconfig \
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}
You can’t perform that action at this time.