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