[100524] trunk/dports/python/py-healpy

aronnax at macports.org aronnax at macports.org
Fri Dec 14 12:13:41 PST 2012


Revision: 100524
          https://trac.macports.org/changeset/100524
Author:   aronnax at macports.org
Date:     2012-12-14 12:13:41 -0800 (Fri, 14 Dec 2012)
Log Message:
-----------
py-healpy: update to version 1.4.1

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

Removed Paths:
-------------
    trunk/dports/python/py-healpy/files/

Modified: trunk/dports/python/py-healpy/Portfile
===================================================================
--- trunk/dports/python/py-healpy/Portfile	2012-12-14 20:13:14 UTC (rev 100523)
+++ trunk/dports/python/py-healpy/Portfile	2012-12-14 20:13:41 UTC (rev 100524)
@@ -2,50 +2,41 @@
 # $Id$
 
 PortSystem              1.0
+PortGroup               github 1.0
 PortGroup               python 1.0
 
+github.setup            healpy healpy 1.4.1
 name                    py-healpy
-version                 0.10.2
 categories              python science
+license                 GPL-2
 platforms               darwin
 maintainers             aronnax
 description             Python wrapper for healpix
 long_description        Python wrapper for healpix
 
-homepage                http://code.google.com/p/healpy/
-master_sites            googlecode:healpy
-distname                healpy-${version}
-checksums               md5     c9561c318af1dedb6859de1436e98719 \
-                        sha1    56006d7f38a6ce5d90f84a894d3721c7c574b1c5 \
-                        rmd160  aa703d90fb23926469691773366e4628036e2068
+checksums               md5     2417bdcadf9602be2c73422035dd6e73 \
+                        sha1    4069ab2d2024f496258419a01d5c34d9a8d6ba36 \
+                        rmd160  e9c1e267fabf65f1b22331a1dd63393241d4738f
 
 python.versions         25 26 27
 python.default_version  27
 
 if {${subport} != ${name}} {
 
-patchfiles              patch-setup.py.diff
+# Blacklist the following compilers that do not support OpenMP.
+compiler.blacklist      clang
 
-# Find a compiler that supports OpenMP
-if {${configure.compiler} == "clang"} {
-   configure.compiler llvm-gcc-4.2
-}
-
-if {${configure.compiler} == "gcc-4.0"} {
-   configure.compiler gcc-4.2
-   if {![file executable ${configure.cc}]} {
-       depends_build-append port:apple-gcc42
-       configure.compiler apple-gcc-4.2
-   }
-}
-
-build.env-append        CFITSIO_EXT_PREFIX=${prefix} \
+# FIXME: remove HEALPY_WITH_OPENMP in next release; see
+# https://github.com/healpy/healpy/pull/73
+build.env-append        HEALPIX_EXT_PREFIX=${prefix} \
+                        HEALPY_WITH_OPENMP=1 \
+                        CFITSIO_EXT_PREFIX=${prefix} \
                         CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} \
                         LDSHARED="${configure.cc} -L${prefix}/lib -bundle -undefined dynamic_lookup"
 
 depends_lib-append      port:py${python.version}-numpy \
                         port:py${python.version}-pyfits \
                         port:py${python.version}-matplotlib \
-                        port:healpix
+                        port:healpix-cxx
 
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121214/14caa5ad/attachment.html>


More information about the macports-changes mailing list