summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-10-20 13:08:36 +0200
committerPacho Ramos <pacho@gentoo.org>2018-10-20 13:39:00 +0200
commite9e4de31cb72614a7b767dec7f8462705928de67 (patch)
treecf6b8bc759c1b40c07cf4100a6e38682904690c7 /app-arch/rpm
parentsys-block/mpt-status: Upstream resources disappeared (diff)
downloadgentoo-e9e4de31cb72614a7b767dec7f8462705928de67.tar.gz
gentoo-e9e4de31cb72614a7b767dec7f8462705928de67.tar.bz2
gentoo-e9e4de31cb72614a7b767dec7f8462705928de67.zip
app-arch/rpm: Don't run python pkg_setup always (#634848 by kentnl)
Closes: https://bugs.gentoo.org/634848 Signed-off-by: Pacho Ramos <pacho@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-arch/rpm')
-rw-r--r--app-arch/rpm/rpm-4.14.1-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-arch/rpm/rpm-4.14.1-r1.ebuild b/app-arch/rpm/rpm-4.14.1-r1.ebuild
index 1afa7aeae2ca..c34b6839654a 100644
--- a/app-arch/rpm/rpm-4.14.1-r1.ebuild
+++ b/app-arch/rpm/rpm-4.14.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -50,6 +50,10 @@ RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-rpm )
"
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
src_prepare() {
eapply "${FILESDIR}"/${PN}-4.11.0-autotools.patch
eapply "${FILESDIR}"/${PN}-4.8.1-db-path.patch