[133078] trunk/dports/python/py-astropy/Portfile
robitaille at macports.org
robitaille at macports.org
Thu Feb 19 15:07:22 PST 2015
Revision: 133078
https://trac.macports.org/changeset/133078
Author: robitaille at macports.org
Date: 2015-02-19 15:07:22 -0800 (Thu, 19 Feb 2015)
Log Message:
-----------
py-astropy: updated to 1.0
Modified Paths:
--------------
trunk/dports/python/py-astropy/Portfile
Modified: trunk/dports/python/py-astropy/Portfile
===================================================================
--- trunk/dports/python/py-astropy/Portfile 2015-02-19 22:59:56 UTC (rev 133077)
+++ trunk/dports/python/py-astropy/Portfile 2015-02-19 23:07:22 UTC (rev 133078)
@@ -4,10 +4,10 @@
PortSystem 1.0
PortGroup python 1.0
name py-astropy
-version 0.4.4
+version 1.0
maintainers robitaille
-dist_subdir ${name}/${version}_3
+dist_subdir ${name}/${version}
categories-append science
description A Community Python Library for Astronomy
@@ -20,21 +20,23 @@
homepage http://www.astropy.org
master_sites http://pypi.python.org/packages/source/a/astropy/
distname astropy-${version}
-checksums md5 68da956109c5968aaa8fdab8256049ba \
- sha1 1e98e8d21c3c58796c70f7a9f5e0a02444dd7fed \
- rmd160 d0f525b96a5cb6581c8d62c399635b6ace19bc37
+checksums md5 1f15b51eb7cbad3345a34770c87ef906 \
+ sha1 731a36d512c19e014b17e12b2289406ca019bfee \
+ rmd160 56a822afb14a90fcd4efc700daf6a3d68070a1b4
python.versions 26 27 33 34
build.args-append --use-system-cfitsio \
--use-system-expat \
- --use-system-wcslib
+ --use-system-wcslib \
+ --use-system-erfa
if {${name} ne ${subport}} {
depends_lib-append port:cfitsio \
port:expat \
port:wcslib \
+ port:erfa \
port:py${python.version}-numpy
depends_build-append \
@@ -46,15 +48,21 @@
build.cmd ${python.bin} setup.py --no-user-cfg --offline --no-git
destroot.cmd ${python.bin} setup.py --no-user-cfg --offline --no-git
- pre-build {
- file rename ${worksrcpath}/scripts/fitscheck \
- ${worksrcpath}/scripts/fitscheck-ap
- file rename ${worksrcpath}/scripts/fitsdiff \
- ${worksrcpath}/scripts/fitsdiff-ap
- file rename ${worksrcpath}/scripts/fitsheader \
- ${worksrcpath}/scripts/fitsheader-ap
- file rename ${worksrcpath}/scripts/volint \
- ${worksrcpath}/scripts/volint-ap
+ post-destroot {
+ file rename ${destroot}${prefix}/bin/fitscheck-${python.branch} \
+ ${destroot}${prefix}/bin/fitscheck-ap-${python.branch}
+ file rename ${destroot}${prefix}/bin/fitsdiff-${python.branch} \
+ ${destroot}${prefix}/bin/fitsdiff-ap-${python.branch}
+ file rename ${destroot}${prefix}/bin/fitsheader-${python.branch} \
+ ${destroot}${prefix}/bin/fitsheader-ap-${python.branch}
+ file rename ${destroot}${prefix}/bin/volint-${python.branch} \
+ ${destroot}${prefix}/bin/volint-ap-${python.branch}
+ file rename ${destroot}${prefix}/bin/fits2bitmap-${python.branch} \
+ ${destroot}${prefix}/bin/fits2bitmap-ap-${python.branch}
+ file rename ${destroot}${prefix}/bin/samp_hub-${python.branch} \
+ ${destroot}${prefix}/bin/samp_hub-ap-${python.branch}
+ file rename ${destroot}${prefix}/bin/wcslint-${python.branch} \
+ ${destroot}${prefix}/bin/wcslint-ap-${python.branch}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150219/6caa8e76/attachment.html>
More information about the macports-changes
mailing list