1 |
commit: e8e090f2aaf8a76a1378e6255a1f60dbf9f04c25 |
2 |
Author: Ettore Di Giacinto <mudler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 10 22:18:10 2016 +0000 |
4 |
Commit: Ettore Di Giacinto <mudler <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 29 18:44:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoo-mate.git/commit/?id=e8e090f2 |
7 |
|
8 |
app-editors/pluma: update live ebuild |
9 |
|
10 |
* gtk3 only |
11 |
* drop python support |
12 |
* update dep requirements |
13 |
|
14 |
Package-Manager: portage-2.3.1 |
15 |
|
16 |
app-editors/pluma/pluma-9999.ebuild | 32 ++++---------------------------- |
17 |
1 file changed, 4 insertions(+), 28 deletions(-) |
18 |
|
19 |
diff --git a/app-editors/pluma/pluma-9999.ebuild b/app-editors/pluma/pluma-9999.ebuild |
20 |
index ff18a05..f53cbec 100644 |
21 |
--- a/app-editors/pluma/pluma-9999.ebuild |
22 |
+++ b/app-editors/pluma/pluma-9999.ebuild |
23 |
@@ -6,9 +6,7 @@ EAPI=6 |
24 |
|
25 |
MATE_LA_PUNT="yes" |
26 |
|
27 |
-PYTHON_COMPAT=( python2_7 ) |
28 |
- |
29 |
-inherit mate multilib python-single-r1 virtualx |
30 |
+inherit mate multilib virtualx |
31 |
|
32 |
if [[ ${PV} != 9999 ]]; then |
33 |
KEYWORDS="~amd64 ~arm ~x86" |
34 |
@@ -18,11 +16,7 @@ DESCRIPTION="Pluma text editor for the MATE desktop" |
35 |
LICENSE="GPL-2" |
36 |
SLOT="0" |
37 |
|
38 |
-IUSE="gtk3 python spell" |
39 |
- |
40 |
-REQUIRED_USE=" |
41 |
- gtk3? ( !python ) |
42 |
- python? ( ${PYTHON_REQUIRED_USE} )" |
43 |
+IUSE="spell" |
44 |
|
45 |
# Tests require gvfs sftp fs mounted and schema's installed. Disable tests. |
46 |
# https://github.com/mate-desktop/mate-text-editor/issues/33 |
47 |
@@ -38,24 +32,12 @@ COMMON_DEPEND="dev-libs/atk:0 |
48 |
>=x11-libs/libSM-1.0 |
49 |
x11-libs/pango:0 |
50 |
virtual/libintl:0 |
51 |
- !gtk3? ( |
52 |
- >=x11-libs/gtk+-2.24:2 |
53 |
- >=x11-libs/gtksourceview-2.9.7:2.0 |
54 |
- ) |
55 |
- gtk3? ( |
56 |
- >=x11-libs/gtk+-3.0:3 |
57 |
- >=x11-libs/gtksourceview-2.9.7:3.0 |
58 |
- ) |
59 |
+ >=x11-libs/gtk+-3.14.0:3 |
60 |
+ >=x11-libs/gtksourceview-3.0.0:3.0 |
61 |
spell? ( |
62 |
>=app-text/enchant-1.2:0 |
63 |
>=app-text/iso-codes-0.35:0 |
64 |
) |
65 |
- python? ( |
66 |
- ${PYTHON_DEPS} |
67 |
- >=dev-python/pygobject-2.15.4:2[${PYTHON_USEDEP}] |
68 |
- >=dev-python/pygtk-2.12:2[${PYTHON_USEDEP}] |
69 |
- >=dev-python/pygtksourceview-2.9.2:2 |
70 |
- ) |
71 |
!!app-editors/mate-text-editor" |
72 |
|
73 |
RDEPEND="${COMMON_DEPEND}" |
74 |
@@ -72,14 +54,8 @@ DEPEND="${COMMON_DEPEND} |
75 |
>=sys-devel/gettext-0.17:* |
76 |
virtual/pkgconfig:*" |
77 |
|
78 |
-pkg_setup() { |
79 |
- use python && python-single-r1_pkg_setup |
80 |
-} |
81 |
- |
82 |
src_configure() { |
83 |
mate_src_configure \ |
84 |
- --with-gtk=$(usex gtk3 3.0 2.0) \ |
85 |
- $(use_enable python) \ |
86 |
$(use_enable spell) |
87 |
} |