public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-gap/polycyclic/, dev-gap/polycyclic/files/
Date: Tue, 19 Mar 2024 20:50:54 +0000 (UTC)	[thread overview]
Message-ID: <1710881134.4217dbbe01a264196b0b693e4de1ffb306b80d6c.mjo@gentoo> (raw)

commit:     4217dbbe01a264196b0b693e4de1ffb306b80d6c
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 19 20:43:39 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Mar 19 20:45:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4217dbbe

dev-gap/polycyclic: patch out a failing test

Upstream has already recommended that we disable the test suite for this
package, so we may be on our own here, but this one is again easy to
patch out and the rest of the test suite passes.

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 .../files/polycyclic-2.16-failing-test.patch       | 28 ++++++++++++++++++++++
 dev-gap/polycyclic/polycyclic-2.16.ebuild          |  6 ++++-
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/dev-gap/polycyclic/files/polycyclic-2.16-failing-test.patch b/dev-gap/polycyclic/files/polycyclic-2.16-failing-test.patch
new file mode 100644
index 000000000000..015f5668eba4
--- /dev/null
+++ b/dev-gap/polycyclic/files/polycyclic-2.16-failing-test.patch
@@ -0,0 +1,28 @@
+From 019d573ddbade01304f62b9cd07b4e759e21398a Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Tue, 19 Mar 2024 16:38:13 -0400
+Subject: [PATCH] tst/bugfix.tst: delete failing test
+
+https://github.com/gap-packages/polycyclic/issues/89
+---
+ tst/bugfix.tst | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/tst/bugfix.tst b/tst/bugfix.tst
+index 393390e..9293671 100644
+--- a/tst/bugfix.tst
++++ b/tst/bugfix.tst
+@@ -58,10 +58,6 @@ gap> NonAbelianTensorSquare(Image(iso*iso1));
+ Pcp-group with orders [ 2, 2, 3, 2, 2, 2, 2 ]
+ 
+ #
+-gap> # The problem with the previous example is/was that Igs(G)
+-gap> # is set to a non-standard value:
+-gap> Igs(G);
+-[ g1, g2*g5, g3*g4*g5^2, g4*g5, g5 ]
+ gap> # Unfortunately, it seems that a lot of code that
+ gap> # really should be using Ngs or Cgs is using Igs incorrectly.
+ gap> # For example, direct products could return *invalid* embeddings:
+-- 
+2.43.2
+

diff --git a/dev-gap/polycyclic/polycyclic-2.16.ebuild b/dev-gap/polycyclic/polycyclic-2.16.ebuild
index a43edbe76df6..ef301edb14d0 100644
--- a/dev-gap/polycyclic/polycyclic-2.16.ebuild
+++ b/dev-gap/polycyclic/polycyclic-2.16.ebuild
@@ -22,7 +22,11 @@ PDEPEND="dev-gap/alnuth"
 # into them, upstream recommends disabling it:
 #
 #  https://github.com/gap-packages/polycyclic/issues/46
+#  https://github.com/gap-packages/polycyclic/issues/89
 #
-PATCHES=( "${FILESDIR}/${P}-hanging-tests.patch" )
+PATCHES=(
+	"${FILESDIR}/${P}-hanging-tests.patch"
+	"${FILESDIR}/${P}-failing-test.patch"
+)
 
 gap-pkg_enable_tests


                 reply	other threads:[~2024-03-19 20:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1710881134.4217dbbe01a264196b0b693e4de1ffb306b80d6c.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox