[92868] trunk/dports/python/py-pyttsx/Portfile

jmr at macports.org jmr at macports.org
Wed May 9 00:35:09 PDT 2012


Revision: 92868
          https://trac.macports.org/changeset/92868
Author:   jmr at macports.org
Date:     2012-05-09 00:35:09 -0700 (Wed, 09 May 2012)
Log Message:
-----------
py-pyttsx: add distribute dep

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

Modified: trunk/dports/python/py-pyttsx/Portfile
===================================================================
--- trunk/dports/python/py-pyttsx/Portfile	2012-05-09 07:31:13 UTC (rev 92867)
+++ trunk/dports/python/py-pyttsx/Portfile	2012-05-09 07:35:09 UTC (rev 92868)
@@ -18,11 +18,14 @@
 
 homepage        https://github.com/parente/pyttsx
 
-fetch.type      git
-git.url         https://github.com/parente/pyttsx.git
-git.branch      3d13e83b76e9d43d1e86afde8953fcabebb96c01
-
-livecheck.type  regex
-livecheck.url   https://raw.github.com/parente/pyttsx/master/setup.py
-livecheck.regex   {version='(\d+(?:\.\d+)*)'}
-
+if {$subport != $name} {
+    depends_build   port:py${python.version}-distribute
+    fetch.type      git
+    git.url         https://github.com/parente/pyttsx.git
+    git.branch      3d13e83b76e9d43d1e86afde8953fcabebb96c01
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   https://raw.github.com/parente/pyttsx/master/setup.py
+    livecheck.regex   {version='(\d+(?:\.\d+)*)'}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120509/d30db580/attachment.html>


More information about the macports-changes mailing list