Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-tweak-tool/
Date: Wed, 27 Apr 2011 07:05:49
Message-Id: 66dc060489b01e57af4b5bd89ef4af95b2dc0fc1.eva@gentoo
1 commit: 66dc060489b01e57af4b5bd89ef4af95b2dc0fc1
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 27 07:04:48 2011 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 27 07:04:48 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=66dc0604
7
8 gnome-extra/gnome-tweak-tool: 3.0.1 → 3.0.2
9
10 * Fails at runtime due to missing ~/.icons
11 * Fails at runtime with a traceback
12 * Enhancements needed to the gnome2-python.eclass
13
14 ---
15 ...-3.0.1.ebuild => gnome-tweak-tool-3.0.2.ebuild} | 22 +++++--------------
16 1 files changed, 6 insertions(+), 16 deletions(-)
17
18 diff --git a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.1.ebuild b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.2.ebuild
19 similarity index 78%
20 rename from gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.1.ebuild
21 rename to gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.2.ebuild
22 index 8210c5d..b75859d 100644
23 --- a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.1.ebuild
24 +++ b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.2.ebuild
25 @@ -6,11 +6,10 @@ EAPI="3"
26 GNOME2_LA_PUNT="yes"
27 GCONF_DEBUG="no"
28 PYTHON_DEPEND="2:2.6"
29 +SUPPORT_PYTHON_ABIS="1"
30 +RESTRICT_PYTHON_ABIS="3.*"
31
32 -inherit gnome2 python
33 -if [[ ${PV} = 9999 ]]; then
34 - inherit gnome2-live
35 -fi
36 +inherit gnome2-python
37
38 DESCRIPTION="Tool to customize GNOME 3 options"
39 HOMEPAGE="http://live.gnome.org/GnomeTweakTool"
40 @@ -18,11 +17,7 @@ HOMEPAGE="http://live.gnome.org/GnomeTweakTool"
41 LICENSE="GPL-2"
42 SLOT="0"
43 IUSE=""
44 -if [[ ${PV} = 9999 ]]; then
45 - KEYWORDS=""
46 -else
47 - KEYWORDS="~amd64 ~x86"
48 -fi
49 +KEYWORDS="~amd64 ~x86"
50
51 COMMON_DEPEND="
52 >=gnome-base/gsettings-desktop-schemas-2.91.92
53 @@ -39,15 +34,10 @@ DEPEND="${COMMON_DEPEND}
54 pkg_setup() {
55 DOCS="NEWS README"
56 G2CONF="${G2CONF} --disable-schemas-compile"
57 - python_set_active_version 2
58 -}
59 -
60 -src_prepare() {
61 - gnome2_src_prepare
62 - : > "${S}"/py-compile
63 + gnome2-python_pkg_setup
64 }
65
66 src_install() {
67 - gnome2_src_install
68 + gnome2-python_src_install
69 python_convert_shebangs 2 "${ED}"/usr/bin/gnome-tweak-tool
70 }