app-arch/rpm: Don't run python pkg_setup always (#634848 by kentnl)
authorPacho Ramos <pacho@gentoo.org>
Sat, 20 Oct 2018 11:08:36 +0000 (13:08 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sat, 20 Oct 2018 11:39:00 +0000 (13:39 +0200)
Closes: https://bugs.gentoo.org/634848
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

app-arch/rpm/rpm-4.14.1-r1.ebuild

index 1afa7aeae2cae6748da75ba2e246970facc14523..c34b6839654ac2bf5f520dfb5b226d40bad86860 100644 (file)
@@ -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