diff options
author | 2023-12-21 10:15:09 -0500 | |
---|---|---|
committer | 2024-01-22 06:28:59 -0500 | |
commit | 067b1db0f51d2dac7b5b48c89f4e17fa529d6644 (patch) | |
tree | b96c5eb54bda2b3b9b23522e77c489e5739c1c4f /dev-gap/polycyclic | |
parent | dev-gap/sophus: new package, add 1.27 (diff) | |
download | gentoo-067b1db0f51d2dac7b5b48c89f4e17fa529d6644.tar.gz gentoo-067b1db0f51d2dac7b5b48c89f4e17fa529d6644.tar.bz2 gentoo-067b1db0f51d2dac7b5b48c89f4e17fa529d6644.zip |
dev-gap/polycyclic: new package, add 2.16
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'dev-gap/polycyclic')
-rw-r--r-- | dev-gap/polycyclic/Manifest | 1 | ||||
-rw-r--r-- | dev-gap/polycyclic/files/polycyclic-2.16-hanging-tests.patch | 30 | ||||
-rw-r--r-- | dev-gap/polycyclic/metadata.xml | 52 | ||||
-rw-r--r-- | dev-gap/polycyclic/polycyclic-2.16.ebuild | 29 |
4 files changed, 112 insertions, 0 deletions
diff --git a/dev-gap/polycyclic/Manifest b/dev-gap/polycyclic/Manifest new file mode 100644 index 000000000000..108149a2bbbd --- /dev/null +++ b/dev-gap/polycyclic/Manifest @@ -0,0 +1 @@ +DIST polycyclic-2.16.tar.gz 727628 BLAKE2B 590a2355fca87d3b5cd255d8740c47d7d52a9feacd9a523f00e98f9072647a3df6580eaf33003aa81fd7175f0abbb956566e7c11281cbdfe5bac3463f4678bb6 SHA512 9889a11fffd82151c36e09446bf0f000ffd12660cdce2ff34d85a669cf36cef7b4c40e0b56c6774c9b4c0bb0362a230b06e2421881410c170ec4da01a77333ad 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..3425a6f7b5e3 --- /dev/null +++ b/dev-gap/polycyclic/polycyclic-2.16.ebuild @@ -0,0 +1,29 @@ +# 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" +RESTRICT=test + +# 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 |