From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pygobject/files: pygobject-2.18.0-support_multiple_python_versions.patch |
Date: | Fri, 28 Aug 2009 12:06:25 |
Message-Id: | E1Mh52w-00031C-T8@stork.gentoo.org |
1 | arfrever 09/08/28 17:15:30 |
2 | |
3 | Modified: |
4 | pygobject-2.18.0-support_multiple_python_versions.patch |
5 | Log: |
6 | Modify pygobject-codegen-2.0 to support multiple Python versions instead of renaming it. |
7 | (Portage version: 14166-svn/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.2 dev-python/pygobject/files/pygobject-2.18.0-support_multiple_python_versions.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/files/pygobject-2.18.0-support_multiple_python_versions.patch?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/files/pygobject-2.18.0-support_multiple_python_versions.patch?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/files/pygobject-2.18.0-support_multiple_python_versions.patch?r1=1.1&r2=1.2 |
15 | |
16 | Index: pygobject-2.18.0-support_multiple_python_versions.patch |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/files/pygobject-2.18.0-support_multiple_python_versions.patch,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- pygobject-2.18.0-support_multiple_python_versions.patch 27 Aug 2009 18:34:36 -0000 1.1 |
23 | +++ pygobject-2.18.0-support_multiple_python_versions.patch 28 Aug 2009 17:15:30 -0000 1.2 |
24 | @@ -1,3 +1,14 @@ |
25 | +--- codegen/pygobject-codegen-2.0.in |
26 | ++++ codegen/pygobject-codegen-2.0.in |
27 | +@@ -4,7 +4,7 @@ |
28 | + exec_prefix=@exec_prefix@ |
29 | + datarootdir=@datarootdir@ |
30 | + datadir=@datadir@ |
31 | +-codegendir=@pyexecdir@/gtk-2.0/codegen |
32 | ++codegendir=$(@PYTHON@ -c "from distutils import sysconfig; print sysconfig.get_python_lib(1, 0, prefix='@exec_prefix@')")/gtk-2.0/codegen |
33 | + |
34 | + PYTHONPATH=$codegendir |
35 | + export PYTHONPATH |
36 | --- gio/Makefile.am |
37 | +++ gio/Makefile.am |
38 | @@ -56,7 +56,7 @@ |