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