From ff6cea676da4f54fac65665f8a8a0d4fcbc88274 Mon Sep 17 00:00:00 2001 From: Bernd Waibel Date: Thu, 2 Apr 2020 23:39:36 +0200 Subject: [PATCH] dev-libs/zziplib: add pkg_setup Package needs it, to ensure that python-any-r1_pkg_setup is only called when USE=test is set. Closes: https://bugs.gentoo.org/716028 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Bernd Waibel See also: https://github.com/gentoo/gentoo/pull/15212 Signed-off-by: Andreas Sturmlechner --- dev-libs/zziplib/zziplib-0.13.69-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-libs/zziplib/zziplib-0.13.69-r1.ebuild b/dev-libs/zziplib/zziplib-0.13.69-r1.ebuild index 78a94192c4a9..852084f7d26c 100644 --- a/dev-libs/zziplib/zziplib-0.13.69-r1.ebuild +++ b/dev-libs/zziplib/zziplib-0.13.69-r1.ebuild @@ -35,6 +35,10 @@ RDEPEND="${DEPEND}" PATCHES=( "${WORKDIR}"/${P}-patches ) +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { default eautoreconf -- 2.26.2