[34565] trunk/dports/python/py-sip
brett at macports.org
brett at macports.org
Thu Feb 28 06:33:08 PST 2008
Revision: 34565
http://trac.macosforge.org/projects/macports/changeset/34565
Author: brett at macports.org
Date: 2008-02-28 06:33:08 -0800 (Thu, 28 Feb 2008)
Log Message:
-----------
update patch naming convention per current lint prefs
Modified Paths:
--------------
trunk/dports/python/py-sip/Portfile
Added Paths:
-----------
trunk/dports/python/py-sip/files/patch-siputils.py.diff
Removed Paths:
-------------
trunk/dports/python/py-sip/files/patch-siputils.py
Modified: trunk/dports/python/py-sip/Portfile
===================================================================
--- trunk/dports/python/py-sip/Portfile 2008-02-28 14:32:54 UTC (rev 34564)
+++ trunk/dports/python/py-sip/Portfile 2008-02-28 14:33:08 UTC (rev 34565)
@@ -28,7 +28,7 @@
depends_lib port:python24
-patchfiles patch-siputils.py
+patchfiles patch-siputils.py.diff
configure.cmd ${prefix}/bin/python2.4 configure.py
configure.pre_args -d ${prefix}/lib/python2.4/site-packages \
Deleted: trunk/dports/python/py-sip/files/patch-siputils.py
===================================================================
--- trunk/dports/python/py-sip/files/patch-siputils.py 2008-02-28 14:32:54 UTC (rev 34564)
+++ trunk/dports/python/py-sip/files/patch-siputils.py 2008-02-28 14:33:08 UTC (rev 34565)
@@ -1,19 +0,0 @@
---- siputils.py.org.py 2006-11-04 14:09:43.000000000 -0800
-+++ siputils.py 2006-11-06 20:23:11.000000000 -0800
-@@ -1302,11 +1302,11 @@
- # This allows Apple's Python to be used even if a later python.org
- # version is also installed.
- dl = string.split(sys.exec_prefix, os.sep)
-- try:
-- dl = dl[:dl.index("Python.framework")]
-- except ValueError:
-- error("SIP requires Python to be built as a framework")
-- self.LFLAGS.append("-F%s" % string.join(dl, os.sep))
-+ # try:
-+ # dl = dl[:dl.index("Python.framework")]
-+ # except ValueError:
-+ # error("SIP requires Python to be built as a framework")
-+ # self.LFLAGS.append("-F%s" % string.join(dl, os.sep))
- self.LFLAGS.append("-framework Python")
-
- Makefile.finalise(self)
Copied: trunk/dports/python/py-sip/files/patch-siputils.py.diff (from rev 34564, trunk/dports/python/py-sip/files/patch-siputils.py)
===================================================================
--- trunk/dports/python/py-sip/files/patch-siputils.py.diff (rev 0)
+++ trunk/dports/python/py-sip/files/patch-siputils.py.diff 2008-02-28 14:33:08 UTC (rev 34565)
@@ -0,0 +1,19 @@
+--- siputils.py.org.py 2006-11-04 14:09:43.000000000 -0800
++++ siputils.py 2006-11-06 20:23:11.000000000 -0800
+@@ -1302,11 +1302,11 @@
+ # This allows Apple's Python to be used even if a later python.org
+ # version is also installed.
+ dl = string.split(sys.exec_prefix, os.sep)
+- try:
+- dl = dl[:dl.index("Python.framework")]
+- except ValueError:
+- error("SIP requires Python to be built as a framework")
+- self.LFLAGS.append("-F%s" % string.join(dl, os.sep))
++ # try:
++ # dl = dl[:dl.index("Python.framework")]
++ # except ValueError:
++ # error("SIP requires Python to be built as a framework")
++ # self.LFLAGS.append("-F%s" % string.join(dl, os.sep))
+ self.LFLAGS.append("-framework Python")
+
+ Makefile.finalise(self)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080228/a08b3e37/attachment.html
More information about the macports-changes
mailing list