[103607] trunk/dports/python/py-netcdf4/Portfile

larryv at macports.org larryv at macports.org
Sat Mar 2 19:04:37 PST 2013


Revision: 103607
          https://trac.macports.org/changeset/103607
Author:   larryv at macports.org
Date:     2013-03-02 19:04:37 -0800 (Sat, 02 Mar 2013)
Log Message:
-----------
py*-netcdf4: Tweak whitespace and formatting.

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

Modified: trunk/dports/python/py-netcdf4/Portfile
===================================================================
--- trunk/dports/python/py-netcdf4/Portfile	2013-03-03 01:06:34 UTC (rev 103606)
+++ trunk/dports/python/py-netcdf4/Portfile	2013-03-03 03:04:37 UTC (rev 103607)
@@ -10,26 +10,28 @@
 platforms           darwin
 maintainers         nomaintainer
 license             MIT
+
 description         Python interface to the netCDF version 4 library.
 long_description    ${description}
 homepage            http://code.google.com/p/netcdf4-python/
+
 master_sites        googlecode:netcdf4-python
-
 distname            netCDF4-${version}
 
 checksums           sha1   fd80d9445824cd8ad9b0f7bbff8fb5146bf4b2f5 \
                     rmd160   ef7cb2164c752cac3b6cb150339e4883407d350d \
                     sha256   57f8d598521cc5bce90ad70a4df5dcf4947e8ab0252e6803e272547d7910e97b
 
-python.default_version  27
-python.versions         26 27
+worksrcdir          netCDF4-1.0
 
 build.env-append    USE_NCCONFIG=1
 destroot.env        USE_NCCONFIG=1
-worksrcdir          netCDF4-1.0
 
-if {$subport != $name} {
-    depends_lib-append  port:netcdf port:py${python.version}-numpy
+python.versions         26 27
+
+if {${subport} != ${name}} {
+    depends_lib-append  port:netcdf \
+                        port:py${python.version}-numpy
 }
 
 livecheck.type      googlecode
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130302/cb9aa0a1/attachment.html>


More information about the macports-changes mailing list