commit:     ff6cea676da4f54fac65665f8a8a0d4fcbc88274
Author:     Bernd Waibel <waebbl <AT> gmail <DOT> com>
AuthorDate: Thu Apr  2 21:39:36 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr  5 19:47:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6cea67

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 <waebbl <AT> gmail.com>
See also: https://github.com/gentoo/gentoo/pull/15212
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 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 78a94192c4a..852084f7d26 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

Reply via email to