Revision: 105488 https://trac.macports.org/changeset/105488 Author: aronnax@macports.org Date: 2013-04-22 11:08:14 -0700 (Mon, 22 Apr 2013) Log Message: ----------- py-astropy: use external dependencies and drop redundant python.default_version; closes #38708 Maintainer timeout. Modified Paths: -------------- trunk/dports/python/py-astropy/Portfile Modified: trunk/dports/python/py-astropy/Portfile =================================================================== --- trunk/dports/python/py-astropy/Portfile 2013-04-22 17:25:04 UTC (rev 105487) +++ trunk/dports/python/py-astropy/Portfile 2013-04-22 18:08:14 UTC (rev 105488) @@ -1,10 +1,11 @@ # -*- 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 -# $Id$ +# $Id: Portfile 104864 2013-04-04 09:58:47Z robitaille@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-astropy version 0.2.1 +revision 1 maintainers robitaille categories-append science @@ -23,11 +24,17 @@ rmd160 7131ec7ecc6d1f6d5d56069bcae6933d8b770fd5 python.versions 26 27 31 32 33 -python.default_version 27 +build.args-append --use-system-cfitsio \ + --use-system-expat \ + --use-system-wcslib + if {$subport != $name} { - depends_lib-append port:py${python.version}-numpy + depends_lib-append port:cfitsio \ + port:expat \ + port:wcslib \ + port:py${python.version}-numpy pre-build { file rename ${worksrcpath}/scripts/fitscheck \