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

ryandesign at macports.org ryandesign at macports.org
Sat Jan 14 14:42:55 PST 2012


Revision: 88895
          http://trac.macports.org/changeset/88895
Author:   ryandesign at macports.org
Date:     2012-01-14 14:42:54 -0800 (Sat, 14 Jan 2012)
Log Message:
-----------
py-docx: fix stub port by adding dependencies only in sub port; also append to, do not overwrite, dependencies

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

Modified: trunk/dports/python/py-docx/Portfile
===================================================================
--- trunk/dports/python/py-docx/Portfile	2012-01-14 22:36:50 UTC (rev 88894)
+++ trunk/dports/python/py-docx/Portfile	2012-01-14 22:42:54 UTC (rev 88895)
@@ -28,4 +28,6 @@
 livecheck.url   https://raw.github.com/mikemaccana/python-docx/master/setup.py
 livecheck.regex   {version='(\d+(?:\.\d+)*)'}
 
-depends_lib     port:py${python.version}-lxml
+if {${name} != ${subport}} {
+    depends_lib-append  port:py${python.version}-lxml
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120114/287cedd4/attachment.html>


More information about the macports-changes mailing list