[65679] trunk/dports/python/py26-roman/Portfile
jmr at macports.org
jmr at macports.org
Mon Mar 29 23:53:38 PDT 2010
Revision: 65679
http://trac.macports.org/changeset/65679
Author: jmr at macports.org
Date: 2010-03-29 23:53:38 -0700 (Mon, 29 Mar 2010)
Log Message:
-----------
py26-roman: deactivate conflicting py26-docutils versions (#23520)
Modified Paths:
--------------
trunk/dports/python/py26-roman/Portfile
Modified: trunk/dports/python/py26-roman/Portfile
===================================================================
--- trunk/dports/python/py26-roman/Portfile 2010-03-30 06:43:39 UTC (rev 65678)
+++ trunk/dports/python/py26-roman/Portfile 2010-03-30 06:53:38 UTC (rev 65679)
@@ -21,5 +21,13 @@
depends_lib port:py26-setuptools
+pre-activate {
+ if {[file exists ${python.pkgd}/roman.py]
+ && ![catch {set vers [lindex [registry_active py26-docutils] 0]}]
+ && [rpm-vercomp [lindex $vers 1] 0.6] < 0} {
+ registry_deactivate py26-docutils "" [list ports_nodepcheck 1]
+ }
+}
+
livecheck.type regex
-livecheck.regex {roman-(\d+(?:\.\d+)*)}
\ No newline at end of file
+livecheck.regex {roman-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100329/3b34acf8/attachment.html>
More information about the macports-changes
mailing list