1 |
commit: aab1298b68473025434f95c0272fabcac7ef468b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 9 09:04:08 2013 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 9 09:04:08 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=aab1298b |
7 |
|
8 |
x11-libs/xpyb: Port multi-Python support from gx86. |
9 |
|
10 |
Package-Manager: portage-2.2.7 |
11 |
RepoMan-Options: --force |
12 |
|
13 |
--- |
14 |
x11-libs/xpyb/xpyb-9999.ebuild | 15 ++++++++++++--- |
15 |
1 file changed, 12 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/x11-libs/xpyb/xpyb-9999.ebuild b/x11-libs/xpyb/xpyb-9999.ebuild |
18 |
index 9346a26..5932424 100644 |
19 |
--- a/x11-libs/xpyb/xpyb-9999.ebuild |
20 |
+++ b/x11-libs/xpyb/xpyb-9999.ebuild |
21 |
@@ -5,7 +5,7 @@ |
22 |
EAPI=5 |
23 |
|
24 |
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} ) |
25 |
-inherit python-single-r1 xorg-2 |
26 |
+inherit flag-o-matic python-r1 xorg-2 |
27 |
|
28 |
EGIT_REPO_URI="git://anongit.freedesktop.org/git/xcb/xpyb" |
29 |
#SRC_URI="http://xcb.freedesktop.org/dist/${P}.tar.bz2" |
30 |
@@ -23,12 +23,21 @@ DEPEND="${RDEPEND}" |
31 |
DOCS=( NEWS README ) |
32 |
|
33 |
pkg_setup() { |
34 |
- python-single-r1_pkg_setup |
35 |
+ xorg-2_pkg_setup |
36 |
} |
37 |
|
38 |
src_configure() { |
39 |
XORG_CONFIGURE_OPTIONS=( |
40 |
$(use_enable selinux xselinux) |
41 |
) |
42 |
- xorg-2_src_configure |
43 |
+ append-cflags -fno-strict-aliasing |
44 |
+ python_parallel_foreach_impl xorg-2_src_configure |
45 |
+} |
46 |
+ |
47 |
+src_compile() { |
48 |
+ python_foreach_impl xorg-2_src_compile |
49 |
+} |
50 |
+ |
51 |
+src_install() { |
52 |
+ python_foreach_impl xorg-2_src_install |
53 |
} |