* [gentoo-commits] gentoo-x86 commit in dev-python/pycxx/files: pycxx-6.2.3-installation.patch
@ 2011-03-09 13:56 Arfrever Frehtes Taifersar Arahesis (arfrever)
0 siblings, 0 replies; only message in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2011-03-09 13:56 UTC (permalink / raw
To: gentoo-commits
arfrever 11/03/09 13:56:41
Modified: pycxx-6.2.3-installation.patch
Log:
Install all required files (bug #358027).
(Portage version: 2.2.0_alpha26_p10/cvs/Linux x86_64)
Revision Changes Path
1.2 dev-python/pycxx/files/pycxx-6.2.3-installation.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/files/pycxx-6.2.3-installation.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/files/pycxx-6.2.3-installation.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/files/pycxx-6.2.3-installation.patch?r1=1.1&r2=1.2
Index: pycxx-6.2.3-installation.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pycxx/files/pycxx-6.2.3-installation.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pycxx-6.2.3-installation.patch 9 Mar 2011 13:11:43 -0000 1.1
+++ pycxx-6.2.3-installation.patch 9 Mar 2011 13:56:40 -0000 1.2
@@ -1,6 +1,6 @@
--- setup.py
+++ setup.py
-@@ -3,10 +3,12 @@
+@@ -3,10 +3,18 @@
from distutils.command.install import install
from distutils.core import setup
@@ -9,11 +9,17 @@
-sources = (glob( os.path.join( "Src", "*.cxx" ) )
- +glob( os.path.join( "Src", "*.c" ) ))
+headers = (glob( os.path.join( "CXX", "Python%s" % sys.version_info[0], "*.hxx" ) )
-+ +glob( os.path.join( "CXX", "Python%s" % sys.version_info[0], "*.h" ) )
-+ +[os.path.join( "CXX", "Version.hxx" )]
-+ +[os.path.join( "CXX", "WrapPython.h" )])
++ +glob( os.path.join( "CXX", "Python%s" % sys.version_info[0], "*.h" ) ))
++headers += [header for header in
++ glob( os.path.join( "CXX", "*.hxx" ) ) +
++ glob( os.path.join( "CXX", "*.h" ) )
++ if os.path.sep.join((os.path.split(header)[0], "Python%s" % sys.version_info[0], os.path.split(header)[1])) not in headers]
+sources = (glob( os.path.join( "Src", "Python%s" % sys.version_info[0], "*.cxx" ) )
+ +glob( os.path.join( "Src", "Python%s" % sys.version_info[0], "*.c" ) ))
++sources += [source for source in
++ glob( os.path.join( "Src", "*.cxx" ) ) +
++ glob( os.path.join( "Src", "*.c" ) )
++ if os.path.sep.join((os.path.split(source)[0], "Python%s" % sys.version_info[0], os.path.split(source)[1])) not in sources]
class my_install (install):
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-09 13:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-09 13:56 [gentoo-commits] gentoo-x86 commit in dev-python/pycxx/files: pycxx-6.2.3-installation.patch Arfrever Frehtes Taifersar Arahesis (arfrever)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox