[99000] trunk/dports/python/py-usadel1/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Tue Oct 23 08:33:10 PDT 2012


Revision: 99000
          http://trac.macports.org//changeset/99000
Author:   macsforever2000 at macports.org
Date:     2012-10-23 08:33:10 -0700 (Tue, 23 Oct 2012)
Log Message:
-----------
py-usadel1: Update to version 0.2.4. Add gcc variants. Fix for permissions issues with egg-info files. Update license. Add openmaintainer. Update to modern checksums.

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

Modified: trunk/dports/python/py-usadel1/Portfile
===================================================================
--- trunk/dports/python/py-usadel1/Portfile	2012-10-23 13:02:19 UTC (rev 98999)
+++ trunk/dports/python/py-usadel1/Portfile	2012-10-23 15:33:10 UTC (rev 99000)
@@ -5,12 +5,11 @@
 PortGroup           python 1.0
 
 name                py-usadel1
-version             0.2.3.2
-revision            1
+version             0.2.4
 categories-append   science
 platforms           darwin
-maintainers         macsforever2000
-license             gpl
+maintainers         macsforever2000 openmaintainer
+license             GPL-2
 
 description         Usadel equation solver
 
@@ -23,8 +22,8 @@
 master_sites        ${homepage}_static/
 distname            usadel1-${version}
 
-checksums           sha1    ffde19a5dd8a5977d99b00d88ec40873f9a904d1 \
-                    rmd160  bef6ce3a839866bab5f69b3cc986d92c32765828
+checksums           rmd160  a520258f5171002af6806ddc39672a60362d3082 \
+                    sha256  13a15231627ab2bcb86b4e85540979af1c12adb9265b3b0169c5a848f0761c4d
 
 python.versions        25 26 27
 python.default_version 25
@@ -36,30 +35,43 @@
     
     python.add_archflags no
     
-    depends_lib-append  port:gcc45
-    configure.compiler  macports-gcc-4.5
+    variant gcc45 conflicts gcc46, gcc47, gcc48 description {Use the gcc45 compiler (enables fortran code)} {
+        depends_lib-append  port:gcc45
+        configure.compiler  macports-gcc-4.5
+    }
     
-    # Using variants causes fortran compiler failure.
-    #variant gcc45 conflicts gcc44 description {Use the gcc45 compiler (enables fortran code)} {
-    #    depends_lib-append  port:gcc45
-    #    configure.compiler  macports-gcc-4.5
-    #}
+    variant gcc46 conflicts gcc45, gcc47, gcc48 description {Use the gcc46 compiler (enables fortran code)} {
+        depends_lib-append  port:gcc46
+        configure.compiler  macports-gcc-4.6
+    }
     
-    #variant gcc44 conflicts gcc45 description {Use the gcc44 compiler (enables fortran code)} {
-    #    depends_lib-append  port:gcc44
-    #    configure.compiler  macports-gcc-4.4
-    #}
+    variant gcc47 conflicts gcc45, gcc46, gcc48 description {Use the gcc47 compiler (enables fortran code)} {
+        depends_lib-append  port:gcc47
+        configure.compiler  macports-gcc-4.7
+    }
     
-    #if {![variant_isset gcc44]} {
-    #    default_variants +gcc45
-    #}
+    variant gcc48 conflicts gcc45, gcc46, gcc47 description {Use the gcc48 compiler (enables fortran code)} {
+        depends_lib-append  port:gcc48
+        configure.compiler  macports-gcc-4.8
+    }
     
+    if {![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc48]} {
+        default_variants +gcc45
+    }
+
     build.args          config_fc \
                         --fcompiler=gfortran \
                         --noarch
     
     build.env-append    CC=${configure.cc} \
                         F90=${configure.fc}
+
+    post-destroot {
+        # Fix permissions problems on these files
+        xinstall -m 0644 -W ${worksrcpath}/usadel1.egg-info PKG-INFO SOURCES.txt dependency_links.txt requires.txt top_level.txt \
+            ${destroot}${python.pkgd}/usadel1-${version}-py${python.branch}.egg-info
+    }
+
     livecheck.type  none
 } else {
     livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121023/7b866154/attachment-0001.html>


More information about the macports-changes mailing list