commit:     3e1e7081591def0a66e3d072a5546b0937f56c9e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 17 06:09:10 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 17 06:12:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e1e7081

dev-libs/zziplib: restrict tests (for now)

We've needed to stabilise this package a few times
recently and leaving known-broken tests enabled is asking for trouble
for the next time that comes around.

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild 
b/dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild
index a4e536480be..0c6dda1bd7f 100644
--- a/dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild
+++ b/dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild
@@ -16,8 +16,11 @@ LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
 SLOT="0/13"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="sdl static-libs test"
-
-RESTRICT="!test? ( test )"
+# Tests fail for now, only recently added.
+# Restricted to avoid blocking stabilisations.
+# https://github.com/gdraheim/zziplib/issues/97
+RESTRICT="test"
+#RESTRICT="!test? ( test )"
 
 BDEPEND="
        ${PYTHON_DEPS}
@@ -65,5 +68,5 @@ src_configure() {
 
 src_test() {
        cd "$S"/test/ || die
-       ${EPYTHON} "$S"/test/zziptests.py || die
+       "${EPYTHON}" "$S"/test/zziptests.py || die "Tests failed with 
${EPYTHON}"
 }

Reply via email to