From: Bernd Waibel Date: Thu, 2 Apr 2020 21:39:36 +0000 (+0200) Subject: dev-libs/zziplib: add pkg_setup X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff6cea676da4f54fac65665f8a8a0d4fcbc88274;p=gentoo.git 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 --- 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