1 |
hawking 07/11/04 08:54:51 |
2 |
|
3 |
Added: pyrex-0.9.6.3-setup_py.patch digest-pyrex-0.9.6.3 |
4 |
pyrex-0.9.6.3-setuptools-workaround.patch |
5 |
Removed: digest-pyrex-0.9.6 |
6 |
Log: |
7 |
Version bump. Fix setuptools issues, thanks to Rene 'Necoro' Neumann, bug 195992 |
8 |
(Portage version: 2.1.3.16) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 dev-python/pyrex/files/pyrex-0.9.6.3-setup_py.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyrex/files/pyrex-0.9.6.3-setup_py.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyrex/files/pyrex-0.9.6.3-setup_py.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: pyrex-0.9.6.3-setup_py.patch |
17 |
=================================================================== |
18 |
--- setup.py.orig 2007-10-12 01:32:44.000000000 +0300 |
19 |
+++ setup.py 2007-11-04 10:29:28.000000000 +0200 |
20 |
@@ -2,11 +2,12 @@ |
21 |
# Pyrex setup file |
22 |
# |
23 |
|
24 |
+import distutils |
25 |
from distutils.core import setup |
26 |
from distutils.sysconfig import get_python_lib |
27 |
import os, sys |
28 |
#from Pyrex.Compiler.Version import version |
29 |
-execfile(distutils.util.convert_path('Pyrex/Compiler/Version.py') |
30 |
+execfile(distutils.util.convert_path('Pyrex/Compiler/Version.py')) |
31 |
|
32 |
compiler_dir = os.path.join(get_python_lib(prefix=''), 'Pyrex', 'Compiler') |
33 |
|
34 |
|
35 |
|
36 |
|
37 |
1.1 dev-python/pyrex/files/digest-pyrex-0.9.6.3 |
38 |
|
39 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyrex/files/digest-pyrex-0.9.6.3?rev=1.1&view=markup |
40 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyrex/files/digest-pyrex-0.9.6.3?rev=1.1&content-type=text/plain |
41 |
|
42 |
Index: digest-pyrex-0.9.6.3 |
43 |
=================================================================== |
44 |
MD5 6fbd5a21d4f6f1b96b6b9c7e13b46d6f Pyrex-0.9.6.3.tar.gz 222558 |
45 |
RMD160 555461710a0863da5ae38e1f52097cf1f145d6f4 Pyrex-0.9.6.3.tar.gz 222558 |
46 |
SHA256 e91e163d6f3f08de9c245a42d8572d08279dbdfe9b1f54cc1cf13a74bd61ba7d Pyrex-0.9.6.3.tar.gz 222558 |
47 |
|
48 |
|
49 |
|
50 |
1.1 dev-python/pyrex/files/pyrex-0.9.6.3-setuptools-workaround.patch |
51 |
|
52 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyrex/files/pyrex-0.9.6.3-setuptools-workaround.patch?rev=1.1&view=markup |
53 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyrex/files/pyrex-0.9.6.3-setuptools-workaround.patch?rev=1.1&content-type=text/plain |
54 |
|
55 |
Index: pyrex-0.9.6.3-setuptools-workaround.patch |
56 |
=================================================================== |
57 |
--- Pyrex/Distutils/build_ext.py 2007-10-15 02:07:42.000000000 +0300 |
58 |
+++ Pyrex/Distutils/build_ext.py 2007-11-04 10:34:15.000000000 +0200 |
59 |
@@ -81,6 +81,11 @@ |
60 |
ext.sources = self.pyrex_sources(ext.sources, ext) |
61 |
self.build_extension(ext) |
62 |
|
63 |
+ # Workaround, as setuptools wants swig_sources with only two arguments |
64 |
+ # see Gentoo bugs #195354 and #195466 |
65 |
+ def swig_sources(self, sources, extension=None): |
66 |
+ _build_ext.build_ext.swig_sources(self, sources, extension) |
67 |
+ |
68 |
def pyrex_sources(self, sources, extension): |
69 |
|
70 |
""" |
71 |
|
72 |
|
73 |
|
74 |
-- |
75 |
gentoo-commits@g.o mailing list |