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/dev-python/pygtk/pygtk-2.17.0.ebuild,v 1.9 2011/01/08 01:36:01 ranger Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.17.0.ebuild,v 1.9 2011/01/08 01:36:01 ranger Exp $ |
4 |
|
4 |
|
5 |
EAPI="2" |
5 |
EAPI="3" |
6 |
PYTHON_DEPEND="2:2.6" |
6 |
PYTHON_DEPEND="2:2.6" |
7 |
SUPPORT_PYTHON_ABIS="1" |
7 |
SUPPORT_PYTHON_ABIS="1" |
8 |
RESTRICT_PYTHON_ABIS="2.4 2.5 3.*" |
8 |
RESTRICT_PYTHON_ABIS="2.4 2.5 3.*" |
Lines 21-30
Link Here
|
21 |
RDEPEND=">=dev-libs/glib-2.8 |
21 |
RDEPEND=">=dev-libs/glib-2.8 |
22 |
>=x11-libs/pango-1.16 |
22 |
>=x11-libs/pango-1.16 |
23 |
>=dev-libs/atk-1.12 |
23 |
>=dev-libs/atk-1.12 |
24 |
>=x11-libs/gtk+-2.18 |
24 |
>=x11-libs/gtk+-2.18:2 |
25 |
>=gnome-base/libglade-2.5 |
25 |
>=gnome-base/libglade-2.5 |
26 |
>=dev-python/pycairo-1.0.2 |
26 |
>=dev-python/pycairo-1.0.2 |
27 |
>=dev-python/pygobject-2.16.1 |
27 |
>=dev-python/pygobject-2.21.3 |
28 |
dev-python/numpy" |
28 |
dev-python/numpy" |
29 |
|
29 |
|
30 |
DEPEND="${RDEPEND} |
30 |
DEPEND="${RDEPEND} |
Lines 37-42
Link Here
|
37 |
# Fix declaration of codegen in .pc |
37 |
# Fix declaration of codegen in .pc |
38 |
epatch "${FILESDIR}/${PN}-2.13.0-fix-codegen-location.patch" |
38 |
epatch "${FILESDIR}/${PN}-2.13.0-fix-codegen-location.patch" |
39 |
|
39 |
|
|
|
40 |
# Broken test, upstream bug #636589 |
41 |
sed -i -e '/test_enum.py/d' tests/Makefile.am || die |
42 |
rm -f tests/test_enum.py || die |
43 |
|
40 |
# Disable pyc compiling |
44 |
# Disable pyc compiling |
41 |
mv "${S}"/py-compile "${S}"/py-compile.orig |
45 |
mv "${S}"/py-compile "${S}"/py-compile.orig |
42 |
ln -s $(type -P true) "${S}"/py-compile |
46 |
ln -s $(type -P true) "${S}"/py-compile |
Lines 53-61
Link Here
|
53 |
|
57 |
|
54 |
src_test() { |
58 |
src_test() { |
55 |
unset DBUS_SESSION_BUS_ADDRESS |
59 |
unset DBUS_SESSION_BUS_ADDRESS |
|
|
60 |
export HOME="${T}" |
61 |
export XDG_DATA_HOME="${T}" |
62 |
export XDG_CACHE_HOME="${T}" |
56 |
|
63 |
|
57 |
testing() { |
64 |
testing() { |
58 |
cd tests |
65 |
cd tests |
|
|
66 |
XDG_CACHE_HOME="${T}" |
59 |
Xemake check-local |
67 |
Xemake check-local |
60 |
} |
68 |
} |
61 |
python_execute_function -s testing |
69 |
python_execute_function -s testing |
Lines 64-75
Link Here
|
64 |
src_install() { |
72 |
src_install() { |
65 |
python_src_install |
73 |
python_src_install |
66 |
python_clean_installation_image |
74 |
python_clean_installation_image |
67 |
dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO |
75 |
dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO || die |
68 |
|
76 |
|
69 |
if use examples; then |
77 |
if use examples; then |
70 |
rm examples/Makefile* |
78 |
rm examples/Makefile* |
71 |
insinto /usr/share/doc/${PF} |
79 |
insinto /usr/share/doc/${PF} |
72 |
doins -r examples |
80 |
doins -r examples || die |
73 |
fi |
81 |
fi |
74 |
} |
82 |
} |
75 |
|
83 |
|