summaryrefslogtreecommitdiff
path: root/dev-gap/polycyclic
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-22 16:48:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-22 16:48:54 +0000
commitce163dcd0944d81d8406c9532b457535efca7a6d (patch)
treef7deea170544ce69e03c037101b7b5c1277966b4 /dev-gap/polycyclic
parent05ee8049e2326946a2cd1720f98384c864f0a804 (diff)
gentoo auto-resync : 22:01:2024 - 16:48:54
Diffstat (limited to 'dev-gap/polycyclic')
-rw-r--r--dev-gap/polycyclic/Manifest4
-rw-r--r--dev-gap/polycyclic/files/polycyclic-2.16-hanging-tests.patch30
-rw-r--r--dev-gap/polycyclic/metadata.xml52
-rw-r--r--dev-gap/polycyclic/polycyclic-2.16.ebuild28
4 files changed, 114 insertions, 0 deletions
diff --git a/dev-gap/polycyclic/Manifest b/dev-gap/polycyclic/Manifest
new file mode 100644
index 000000000000..ce6b6181da98
--- /dev/null
+++ b/dev-gap/polycyclic/Manifest
@@ -0,0 +1,4 @@
+AUX polycyclic-2.16-hanging-tests.patch 916 BLAKE2B 7213baf5e421f95cbe744b9ab9fbddbb23c592988d15abaa71ec55be872482b58570b0cd5873bf9df234a410f33c182193313b1ed87550074d81474f9f241016 SHA512 a5668a8ab636a976fc444ca05a3ef6bc3cd3ca523e39bc881d26048d3cbaff2a2f72a8de256a777f1e4dbe8f7644d2a798a239fa6906824bd500f7d8ae95f7d9
+DIST polycyclic-2.16.tar.gz 727628 BLAKE2B 590a2355fca87d3b5cd255d8740c47d7d52a9feacd9a523f00e98f9072647a3df6580eaf33003aa81fd7175f0abbb956566e7c11281cbdfe5bac3463f4678bb6 SHA512 9889a11fffd82151c36e09446bf0f000ffd12660cdce2ff34d85a669cf36cef7b4c40e0b56c6774c9b4c0bb0362a230b06e2421881410c170ec4da01a77333ad
+EBUILD polycyclic-2.16.ebuild 813 BLAKE2B 756bcf8f17bb67e348c857d9536ed2038d48ba8cf1c125b5168233fcfd9dfe1f4e2170a73906ac0ba40b690b1c6dc9672935217918cc9ad853efffb3a0a22abb SHA512 8f79a0a879fd8d5485850a28d31e6eb677844af51e1a2b18efea1d212c5ee7014b1eb15e7cc6348f5f951c30f7264150715c401d8f97077829d88cc484302021
+MISC metadata.xml 1691 BLAKE2B 5d08c6f0da66d1bfac34005b1336fd75df26542d613539c8abf6d48bd757932266ce958b21343b179f13c88f37cfb6e460649ab1f5c9071b90747497bc4be673 SHA512 68998a4e7d88e24f3d64812061cf50c564089520fa776dc4037cf6218adb010586db95a939eaf84caa28c39cc4598f2d61be7596a78ca6b3f6380c0432b571e6
diff --git a/dev-gap/polycyclic/files/polycyclic-2.16-hanging-tests.patch b/dev-gap/polycyclic/files/polycyclic-2.16-hanging-tests.patch
new file mode 100644
index 000000000000..ef5b83abd42d
--- /dev/null
+++ b/dev-gap/polycyclic/files/polycyclic-2.16-hanging-tests.patch
@@ -0,0 +1,30 @@
+From 283f04b22186f467e4b8d9070f1e462877137347 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Dec 2023 14:46:56 -0500
+Subject: [PATCH 1/1] tst/bugfix.tst: delete two tests that hang
+
+These run "forever" on my machine and I don't feel like debugging
+them.
+---
+ tst/bugfix.tst | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/tst/bugfix.tst b/tst/bugfix.tst
+index 393390e..6bdf7e1 100644
+--- a/tst/bugfix.tst
++++ b/tst/bugfix.tst
+@@ -34,11 +34,6 @@ true
+ gap> # Check for a bug reported 2012-01-19 by Robert Morse
+ gap> g := PcGroupToPcpGroup(SmallGroup(48,1));
+ Pcp-group with orders [ 2, 2, 2, 2, 3 ]
+-gap> # The next two commands used to trigger errors
+-gap> NonAbelianTensorSquare(Centre(g));
+-Pcp-group with orders [ 8 ]
+-gap> NonAbelianExteriorSquare(Centre(g));
+-Pcp-group with orders [ ]
+
+ #
+ gap> # Check for a bug reported 2012-01-19 by Robert Morse
+--
+2.41.0
+
diff --git a/dev-gap/polycyclic/metadata.xml b/dev-gap/polycyclic/metadata.xml
new file mode 100644
index 000000000000..50e46c13d7b2
--- /dev/null
+++ b/dev-gap/polycyclic/metadata.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mjo@gentoo.org</email>
+ </maintainer>
+ <maintainer type="person">
+ <email>frp.bissey@gmail.com</email>
+ <name>François Bissey</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci-mathematics@gentoo.org</email>
+ <name>Gentoo Mathematics Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ This package provides various algorithms for computations with
+ polycyclic groups defined by polycyclic presentations. The features
+ of this package include,
+
+ * creating a polycyclic group from a polycyclic presentation
+ arithmetic in a polycyclic group
+
+ * computation with subgroups and factor groups of a polycyclic
+ group
+
+ * computation of standard subgroup series such as the derived
+ series, the lower central series
+
+ * computation of the first and second cohomology
+
+ * computation of group extensions
+
+ * computation of normalizers and centralizers
+
+ * solutions to the conjugacy problems for elements and subgroups
+
+ * computation of torsion and various finite subgroups
+
+ * computation of various subgroups of finite index
+
+ * computation of the Schur multiplicator, the non-abelian exterior
+ square and the non-abelian tenor square
+
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/polycyclic</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/polycyclic/polycyclic-2.16.ebuild b/dev-gap/polycyclic/polycyclic-2.16.ebuild
new file mode 100644
index 000000000000..a43edbe76df6
--- /dev/null
+++ b/dev-gap/polycyclic/polycyclic-2.16.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Computation with polycyclic groups"
+SLOT="0"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+KEYWORDS="~amd64"
+
+# Circular dependency polycyclic->alnuth->polycyclic. There's a global
+# variable called USE_ALNUTH in polycyclic, but setting it to "false"
+# doesn't stop polycyclic from using alnuth (why would it?).
+RDEPEND="dev-gap/autpgrp"
+PDEPEND="dev-gap/alnuth"
+
+# There are likely more problems hiding in the test suite. If we run
+# into them, upstream recommends disabling it:
+#
+# https://github.com/gap-packages/polycyclic/issues/46
+#
+PATCHES=( "${FILESDIR}/${P}-hanging-tests.patch" )
+
+gap-pkg_enable_tests