[88610] trunk/dports/python
stromnov at macports.org
stromnov at macports.org
Thu Jan 5 13:23:51 PST 2012
Revision: 88610
http://trac.macports.org/changeset/88610
Author: stromnov at macports.org
Date: 2012-01-05 13:23:50 -0800 (Thu, 05 Jan 2012)
Log Message:
-----------
py2*-mahotas: unify
Modified Paths:
--------------
trunk/dports/python/py-mahotas/Portfile
Added Paths:
-----------
trunk/dports/python/py-mahotas/
Removed Paths:
-------------
trunk/dports/python/py26-mahotas/
Modified: trunk/dports/python/py-mahotas/Portfile
===================================================================
--- trunk/dports/python/py26-mahotas/Portfile 2012-01-05 19:42:17 UTC (rev 88599)
+++ trunk/dports/python/py-mahotas/Portfile 2012-01-05 21:23:50 UTC (rev 88610)
@@ -2,11 +2,13 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-mahotas
+name py-mahotas
version 0.6.5
+revision 0
categories python
+license GPL
platforms darwin
maintainers stromnov openmaintainer
@@ -23,14 +25,19 @@
sha1 beb76461d2ac43b6519dc254144fab757a69792a \
rmd160 f4d16db8ef137fd36dc5f881ee8a88afe40e60bd
-patchfiles patch-_filters.cpp.diff
+python.default_version 27
+python.versions 26 27
-depends_build port:py26-distribute
+if {$subport != $name} {
+ patchfiles patch-_filters.cpp.diff
-depends_lib-append port:py26-numpy \
- port:py26-scipy \
- port:freeimage
+ depends_build-append port:py${python.version}-distribute
+ depends_lib-append port:py${python.version}-numpy \
+ port:py${python.version}-scipy \
+ port:freeimage
+}
+
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex "mahotas-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120105/ba8a875e/attachment.html>
More information about the macports-changes
mailing list