diff options
author | Mike Gilbert <floppym@gentoo.org> | 2020-05-02 22:44:25 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-05-02 22:44:25 -0400 |
commit | bd7ed43b52f382e6dd7efa4ffd7e1fcc8b46fcdb (patch) | |
tree | 000d9cfcdcbc191150d071e439e8848daeb04126 /app-arch/rpm | |
parent | meson.eclass: include ABI in machine file names (diff) | |
download | gentoo-bd7ed43b52f382e6dd7efa4ffd7e1fcc8b46fcdb.tar.gz gentoo-bd7ed43b52f382e6dd7efa4ffd7e1fcc8b46fcdb.tar.bz2 gentoo-bd7ed43b52f382e6dd7efa4ffd7e1fcc8b46fcdb.zip |
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 <floppym@gentoo.org>
Diffstat (limited to 'app-arch/rpm')
-rw-r--r-- | app-arch/rpm/rpm-4.14.1.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
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 |