[121540] trunk/dports/python/py-pyfits/Portfile

aronnax at macports.org aronnax at macports.org
Sat Jun 28 19:39:35 PDT 2014


Revision: 121540
          https://trac.macports.org/changeset/121540
Author:   aronnax at macports.org
Date:     2014-06-28 19:39:35 -0700 (Sat, 28 Jun 2014)
Log Message:
-----------
py-pyfits: update to 3.2.4, build against external cfitsio

Modified Paths:
--------------
    trunk/dports/python/py-pyfits/Portfile

Modified: trunk/dports/python/py-pyfits/Portfile
===================================================================
--- trunk/dports/python/py-pyfits/Portfile	2014-06-28 20:04:49 UTC (rev 121539)
+++ trunk/dports/python/py-pyfits/Portfile	2014-06-29 02:39:35 UTC (rev 121540)
@@ -8,7 +8,7 @@
 set realname        pyfits
 
 name                py-${realname}
-version             3.2.2
+version             3.2.4
 categories-append   science
 license             BSD
 platforms           darwin
@@ -29,12 +29,22 @@
 master_sites        http://pypi.python.org/packages/source/[string index ${realname} 0]/${realname}
 distname            ${realname}-${version}
 
-checksums           md5     77cd05b34116d46a96e21b62cc1bfa1c \
-                    sha1    78ab8cee6cc3d32aa9cad10aff1ded0a96be6aaf \
-                    rmd160  e1da48e56c3410f4eaecbca0b60e262ae7f6cf3e
+checksums           md5     251ef2639e71464a256cf6d71ba5a878 \
+                    sha1    caba6175eee65b81441ff495ffe579fcd0ee7f15 \
+                    rmd160  a672291d381296c8a62792fe5e1c6c4a83b87d3a
 
+# As suggested in README.txt, to build against an external cfitsio package,
+# delete cextern/cfitsio directory and comment out cextern/cfitsio/* lines
+# in setup.cfg.
+patch {
+    delete file ${worksrcpath}/cextern/cfitsio
+    reinplace -E -W ${worksrcpath} {s|(cextern/cfitsio)|#\1|} setup.cfg
+}
+
 if {${name} ne ${subport}} {
-    depends_lib-append  port:py${python.version}-numpy
+    depends_lib-append  port:cfitsio \
+                        port:py${python.version}-numpy \
+                        port:py${python.version}-setuptools
 
     livecheck.type  none
 } else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140628/78a0561c/attachment.html>


More information about the macports-changes mailing list