summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-02-24 23:12:16 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-24 23:13:47 +0100
commitf6b0122795047cf8f68a69d6e02a29771d50cc6e (patch)
tree75ac51eb4f695061c5f84f63d7c6447fe39fe4bc /app-text
parentmedia-gfx/gscan2pdf: remove old 1.8.10 (diff)
downloadgentoo-f6b0122795047cf8f68a69d6e02a29771d50cc6e.tar.gz
gentoo-f6b0122795047cf8f68a69d6e02a29771d50cc6e.tar.bz2
gentoo-f6b0122795047cf8f68a69d6e02a29771d50cc6e.zip
app-text/referencer: Add USE test, missing ${PYTHON_REQUIRED_USE}
Closes: https://bugs.gentoo.org/677514 Closes: https://bugs.gentoo.org/673092 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/referencer/referencer-1.2.2.ebuild26
1 files changed, 10 insertions, 16 deletions
diff --git a/app-text/referencer/referencer-1.2.2.ebuild b/app-text/referencer/referencer-1.2.2.ebuild
index 06a5922851df..6ab870156554 100644
--- a/app-text/referencer/referencer-1.2.2.ebuild
+++ b/app-text/referencer/referencer-1.2.2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python2_7 )
-inherit xdg-utils eutils python-single-r1 flag-o-matic
+inherit xdg python-single-r1 flag-o-matic
DESCRIPTION="Application to organise documents or references, and to generate BibTeX files"
HOMEPAGE="https://launchpad.net/referencer"
@@ -13,15 +13,16 @@ SRC_URI="https://launchpad.net/${PN}/1./${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
KEYWORDS="~amd64 ~x86"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
>=app-text/poppler-0.12.3-r3[cairo]
- >=dev-cpp/gtkmm-2.8:*
+ >=dev-cpp/gtkmm-2.8:2.4
>=dev-cpp/libglademm-2.6.0
>=dev-cpp/gconfmm-2.14.0
- >=dev-libs/boost-1.52.0-r4"
+ >=dev-libs/boost-1.52.0-r4:="
DEPEND="
${RDEPEND}
@@ -30,7 +31,10 @@ DEPEND="
>=dev-lang/perl-5.8.1
dev-perl/libxml-perl
dev-util/intltool
- app-text/rarian"
+ app-text/rarian
+ test? ( app-text/docbook-xml-dtd:4.1.2
+ app-text/docbook-xml-dtd:4.5
+ app-text/scrollkeeper-dtd:1.0 )"
PATCHES=( ${FILESDIR}/${PN}-${PV}-lib_path.patch )
@@ -45,13 +49,3 @@ src_configure() {
--disable-update-mime-database \
--enable-python
}
-
-pkg_postinst() {
- xdg_mimeinfo_database_update
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- xdg_mimeinfo_database_update
- xdg_desktop_database_update
-}