Gentoo Archives: gentoo-commits

From: Ettore Di Giacinto <mudler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-mate:master commit in: app-editors/pluma/
Date: Tue, 29 Nov 2016 19:49:34
Message-Id: 1480445088.2954ca9478551bd9f7acc278dc2de94b8a3266f5.mudler@gentoo
1 commit: 2954ca9478551bd9f7acc278dc2de94b8a3266f5
2 Author: Ettore Di Giacinto <mudler <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 10 22:12:28 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=2954ca94
7
8 app-editors/pluma: version bump to 1.16.0
9
10 Package-Manager: portage-2.3.1
11
12 app-editors/pluma/Manifest | 1 +
13 app-editors/pluma/pluma-1.16.0.ebuild | 93 +++++++++++++++++++++++++++++++++++
14 2 files changed, 94 insertions(+)
15
16 diff --git a/app-editors/pluma/Manifest b/app-editors/pluma/Manifest
17 index f1e8ae4..d444a03 100644
18 --- a/app-editors/pluma/Manifest
19 +++ b/app-editors/pluma/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pluma-1.12.2.tar.xz 3397280 SHA256 eb74988a9fa9892f883b2ccdc9cf217478576815bcb02662d2e3cf2ae39ef870 SHA512 db2878161903868703514531ba214fc34dad1789885f18756e9192d6ba17950c8be03141ada72f8c386b515d8b0f9d58a0ee94a33fe3ffe00f360ea667c2b275 WHIRLPOOL 30e45dc3e399e77403d23ebe1c8fb98592f3a408de3bd5ee724e621168b26116de0c520348dd74929e360a251b8d727ef9967746b14732fc6e03d63ffb3091c4
22 DIST pluma-1.14.1.tar.xz 3415364 SHA256 5517e9bf93ec22a3036498f2e95652fb9046229b8a0da66a742643eab7e595a1 SHA512 5d04e053ab2eb0f90e34d9af541004867c7317fd9386229c4e702e95a80420df16b20e4ae4c30bbee79fe904282f6134f7c361971be07cd6952612d975c88d11 WHIRLPOOL 217d447f0ebe9bcf069b6831421e9680256c7b70753ab126aaf5641ba518df12b4fc60041feb433873a0cbc2d7108bf871958e13186b71e050d9f0610db9b770
23 +DIST pluma-1.16.0.tar.xz 3412640 SHA256 0eb4a4486f1c83119969567cedb05894f25ac5d43cefb4c3ed88ca2f75eff29d SHA512 2472a1631cb89f4df0d09558bd274b6c6d042ae4cbb6ae0134a089cfefb5d0673ec28d78d3665dd1933f76a9c20517afe626f921e06703af9e3c71b9f3b96260 WHIRLPOOL 74c57e589e0f1c2013eb01b1c1aa9e455b0741486f5e1537588f641521fb180b6f7f7a02a9512e069dd94a1d9111fd3d52000a3c05adf30f84ef2ebbadeb0c22
24
25 diff --git a/app-editors/pluma/pluma-1.16.0.ebuild b/app-editors/pluma/pluma-1.16.0.ebuild
26 new file mode 100644
27 index 0000000..ff18a05
28 --- /dev/null
29 +++ b/app-editors/pluma/pluma-1.16.0.ebuild
30 @@ -0,0 +1,93 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=6
36 +
37 +MATE_LA_PUNT="yes"
38 +
39 +PYTHON_COMPAT=( python2_7 )
40 +
41 +inherit mate multilib python-single-r1 virtualx
42 +
43 +if [[ ${PV} != 9999 ]]; then
44 + KEYWORDS="~amd64 ~arm ~x86"
45 +fi
46 +
47 +DESCRIPTION="Pluma text editor for the MATE desktop"
48 +LICENSE="GPL-2"
49 +SLOT="0"
50 +
51 +IUSE="gtk3 python spell"
52 +
53 +REQUIRED_USE="
54 + gtk3? ( !python )
55 + python? ( ${PYTHON_REQUIRED_USE} )"
56 +
57 +# Tests require gvfs sftp fs mounted and schema's installed. Disable tests.
58 +# https://github.com/mate-desktop/mate-text-editor/issues/33
59 +RESTRICT="test"
60 +
61 +COMMON_DEPEND="dev-libs/atk:0
62 + >=dev-libs/glib-2.36:2
63 + >=dev-libs/libxml2-2.5:2
64 + x11-libs/cairo:0
65 + x11-libs/gdk-pixbuf:2
66 + x11-libs/libICE:0
67 + x11-libs/libX11:0
68 + >=x11-libs/libSM-1.0
69 + x11-libs/pango:0
70 + virtual/libintl:0
71 + !gtk3? (
72 + >=x11-libs/gtk+-2.24:2
73 + >=x11-libs/gtksourceview-2.9.7:2.0
74 + )
75 + gtk3? (
76 + >=x11-libs/gtk+-3.0:3
77 + >=x11-libs/gtksourceview-2.9.7:3.0
78 + )
79 + spell? (
80 + >=app-text/enchant-1.2:0
81 + >=app-text/iso-codes-0.35:0
82 + )
83 + python? (
84 + ${PYTHON_DEPS}
85 + >=dev-python/pygobject-2.15.4:2[${PYTHON_USEDEP}]
86 + >=dev-python/pygtk-2.12:2[${PYTHON_USEDEP}]
87 + >=dev-python/pygtksourceview-2.9.2:2
88 + )
89 + !!app-editors/mate-text-editor"
90 +
91 +RDEPEND="${COMMON_DEPEND}"
92 +
93 +DEPEND="${COMMON_DEPEND}
94 + ~app-text/docbook-xml-dtd-4.1.2
95 + app-text/rarian:0
96 + >=app-text/scrollkeeper-dtd-1:1.0
97 + app-text/yelp-tools:0
98 + dev-util/gtk-doc
99 + dev-util/gtk-doc-am
100 + >=dev-util/intltool-0.50.1:*
101 + >=sys-devel/libtool-2.2.6:2
102 + >=sys-devel/gettext-0.17:*
103 + virtual/pkgconfig:*"
104 +
105 +pkg_setup() {
106 + use python && python-single-r1_pkg_setup
107 +}
108 +
109 +src_configure() {
110 + mate_src_configure \
111 + --with-gtk=$(usex gtk3 3.0 2.0) \
112 + $(use_enable python) \
113 + $(use_enable spell)
114 +}
115 +
116 +src_test() {
117 + # FIXME: This should be handled at eclass level.
118 + "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
119 +
120 + unset DBUS_SESSION_BUS_ADDRESS
121 +
122 + GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
123 +}