[128186] trunk/dports/python/py-docx/Portfile

petr at macports.org petr at macports.org
Sat Nov 15 16:37:18 PST 2014


Revision: 128186
          https://trac.macports.org/changeset/128186
Author:   petr at macports.org
Date:     2014-11-15 16:37:18 -0800 (Sat, 15 Nov 2014)
Log Message:
-----------
py-docx: correct livecheck, cleanup

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

Modified: trunk/dports/python/py-docx/Portfile
===================================================================
--- trunk/dports/python/py-docx/Portfile	2014-11-16 00:36:27 UTC (rev 128185)
+++ trunk/dports/python/py-docx/Portfile	2014-11-16 00:37:18 UTC (rev 128186)
@@ -25,12 +25,13 @@
 git.branch          7f0781e7a86ba26d69f5e09850ef7e4fc35d3795
 
 python.versions     26 27
-python.default_version 27
 
 if {${name} ne ${subport}} {
     depends_lib-append  port:py${python.version}-lxml
+
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   https://raw.github.com/mikemaccana/python-docx/master/setup.py
+    livecheck.regex {version='(\d+(?:\.\d+)*)'}
 }
-
-livecheck.type  regex
-livecheck.url   https://raw.github.com/mikemaccana/python-docx/master/setup.py
-livecheck.regex {version='(\d+(?:\.\d+)*)'}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141115/9cebac37/attachment.html>


More information about the macports-changes mailing list