[132578] trunk/dports/python/py-nio/Portfile
petr at macports.org
petr at macports.org
Wed Feb 4 20:20:27 PST 2015
Revision: 132578
https://trac.macports.org/changeset/132578
Author: petr at macports.org
Date: 2015-02-04 20:20:27 -0800 (Wed, 04 Feb 2015)
Log Message:
-----------
py-nio: add py27 subport, correct lib dependencies, minor corrections
Modified Paths:
--------------
trunk/dports/python/py-nio/Portfile
Modified: trunk/dports/python/py-nio/Portfile
===================================================================
--- trunk/dports/python/py-nio/Portfile 2015-02-05 04:08:06 UTC (rev 132577)
+++ trunk/dports/python/py-nio/Portfile 2015-02-05 04:20:27 UTC (rev 132578)
@@ -12,7 +12,7 @@
license PyNIO
maintainers petr openmaintainer
-description Python I/O library for scientific data formats
+description Python I/O library for scientific data formats
long_description \
PyNIO is a Python package that allows read and/or write access to \
a variety of data formats using an interface modeled on netCDF. \
@@ -36,14 +36,16 @@
}
}
-python.versions 26
+python.versions 26 27
if {${name} ne ${subport}} {
- depends_lib-append port:ncarg \
- port:szip \
+ depends_lib-append port:szip port:zlib \
+ port:jpeg port:jasper port:libpng \
+ port:hdf4 port:hdfeos port:hdf5 port:netcdf \
+ port:ncarg \
port:py${python.version}-numpy
- # ncarg is not universal (and thus py26-nio is not universal)
+ # ncarg is not universal, thus py-nio is neither
universal_variant no
patch {
@@ -81,7 +83,7 @@
append g95_conflicts " conflicts gcc${ver_no_dot}"
if {[variant_isset gcc${ver_no_dot}]} {
- if {${default_fortran_variant} != "+gcc${ver_no_dot}"} {
+ if {${default_fortran_variant} ne "+gcc${ver_no_dot}"} {
set default_fortran_variant ""
}
}
@@ -90,12 +92,12 @@
eval [concat {variant g95 description {build with g95}} $g95_conflicts {{}}]
if {[variant_isset g95]} {
- if {${default_fortran_variant} != "+g95"} {
+ if {${default_fortran_variant} ne "+g95"} {
set default_fortran_variant ""
}
}
- if {${default_fortran_variant} != ""} {
+ if {${default_fortran_variant} ne ""} {
default_variants-append "${default_fortran_variant}"
}
@@ -134,6 +136,6 @@
livecheck.type none
} else {
livecheck.type regex
- livecheck.url ${master_sites}
+ livecheck.url http://www.pyngl.ucar.edu/Download/
livecheck.regex {of PyNIO is ([0-9]\.[0-9]\.[0-9]+)}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150204/302e77a0/attachment.html>
More information about the macports-changes
mailing list