Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/gedit-plugins/
Date: Tue, 01 Nov 2016 17:32:36
Message-Id: 1478020056.841ca99ca7b11f5ff0fb53405b51b5983904421f.eva@gentoo
1 commit: 841ca99ca7b11f5ff0fb53405b51b5983904421f
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 1 16:16:50 2016 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 1 17:07:36 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=841ca99c
7
8 app-editors/gedit-plugins: version bump 3.20.0 → 3.22.0
9
10 Package-Manager: portage-2.3.2
11
12 app-editors/gedit-plugins/Manifest | 1 +
13 .../gedit-plugins/gedit-plugins-3.22.0.ebuild | 98 ++++++++++++++++++++++
14 2 files changed, 99 insertions(+)
15
16 diff --git a/app-editors/gedit-plugins/Manifest b/app-editors/gedit-plugins/Manifest
17 index 3abf1c6..fa6395e 100644
18 --- a/app-editors/gedit-plugins/Manifest
19 +++ b/app-editors/gedit-plugins/Manifest
20 @@ -1,3 +1,4 @@
21 DIST gedit-plugins-3.16.0.tar.xz 1280064 SHA256 b685b84ada8ca04f6aa201e402a0208591be4a37b874595a0a85d0a14b52f191 SHA512 336d57bf9a25bb70cf63bb4ea6e81215381e91a04126429fd4f930596ed1731ceb8ed36b091757fb6729ba032bd8af083a3ec056a2e91f7abddc505282e511e2 WHIRLPOOL a5ef32695c8b7bbe0fd19a53496d7390d306e9587a0228cfb0151ff59eb0d127ba85e7c481403fb6fb3aaf14fb95428c6b60d5b65cafcecab230edc2733bc918
22 DIST gedit-plugins-3.18.0.tar.xz 1366868 SHA256 e25249c0c2a057827bb4d4755a2359e1f9b4de288e0c4e201c6ef4f0e0e8c580 SHA512 8ce705c3263492c699f2504c178f81760e0d3d153dff0bdadbf39c240d77951e887534f586a3b340904dc11c9bf55424861dd43395a3ae8eadfa5752a4d168ca WHIRLPOOL de69a801e7b68ca42a2b2dd588452ba8a3e62bf39199e4662a10c4d557173f4ec8b7f145f1530de7a607740bf3c06ddd942af85e0d27a3fc7e4b013433a1e9e0
23 DIST gedit-plugins-3.20.0.tar.xz 1344188 SHA256 d4902af5f9f728e0d692ca8c2f7a9f88f6c2ab8c9be037238ffb7d3aebe757bf SHA512 de0466c8031ed9cfa95487e9ff67dc45f1110c47d5b7655a1aef8a84d896184e062dfd9177325b2221d9e2d6ad04c1fa4368a74c07a2257aa548ea2a5b958f17 WHIRLPOOL 3c949864a7b3fb8d30adc0e0cda56d0ccbae46b0711f02b7c45050247b597963cbd2d3b38db187204d85f51eb33c95eacc1bf35eb502b1e572b80cb03f7ee50f
24 +DIST gedit-plugins-3.22.0.tar.xz 1314512 SHA256 83a73088de73478841b9a216bd89c2e478aa302b3579a2a8685893d7a6a48fdc SHA512 5560b48c0b21b535de7247c39653c111439f9cb138025d7e3a600b94babbe060777c2095160b7e5ea39b8ba8be520ea3966b0ffc2ec15d17ea0bf814bf58748d WHIRLPOOL 81c9d266982377e43082a71a6ebbbff96f426912bd07b10e1000a70894982af71f6617e6e9bb27d932214509e622740ecf72af5929a0d4f5d4085052696cd954
25
26 diff --git a/app-editors/gedit-plugins/gedit-plugins-3.22.0.ebuild b/app-editors/gedit-plugins/gedit-plugins-3.22.0.ebuild
27 new file mode 100644
28 index 00000000..39f8a43
29 --- /dev/null
30 +++ b/app-editors/gedit-plugins/gedit-plugins-3.22.0.ebuild
31 @@ -0,0 +1,98 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI="6"
37 +GNOME2_LA_PUNT="yes" # plugins are dlopened
38 +PYTHON_COMPAT=( python3_{3,4,5} )
39 +PYTHON_REQ_USE="xml"
40 +VALA_MIN_API_VERSION="0.28"
41 +
42 +inherit eutils gnome2 multilib python-r1 vala
43 +
44 +DESCRIPTION="Official plugins for gedit"
45 +HOMEPAGE="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins"
46 +
47 +LICENSE="GPL-2+"
48 +KEYWORDS="~amd64 ~x86"
49 +SLOT="0"
50 +
51 +IUSE_plugins="charmap git terminal vala zeitgeist"
52 +IUSE="+python ${IUSE_plugins}"
53 +# python-single-r1 would request disabling PYTHON_TARGETS on libpeas
54 +REQUIRED_USE="
55 + charmap? ( python )
56 + git? ( python )
57 + python? ( ^^ ( $(python_gen_useflags '*') ) )
58 + terminal? ( python )
59 + zeitgeist? ( python )
60 +"
61 +
62 +RDEPEND="
63 + >=app-editors/gedit-3.16[python?]
64 + >=dev-libs/glib-2.32:2
65 + >=dev-libs/libpeas-1.7.0[gtk,python?]
66 + >=x11-libs/gtk+-3.9:3
67 + >=x11-libs/gtksourceview-3.21.3:3.0
68 + python? (
69 + ${PYTHON_DEPS}
70 + >=app-editors/gedit-3.16[introspection,${PYTHON_USEDEP}]
71 + dev-libs/libpeas[${PYTHON_USEDEP}]
72 + >=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
73 + dev-python/pycairo[${PYTHON_USEDEP}]
74 + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
75 + >=x11-libs/gtk+-3.9:3[introspection]
76 + >=x11-libs/gtksourceview-3.14:3.0[introspection]
77 + x11-libs/pango[introspection]
78 + x11-libs/gdk-pixbuf:2[introspection]
79 + )
80 + charmap? ( >=gnome-extra/gucharmap-3:2.90[introspection] )
81 + git? ( >=dev-libs/libgit2-glib-0.0.6 )
82 + terminal? ( x11-libs/vte:2.91[introspection] )
83 + vala? ( $(vala_depend) )
84 + zeitgeist? ( >=gnome-extra/zeitgeist-0.9.12[introspection] )
85 +"
86 +DEPEND="${RDEPEND}
87 + app-text/yelp-tools
88 + >=dev-util/intltool-0.40.0
89 + >=sys-devel/gettext-0.17
90 + virtual/pkgconfig
91 +"
92 +
93 +pkg_setup() {
94 + use python && [[ ${MERGE_TYPE} != binary ]] && python_setup
95 +}
96 +
97 +src_prepare() {
98 + use vala && vala_src_prepare
99 + gnome2_src_prepare
100 +}
101 +
102 +src_configure() {
103 + gnome2_src_configure \
104 + $(use_enable python) \
105 + $(use_enable vala) \
106 + $(use_enable zeitgeist)
107 +}
108 +
109 +src_install() {
110 + gnome2_src_install
111 +
112 + # FIXME: crazy !!!
113 + if use python; then
114 + find "${ED}"/usr/share/gedit -name "*.py*" -delete || die
115 + find "${ED}"/usr/share/gedit -type d -empty -delete || die
116 + fi
117 +
118 + # FIXME: upstream made this automagic...
119 + clean_plugin charmap
120 + clean_plugin git
121 + clean_plugin terminal
122 +}
123 +
124 +clean_plugin() {
125 + if use !${1} ; then
126 + rm -rf "${ED}"/usr/share/gedit/plugins/${1}*
127 + rm -rf "${ED}"/usr/$(get_libdir)/gedit/plugins/${1}*
128 + fi
129 +}