From bd7ed43b52f382e6dd7efa4ffd7e1fcc8b46fcdb Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 2 May 2020 22:44:25 -0400 Subject: app-arch/rpm: don't call python-any-r1_pkg_setup when python is disabled Closes: https://bugs.gentoo.org/720754 Signed-off-by: Mike Gilbert --- app-arch/rpm/rpm-4.14.1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app-arch') diff --git a/app-arch/rpm/rpm-4.14.1.ebuild b/app-arch/rpm/rpm-4.14.1.ebuild index a0b7fb616cf5..e611ac291b4c 100644 --- a/app-arch/rpm/rpm-4.14.1.ebuild +++ b/app-arch/rpm/rpm-4.14.1.ebuild @@ -49,6 +49,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 -- cgit v1.2.3-65-gdbad