[127146] trunk/dports/python

larryv at macports.org larryv at macports.org
Tue Oct 21 17:48:19 PDT 2014


Revision: 127146
          https://trac.macports.org/changeset/127146
Author:   larryv at macports.org
Date:     2014-10-21 17:48:19 -0700 (Tue, 21 Oct 2014)
Log Message:
-----------
py{24,25}-dot: Correctly replace with py27-pydot

Modified Paths:
--------------
    trunk/dports/python/py-dot/Portfile
    trunk/dports/python/py-graveyard/Portfile

Modified: trunk/dports/python/py-dot/Portfile
===================================================================
--- trunk/dports/python/py-dot/Portfile	2014-10-21 23:46:09 UTC (rev 127145)
+++ trunk/dports/python/py-dot/Portfile	2014-10-22 00:48:19 UTC (rev 127146)
@@ -4,9 +4,9 @@
 PortGroup python 1.0
 
 name			py-dot
-python.versions         26 27
+python.versions	24 25 26 27
 version			1.0.28
-revision		1
+revision		2
 categories-append	graphics
 platforms		darwin
 maintainers		nomaintainer
@@ -19,10 +19,11 @@
 
 homepage		http://code.google.com/p/pydot/
 distfiles
-if {${name} ne ${subport}} {
-    replaced_by py${python.version}-pydot
-} else {
-    replaced_by py-pydot
+depends_lib
+switch -glob ${subport} {
+    py26-dot	{replaced_by py26-pydot}
+    py2?-dot	{replaced_by py27-pydot}
+    default		{replaced_by py-pydot}
 }
 
 pre-fetch {

Modified: trunk/dports/python/py-graveyard/Portfile
===================================================================
--- trunk/dports/python/py-graveyard/Portfile	2014-10-21 23:46:09 UTC (rev 127145)
+++ trunk/dports/python/py-graveyard/Portfile	2014-10-22 00:48:19 UTC (rev 127146)
@@ -54,7 +54,6 @@
 distutils-extra     1.91.2_1    25 26
 django              1.5.1_1     32
 django-nose         1.2         25 32
-dot                 1.0.28_1    24 25
 dsv                 1.4.0_2     24
 enum                0.4.4_1     24 25 26
 epc                 0.0.5_1     26 32 33
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141021/cf1c20d9/attachment-0001.html>


More information about the macports-changes mailing list