[87334] trunk/dports/python/py-matplotlib-basemap/Portfile
jmr at macports.org
jmr at macports.org
Thu Nov 17 00:29:53 PST 2011
Revision: 87334
http://trac.macports.org/changeset/87334
Author: jmr at macports.org
Date: 2011-11-17 00:29:53 -0800 (Thu, 17 Nov 2011)
Log Message:
-----------
py-matplotlib-basemap: fix stub deps, and remove special case for py24 since all py deps are now unified
Modified Paths:
--------------
trunk/dports/python/py-matplotlib-basemap/Portfile
Modified: trunk/dports/python/py-matplotlib-basemap/Portfile
===================================================================
--- trunk/dports/python/py-matplotlib-basemap/Portfile 2011-11-17 08:27:04 UTC (rev 87333)
+++ trunk/dports/python/py-matplotlib-basemap/Portfile 2011-11-17 08:29:53 UTC (rev 87334)
@@ -25,24 +25,16 @@
python.versions 24 25 26 27
-depends_lib-append port:geos
-
-if {${subport} == "py24-matplotlib-basemap"} {
- depends_lib-append port:py24-matplotlib \
- port:py-httplib2 \
- port:py-dap
-} elseif {${subport} != ${name}} {
- depends_lib-append port:py${python.version}-matplotlib \
- port:py${python.version}-httplib2 \
- port:py${python.version}-dap
-}
-
build.env-append GEOS_DIR="${prefix}"
destroot.env-append GEOS_DIR="${prefix}"
universal_variant no
if {${name} != ${subport}} {
+ depends_lib-append port:geos \
+ port:py${python.version}-matplotlib \
+ port:py${python.version}-httplib2 \
+ port:py${python.version}-dap
post-destroot {
delete ${destroot}${python.pkgd}/mpl_toolkits/__init__.py
delete ${destroot}${python.pkgd}/mpl_toolkits/__init__.pyc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111117/132383e0/attachment.html>
More information about the macports-changes
mailing list