Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/referencer/
Date: Sun, 24 Feb 2019 22:14:46
Message-Id: 1551046427.f6b0122795047cf8f68a69d6e02a29771d50cc6e.asturm@gentoo
1 commit: f6b0122795047cf8f68a69d6e02a29771d50cc6e
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 24 22:12:16 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 24 22:13:47 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6b01227
7
8 app-text/referencer: Add USE test, missing ${PYTHON_REQUIRED_USE}
9
10 Closes: https://bugs.gentoo.org/677514
11 Closes: https://bugs.gentoo.org/673092
12 Package-Manager: Portage-2.3.62, Repoman-2.3.12
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 app-text/referencer/referencer-1.2.2.ebuild | 26 ++++++++++----------------
16 1 file changed, 10 insertions(+), 16 deletions(-)
17
18 diff --git a/app-text/referencer/referencer-1.2.2.ebuild b/app-text/referencer/referencer-1.2.2.ebuild
19 index 06a5922851d..6ab87015655 100644
20 --- a/app-text/referencer/referencer-1.2.2.ebuild
21 +++ b/app-text/referencer/referencer-1.2.2.ebuild
22 @@ -1,11 +1,11 @@
23 -# Copyright 1999-2018 Gentoo Foundation
24 +# Copyright 1999-2019 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI="6"
28
29 PYTHON_COMPAT=( python2_7 )
30
31 -inherit xdg-utils eutils python-single-r1 flag-o-matic
32 +inherit xdg python-single-r1 flag-o-matic
33
34 DESCRIPTION="Application to organise documents or references, and to generate BibTeX files"
35 HOMEPAGE="https://launchpad.net/referencer"
36 @@ -13,15 +13,16 @@ SRC_URI="https://launchpad.net/${PN}/1./${PV}/+download/${P}.tar.gz"
37
38 LICENSE="GPL-2"
39 SLOT="0"
40 -IUSE=""
41 KEYWORDS="~amd64 ~x86"
42 +IUSE="test"
43 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
44
45 RDEPEND="
46 >=app-text/poppler-0.12.3-r3[cairo]
47 - >=dev-cpp/gtkmm-2.8:*
48 + >=dev-cpp/gtkmm-2.8:2.4
49 >=dev-cpp/libglademm-2.6.0
50 >=dev-cpp/gconfmm-2.14.0
51 - >=dev-libs/boost-1.52.0-r4"
52 + >=dev-libs/boost-1.52.0-r4:="
53
54 DEPEND="
55 ${RDEPEND}
56 @@ -30,7 +31,10 @@ DEPEND="
57 >=dev-lang/perl-5.8.1
58 dev-perl/libxml-perl
59 dev-util/intltool
60 - app-text/rarian"
61 + app-text/rarian
62 + test? ( app-text/docbook-xml-dtd:4.1.2
63 + app-text/docbook-xml-dtd:4.5
64 + app-text/scrollkeeper-dtd:1.0 )"
65
66 PATCHES=( ${FILESDIR}/${PN}-${PV}-lib_path.patch )
67
68 @@ -45,13 +49,3 @@ src_configure() {
69 --disable-update-mime-database \
70 --enable-python
71 }
72 -
73 -pkg_postinst() {
74 - xdg_mimeinfo_database_update
75 - xdg_desktop_database_update
76 -}
77 -
78 -pkg_postrm() {
79 - xdg_mimeinfo_database_update
80 - xdg_desktop_database_update
81 -}