From: Pacho Ramos Date: Sat, 20 Oct 2018 11:08:36 +0000 (+0200) Subject: app-arch/rpm: Don't run python pkg_setup always (#634848 by kentnl) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e9e4de31cb72614a7b767dec7f8462705928de67;p=gentoo.git 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 --- 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