Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/xpyb/xpyb-1.2-r1.ebuild,v 1.4 2010/07/13 13:45:33 fauli Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/xpyb/xpyb-1.2-r1.ebuild,v 1.4 2010/07/13 13:45:33 fauli Exp $ |
4 |
|
4 |
|
5 |
inherit x-modular |
5 |
EAPI="3" |
|
|
6 |
PYTHON_DEPEND="2" |
7 |
inherit xorg-2 python eutils |
6 |
|
8 |
|
7 |
EGIT_REPO_URI="git://anongit.freedesktop.org/git/xcb/xpyb" |
9 |
EGIT_REPO_URI="git://anongit.freedesktop.org/git/xcb/xpyb" |
8 |
SRC_URI="http://xcb.freedesktop.org/dist/${P}.tar.bz2" |
10 |
SRC_URI="http://xcb.freedesktop.org/dist/${P}.tar.bz2" |
Lines 12-19
Link Here
|
12 |
KEYWORDS="amd64 x86" |
14 |
KEYWORDS="amd64 x86" |
13 |
IUSE="selinux" |
15 |
IUSE="selinux" |
14 |
|
16 |
|
15 |
RDEPEND=">=x11-libs/libxcb-1.1 |
17 |
RDEPEND=">=x11-libs/libxcb-1.1" |
16 |
>=dev-lang/python-2.5" |
|
|
17 |
DEPEND="${RDEPEND} |
18 |
DEPEND="${RDEPEND} |
18 |
>=x11-proto/xcb-proto-1.2" |
19 |
>=x11-proto/xcb-proto-1.2" |
19 |
|
20 |
|
Lines 21-30
Link Here
|
21 |
|
22 |
|
22 |
pkg_setup() { |
23 |
pkg_setup() { |
23 |
CONFIGURE_OPTIONS="$(use_enable selinux xselinux)" |
24 |
CONFIGURE_OPTIONS="$(use_enable selinux xselinux)" |
|
|
25 |
python_set_active_version 2 |
24 |
} |
26 |
} |
25 |
|
27 |
|
26 |
src_unpack() { |
28 |
src_prepare() { |
27 |
x-modular_src_unpack |
|
|
28 |
|
29 |
eautoreconf |
29 |
eautoreconf |
30 |
} |
30 |
} |
|
|
31 |
|
32 |
#pkg_postinst() { |
33 |
# python_mod_optimize |
34 |
#} |
35 |
|
36 |
#pkg_postrm() { |
37 |
# python_mod_cleanup |
38 |
#} |
39 |
|