source: trunk/dports/python/py-astropy/Portfile @ 105488

Last change on this file since 105488 was 105488, checked in by aronnax@…, 6 years ago

py-astropy: use external dependencies and drop redundant python.default_version; closes #38708

Maintainer timeout.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 105488 2013-04-22 18:08:14Z aronnax@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6name                py-astropy
7version             0.2.1
8revision            1
9maintainers         robitaille
10
11categories-append   science
12description         A Community Python Library for Astronomy
13long_description    The Astropy project is a common effort to develop \
14                    a single core package for Astronomy.
15                   
16platforms           darwin
17license             BSD
18
19homepage            http://www.astropy.org
20master_sites        http://pypi.python.org/packages/source/a/astropy/
21distname            astropy-${version}
22checksums           md5     10e08dbda909031961f3efab23292556 \
23                    sha1    9f98057beec7c4f82daa5cb8a72c30625fd39ff2 \
24                    rmd160  7131ec7ecc6d1f6d5d56069bcae6933d8b770fd5
25
26python.versions     26 27 31 32 33
27
28build.args-append   --use-system-cfitsio \
29                    --use-system-expat \
30                    --use-system-wcslib
31
32if {$subport != $name} {
33
34    depends_lib-append  port:cfitsio \
35                        port:expat \
36                        port:wcslib \
37                        port:py${python.version}-numpy
38
39    pre-build {
40        file rename ${worksrcpath}/scripts/fitscheck \
41                    ${worksrcpath}/scripts/fitscheck-ap
42        file rename ${worksrcpath}/scripts/fitsdiff \
43                    ${worksrcpath}/scripts/fitsdiff-ap
44        file rename ${worksrcpath}/scripts/volint \
45                    ${worksrcpath}/scripts/volint-ap
46    }
47
48}
Note: See TracBrowser for help on using the repository browser.