commit:     e9e4de31cb72614a7b767dec7f8462705928de67
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 20 11:08:36 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Oct 20 11:39:00 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9e4de31

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 <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-arch/rpm/rpm-4.14.1-r1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-arch/rpm/rpm-4.14.1-r1.ebuild 
b/app-arch/rpm/rpm-4.14.1-r1.ebuild
index 1afa7aeae2c..c34b6839654 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

Reply via email to