From e9e4de31cb72614a7b767dec7f8462705928de67 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sat, 20 Oct 2018 13:08:36 +0200 Subject: [PATCH] app-arch/rpm: Don't run python pkg_setup always (#634848 by kentnl) Closes: https://bugs.gentoo.org/634848 Signed-off-by: Pacho Ramos 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 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 -- 2.26.2