summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Kriegner <dominik.kriegner@gmail.com>2019-02-24 23:12:16 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-24 23:31:53 +0100
commit17175b13edcf4d3dc0aa602127664f629264db21 (patch)
tree29bdfd77d7edb198e5bb65eb066c9c4e9f26de91
parentapp-text/referencer: Revert "Add USE test, missing ${PYTHON_REQUIRED_USE}" (diff)
downloadgentoo-17175b13edcf4d3dc0aa602127664f629264db21.tar.gz
gentoo-17175b13edcf4d3dc0aa602127664f629264db21.tar.bz2
gentoo-17175b13edcf4d3dc0aa602127664f629264db21.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: Dominik Kriegner <dominik.kriegner@gmail.com> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-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 06a5922851d..6ab87015655 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
-}