[122188] trunk/dports/python/py-astropy/Portfile
robitaille at macports.org
robitaille at macports.org
Wed Jul 16 23:58:22 PDT 2014
Revision: 122188
https://trac.macports.org/changeset/122188
Author: robitaille at macports.org
Date: 2014-07-16 23:58:22 -0700 (Wed, 16 Jul 2014)
Log Message:
-----------
py-astropy: updated to v0.4. Fixes #44354.
Modified Paths:
--------------
trunk/dports/python/py-astropy/Portfile
Modified: trunk/dports/python/py-astropy/Portfile
===================================================================
--- trunk/dports/python/py-astropy/Portfile 2014-07-17 05:46:36 UTC (rev 122187)
+++ trunk/dports/python/py-astropy/Portfile 2014-07-17 06:58:22 UTC (rev 122188)
@@ -4,7 +4,7 @@
PortSystem 1.0
PortGroup python 1.0
name py-astropy
-version 0.3.2
+version 0.4
maintainers robitaille
categories-append science
@@ -18,9 +18,9 @@
homepage http://www.astropy.org
master_sites http://pypi.python.org/packages/source/a/astropy/
distname astropy-${version}
-checksums md5 a9ca553a7622c09221068c8b202c21ef \
- sha1 f928b37e24842d5041ffe39e4c6fb22e74a67362 \
- rmd160 207ff07335bb48279e9b5e8f04e91a46e7e91a37
+checksums md5 edf9cc72ef853cc67657fffeccce0fa2 \
+ sha1 3e7126e1c84fce9fb8df7d90a10b53cb75a48113 \
+ rmd160 e09f53a9c2cc31bdde8a5c9f097d7f97df98ecf2
python.versions 26 27 32 33 34
@@ -39,11 +39,18 @@
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
+
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
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140716/d1dd28d4/attachment.html>
More information about the macports-changes
mailing list