[54988] trunk/dports/python/py26-scikits-ann/Portfile

mnick at macports.org mnick at macports.org
Wed Aug 5 10:08:11 PDT 2009


Revision: 54988
          http://trac.macports.org/changeset/54988
Author:   mnick at macports.org
Date:     2009-08-05 10:08:08 -0700 (Wed, 05 Aug 2009)
Log Message:
-----------
check if scikits/__init__.py is already present

Modified Paths:
--------------
    trunk/dports/python/py26-scikits-ann/Portfile

Modified: trunk/dports/python/py26-scikits-ann/Portfile
===================================================================
--- trunk/dports/python/py26-scikits-ann/Portfile	2009-08-05 16:53:24 UTC (rev 54987)
+++ trunk/dports/python/py26-scikits-ann/Portfile	2009-08-05 17:08:08 UTC (rev 54988)
@@ -34,3 +34,11 @@
 livecheck.check 	regex
 livecheck.url 		${homepage}
 livecheck.regex 	<i>version (\[\.\\d\]+\\d)
+
+post-destroot {
+	# Every scikit installs identical scikits/__init__.py. To avoid conflicts
+	# install only if not already present
+    if {[file exists ${python.pkgd}/scikits/__init__.py]} {
+		file delete ${destroot}${python.pkgd}/scikits/__init__.py
+	}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090805/72dc484e/attachment.html>


More information about the macports-changes mailing list