summaryrefslogtreecommitdiff
path: root/dev-gap
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-gap
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-gap')
-rw-r--r--dev-gap/aclib/Manifest1
-rw-r--r--dev-gap/aclib/aclib-1.3.3.ebuild21
-rw-r--r--dev-gap/aclib/metadata.xml28
-rw-r--r--dev-gap/alnuth/Manifest1
-rw-r--r--dev-gap/alnuth/alnuth-3.2.1.ebuild28
-rw-r--r--dev-gap/alnuth/metadata.xml29
-rw-r--r--dev-gap/atlasrep/Manifest4
-rw-r--r--dev-gap/atlasrep/atlasrep-2.1.11.ebuild63
-rw-r--r--dev-gap/atlasrep/atlasrep-2.1.9.ebuild63
-rw-r--r--dev-gap/atlasrep/files/atlasrep-2.1.7-no-remote-access.patch27
-rw-r--r--dev-gap/atlasrep/files/atlasrep-2.1.9-non-writable-data-dir.patch27
-rw-r--r--dev-gap/atlasrep/metadata.xml25
-rw-r--r--dev-gap/autodoc/Manifest2
-rw-r--r--dev-gap/autodoc/autodoc-2025.05.09.ebuild23
-rw-r--r--dev-gap/autodoc/autodoc-2026.05.03.ebuild23
-rw-r--r--dev-gap/autodoc/metadata.xml31
-rw-r--r--dev-gap/autpgrp/Manifest2
-rw-r--r--dev-gap/autpgrp/autpgrp-1.11.1.ebuild18
-rw-r--r--dev-gap/autpgrp/autpgrp-1.11.ebuild18
-rw-r--r--dev-gap/autpgrp/metadata.xml31
-rw-r--r--dev-gap/browse/Manifest2
-rw-r--r--dev-gap/browse/browse-1.8.21-r2.ebuild55
-rw-r--r--dev-gap/browse/browse-1.8.22.ebuild55
-rw-r--r--dev-gap/browse/metadata.xml31
-rw-r--r--dev-gap/congruence/Manifest1
-rw-r--r--dev-gap/congruence/congruence-1.2.7.ebuild15
-rw-r--r--dev-gap/congruence/metadata.xml30
-rw-r--r--dev-gap/corelg/Manifest1
-rw-r--r--dev-gap/corelg/corelg-1.57.ebuild19
-rw-r--r--dev-gap/corelg/metadata.xml22
-rw-r--r--dev-gap/crime/Manifest1
-rw-r--r--dev-gap/crime/crime-1.6.ebuild17
-rw-r--r--dev-gap/crime/metadata.xml28
-rw-r--r--dev-gap/crisp/Manifest2
-rw-r--r--dev-gap/crisp/crisp-1.4.6.ebuild16
-rw-r--r--dev-gap/crisp/crisp-1.4.8.ebuild16
-rw-r--r--dev-gap/crisp/metadata.xml36
-rw-r--r--dev-gap/crypting/Manifest1
-rw-r--r--dev-gap/crypting/crypting-0.10.6.ebuild18
-rw-r--r--dev-gap/crypting/metadata.xml22
-rw-r--r--dev-gap/cryst/Manifest1
-rw-r--r--dev-gap/cryst/cryst-4.1.31.ebuild20
-rw-r--r--dev-gap/cryst/metadata.xml31
-rw-r--r--dev-gap/crystcat/Manifest1
-rw-r--r--dev-gap/crystcat/crystcat-1.1.11.ebuild19
-rw-r--r--dev-gap/crystcat/metadata.xml29
-rw-r--r--dev-gap/ctbllib/Manifest2
-rw-r--r--dev-gap/ctbllib/ctbllib-1.3.11.ebuild63
-rw-r--r--dev-gap/ctbllib/ctbllib-1.3.9.ebuild63
-rw-r--r--dev-gap/ctbllib/metadata.xml19
-rw-r--r--dev-gap/cvec/Manifest1
-rw-r--r--dev-gap/cvec/cvec-2.8.4.ebuild30
-rw-r--r--dev-gap/cvec/metadata.xml28
-rw-r--r--dev-gap/datastructures/Manifest1
-rw-r--r--dev-gap/datastructures/datastructures-0.4.1.ebuild20
-rw-r--r--dev-gap/datastructures/metadata.xml45
-rw-r--r--dev-gap/design/Manifest1
-rw-r--r--dev-gap/design/design-1.8.2.ebuild19
-rw-r--r--dev-gap/design/metadata.xml22
-rw-r--r--dev-gap/digraphs/Manifest1
-rw-r--r--dev-gap/digraphs/digraphs-1.14.0.ebuild42
-rw-r--r--dev-gap/digraphs/metadata.xml22
-rw-r--r--dev-gap/edim/Manifest1
-rw-r--r--dev-gap/edim/edim-1.3.8.ebuild21
-rw-r--r--dev-gap/edim/metadata.xml26
-rw-r--r--dev-gap/factint/Manifest1
-rw-r--r--dev-gap/factint/factint-1.6.3.ebuild19
-rw-r--r--dev-gap/factint/metadata.xml35
-rw-r--r--dev-gap/fga/Manifest1
-rw-r--r--dev-gap/fga/fga-1.5.0.ebuild15
-rw-r--r--dev-gap/fga/metadata.xml27
-rw-r--r--dev-gap/gapdoc/Manifest1
-rw-r--r--dev-gap/gapdoc/gapdoc-1.6.7.ebuild48
-rw-r--r--dev-gap/gapdoc/metadata.xml28
-rw-r--r--dev-gap/gaplint/Manifest1
-rw-r--r--dev-gap/gaplint/gaplint-1.6.1.ebuild29
-rw-r--r--dev-gap/gaplint/metadata.xml19
-rw-r--r--dev-gap/gbnp/Manifest1
-rw-r--r--dev-gap/gbnp/gbnp-1.1.0.ebuild28
-rw-r--r--dev-gap/gbnp/metadata.xml32
-rw-r--r--dev-gap/genss/Manifest1
-rw-r--r--dev-gap/genss/genss-1.6.9.ebuild24
-rw-r--r--dev-gap/genss/metadata.xml27
-rw-r--r--dev-gap/grape/Manifest1
-rw-r--r--dev-gap/grape/files/grape-4.9.0-exec.patch21
-rw-r--r--dev-gap/grape/grape-4.9.3.ebuild41
-rw-r--r--dev-gap/grape/metadata.xml33
-rw-r--r--dev-gap/guava/Manifest1
-rw-r--r--dev-gap/guava/files/guava-3.15-makefile.patch18
-rw-r--r--dev-gap/guava/guava-3.21-r1.ebuild50
-rw-r--r--dev-gap/guava/metadata.xml22
-rw-r--r--dev-gap/hap/Manifest1
-rw-r--r--dev-gap/hap/hap-1.75.ebuild54
-rw-r--r--dev-gap/hap/metadata.xml34
-rw-r--r--dev-gap/hapcryst/Manifest1
-rw-r--r--dev-gap/hapcryst/hapcryst-0.2.0.ebuild32
-rw-r--r--dev-gap/hapcryst/metadata.xml27
-rw-r--r--dev-gap/hecke/Manifest1
-rw-r--r--dev-gap/hecke/hecke-1.5.4.ebuild15
-rw-r--r--dev-gap/hecke/metadata.xml27
-rw-r--r--dev-gap/images/Manifest1
-rw-r--r--dev-gap/images/images-1.3.3.ebuild20
-rw-r--r--dev-gap/images/metadata.xml22
-rw-r--r--dev-gap/io/Manifest1
-rw-r--r--dev-gap/io/io-4.9.3.ebuild37
-rw-r--r--dev-gap/io/metadata.xml26
-rw-r--r--dev-gap/irredsol/Manifest1
-rw-r--r--dev-gap/irredsol/irredsol-1.4.4.ebuild17
-rw-r--r--dev-gap/irredsol/metadata.xml28
-rw-r--r--dev-gap/laguna/Manifest1
-rw-r--r--dev-gap/laguna/laguna-3.9.7.ebuild15
-rw-r--r--dev-gap/laguna/metadata.xml29
-rw-r--r--dev-gap/liealgdb/Manifest1
-rw-r--r--dev-gap/liealgdb/liealgdb-2.3.0.ebuild17
-rw-r--r--dev-gap/liealgdb/metadata.xml35
-rw-r--r--dev-gap/liepring/Manifest1
-rw-r--r--dev-gap/liepring/liepring-2.9.1.ebuild17
-rw-r--r--dev-gap/liepring/metadata.xml22
-rw-r--r--dev-gap/liering/Manifest1
-rw-r--r--dev-gap/liering/liering-2.4.2.ebuild15
-rw-r--r--dev-gap/liering/metadata.xml26
-rw-r--r--dev-gap/loops/Manifest1
-rw-r--r--dev-gap/loops/loops-3.4.4.ebuild16
-rw-r--r--dev-gap/loops/metadata.xml28
-rw-r--r--dev-gap/mapclass/Manifest1
-rw-r--r--dev-gap/mapclass/mapclass-1.4.6.ebuild16
-rw-r--r--dev-gap/mapclass/metadata.xml22
-rw-r--r--dev-gap/metadata.xml12
-rw-r--r--dev-gap/nq/Manifest1
-rw-r--r--dev-gap/nq/metadata.xml26
-rw-r--r--dev-gap/nq/nq-2.5.11.ebuild27
-rw-r--r--dev-gap/orb/Manifest1
-rw-r--r--dev-gap/orb/metadata.xml22
-rw-r--r--dev-gap/orb/orb-5.1.0.ebuild34
-rw-r--r--dev-gap/polenta/Manifest2
-rw-r--r--dev-gap/polenta/metadata.xml30
-rw-r--r--dev-gap/polenta/polenta-1.3.10.ebuild25
-rw-r--r--dev-gap/polenta/polenta-1.3.11.ebuild25
-rw-r--r--dev-gap/polycyclic/Manifest2
-rw-r--r--dev-gap/polycyclic/files/polycyclic-2.16-failing-test.patch28
-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.ebuild32
-rw-r--r--dev-gap/polycyclic/polycyclic-2.18.ebuild21
-rw-r--r--dev-gap/polymaking/Manifest1
-rw-r--r--dev-gap/polymaking/metadata.xml26
-rw-r--r--dev-gap/polymaking/polymaking-0.8.9.ebuild22
-rw-r--r--dev-gap/primgrp/Manifest2
-rw-r--r--dev-gap/primgrp/metadata.xml28
-rw-r--r--dev-gap/primgrp/primgrp-4.0.0.ebuild18
-rw-r--r--dev-gap/primgrp/primgrp-4.0.2.ebuild18
-rw-r--r--dev-gap/qpa/Manifest1
-rw-r--r--dev-gap/qpa/metadata.xml30
-rw-r--r--dev-gap/qpa/qpa-1.36.ebuild23
-rw-r--r--dev-gap/quagroup/Manifest1
-rw-r--r--dev-gap/quagroup/metadata.xml27
-rw-r--r--dev-gap/quagroup/quagroup-1.8.4.ebuild17
-rw-r--r--dev-gap/radiroot/Manifest1
-rw-r--r--dev-gap/radiroot/metadata.xml28
-rw-r--r--dev-gap/radiroot/radiroot-2.9.ebuild18
-rw-r--r--dev-gap/resclasses/Manifest2
-rw-r--r--dev-gap/resclasses/metadata.xml28
-rw-r--r--dev-gap/resclasses/resclasses-4.7.3.ebuild18
-rw-r--r--dev-gap/resclasses/resclasses-4.7.4.ebuild18
-rw-r--r--dev-gap/semigroups/Manifest1
-rw-r--r--dev-gap/semigroups/metadata.xml45
-rw-r--r--dev-gap/semigroups/semigroups-5.6.2.ebuild39
-rw-r--r--dev-gap/singular/Manifest1
-rw-r--r--dev-gap/singular/metadata.xml22
-rw-r--r--dev-gap/singular/singular-2026.04.09.ebuild19
-rw-r--r--dev-gap/sla/Manifest1
-rw-r--r--dev-gap/sla/metadata.xml22
-rw-r--r--dev-gap/sla/sla-1.6.2.ebuild17
-rw-r--r--dev-gap/smallgrp/Manifest1
-rw-r--r--dev-gap/smallgrp/metadata.xml29
-rw-r--r--dev-gap/smallgrp/smallgrp-1.5.4.ebuild24
-rw-r--r--dev-gap/sonata/Manifest1
-rw-r--r--dev-gap/sonata/metadata.xml52
-rw-r--r--dev-gap/sonata/sonata-2.9.7.ebuild16
-rw-r--r--dev-gap/sophus/Manifest1
-rw-r--r--dev-gap/sophus/metadata.xml35
-rw-r--r--dev-gap/sophus/sophus-1.27.ebuild17
-rw-r--r--dev-gap/spinsym/Manifest1
-rw-r--r--dev-gap/spinsym/metadata.xml26
-rw-r--r--dev-gap/spinsym/spinsym-1.5.2.ebuild18
-rw-r--r--dev-gap/tomlib/Manifest1
-rw-r--r--dev-gap/tomlib/metadata.xml43
-rw-r--r--dev-gap/tomlib/tomlib-1.2.11.ebuild22
-rw-r--r--dev-gap/toric/Manifest1
-rw-r--r--dev-gap/toric/metadata.xml22
-rw-r--r--dev-gap/toric/toric-1.9.6.ebuild18
-rw-r--r--dev-gap/transgrp/Manifest1
-rw-r--r--dev-gap/transgrp/files/transgrp-3.6.5-load-gapdoc-before-tests.patch30
-rw-r--r--dev-gap/transgrp/metadata.xml30
-rw-r--r--dev-gap/transgrp/transgrp-3.6.5.ebuild28
-rw-r--r--dev-gap/utils/Manifest2
-rw-r--r--dev-gap/utils/metadata.xml31
-rw-r--r--dev-gap/utils/utils-0.91.ebuild26
-rw-r--r--dev-gap/utils/utils-0.94.ebuild28
199 files changed, 3882 insertions, 0 deletions
diff --git a/dev-gap/aclib/Manifest b/dev-gap/aclib/Manifest
new file mode 100644
index 000000000000..46da0b3d9a77
--- /dev/null
+++ b/dev-gap/aclib/Manifest
@@ -0,0 +1 @@
+DIST aclib-1.3.3.tar.gz 263959 BLAKE2B 4acd5d2d9baf44421dbf1cf6e8a810a7e845dd332f0e2dbd8eb259a7d59153fd79fc68a22763acec7ba53a47cbf8855145b70f2f3f3c095e489b7b4c2f80a68d SHA512 d9c65cd811f5379667243244f588befa2317f2bc15348eaeac45d358f3c95546b8d949f2707d4024751cc724f0389e45d9b9ddac3684c3e2432f865a669b8329
diff --git a/dev-gap/aclib/aclib-1.3.3.ebuild b/dev-gap/aclib/aclib-1.3.3.ebuild
new file mode 100644
index 000000000000..e2654d52bd10
--- /dev/null
+++ b/dev-gap/aclib/aclib-1.3.3.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Almost-crystallographic group library and algorithms for GAP"
+HOMEPAGE="https://www.gap-system.org/Packages/aclib.html"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-gap/polycyclic"
+
+DOCS=( README doc/manual.pdf )
+
+GAP_PKG_HTML_DOCDIR="htm"
+gap-pkg_enable_tests
diff --git a/dev-gap/aclib/metadata.xml b/dev-gap/aclib/metadata.xml
new file mode 100644
index 000000000000..14163478dc97
--- /dev/null
+++ b/dev-gap/aclib/metadata.xml
@@ -0,0 +1,28 @@
+<?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">
+ The AClib package contains a library of almost crystallographic
+ groups and a some algorithms to compute with these groups. A group
+ is called almost crystallographic if it is finitely generated
+ nilpotent-by-finite and has no non-trivial finite normal subgroups.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/aclib</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/alnuth/Manifest b/dev-gap/alnuth/Manifest
new file mode 100644
index 000000000000..4ea1f648fe7f
--- /dev/null
+++ b/dev-gap/alnuth/Manifest
@@ -0,0 +1 @@
+DIST alnuth-3.2.1.tar.gz 404249 BLAKE2B 32a20b64d61ee6552c01f7367a8d56421f6a272fef1645c9ee7962842fe085803b03a1b5732d0f7fbe1917effaf823a44b9e2f6fbc36aaa5e34a5341e80b8f5f SHA512 80e3062270e69aac3a547a03c6ebe15727dceb0fd824e83d46338b6750a41e5230a281f35f04b0c0c02ddb9c47b2f93e23a15438c4266c0886e98ddee55b16ce
diff --git a/dev-gap/alnuth/alnuth-3.2.1.ebuild b/dev-gap/alnuth/alnuth-3.2.1.ebuild
new file mode 100644
index 000000000000..efd5c91c0e08
--- /dev/null
+++ b/dev-gap/alnuth/alnuth-3.2.1.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="Algebraic number theory and an interface to PARI/GP"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# Circular dependency alnuth->polycyclic->alnuth...
+RDEPEND="dev-gap/polycyclic
+ sci-mathematics/pari"
+BDEPEND="test? ( dev-gap/radiroot )"
+
+GAP_PKG_HTML_DOCDIR="htm"
+
+# The "exam" directory contains examples... but they're loaded by
+# read.g, and actually used by dev-gap/polenta!
+GAP_PKG_EXTRA_INSTALL=( exam gp )
+
+gap-pkg_enable_tests
diff --git a/dev-gap/alnuth/metadata.xml b/dev-gap/alnuth/metadata.xml
new file mode 100644
index 000000000000..50df16ddfa9d
--- /dev/null
+++ b/dev-gap/alnuth/metadata.xml
@@ -0,0 +1,29 @@
+<?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">
+ The Alnuth package provides various methods to compute with number
+ fields which are given by a defining polynomial or by
+ generators. Some of the methods provided in this package are written
+ in GAP code. The other part of the methods is imported from the
+ computer algebra system PARI/GP.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/alnuth</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/atlasrep/Manifest b/dev-gap/atlasrep/Manifest
new file mode 100644
index 000000000000..2f29cf202b5e
--- /dev/null
+++ b/dev-gap/atlasrep/Manifest
@@ -0,0 +1,4 @@
+DIST atlasrep-2.1.11.tar.gz 2387994 BLAKE2B bed85572007831788f051651fc9594841b077f6d7c2c09f94b48ef1971aa8fb1377f1a860c06400064458e2ed53100f916dfe59012c0b12ab1f806f043169115 SHA512 176f87c30f937c6597a1e668ca9e14eecbb10a38f25e1d68f2da9dc642790633bd18aba12e0fa58adc9be10e32348711a3dcdb1317fbadd0f78dd967433f638a
+DIST atlasrep-2.1.7-testdata.tar.xz 386468 BLAKE2B d1ef21fa465514fd48acf09b9a73bee91f35093541ae50d734343a9d2daf9590039f6afacb242723a49d25000e678ec13d56635e12a85d72a9fa8eaf936abdfd SHA512 065719e35733c28cd46bab7c719ea70ce61e6fde7fffe722d8d98eeef39d385dc298ed562c739cb45ee3f61a1c2942cdd465a7f043b190a2117db97dbba984f2
+DIST atlasrep-2.1.9.tar.gz 2290567 BLAKE2B 5880f4baf5252d6700ac65706efed140d9c3861a3f67f19db06c675086eab7da29cb7ac687a61d36d9bcb3692b115eda472b3e7440ab231cc3a6bef5ab16a573 SHA512 81399ff8de094148bc501dc1591722b64038d8b31c7dd3fbb66209a5f46044ef4b798f71ab56632d765c3d970a4c333e708bcd6a5cd2ceff54005981d9ab0bc3
+DIST atlasrepdata.tar.gz 22203132 BLAKE2B 1bc5f9c4045b46ab98d48482569134ac8141868fdb3082b453a9a90dfbf8c780faa6da177d0db115dcdd59a04fe1dbbea662a598b2a53cc81a79a88cfb3f6ee0 SHA512 fc1d594eb23486163081360f63c63ee6b81e7cc72f97c3c5a377d7cfd7f93ce1ae0228ba9bd3032f9d1e2ea68150524bbb4a98b73507458d6e23692b35de3151
diff --git a/dev-gap/atlasrep/atlasrep-2.1.11.ebuild b/dev-gap/atlasrep/atlasrep-2.1.11.ebuild
new file mode 100644
index 000000000000..39200cadc844
--- /dev/null
+++ b/dev-gap/atlasrep/atlasrep-2.1.11.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP Interface to the Atlas of Group Representations"
+
+# How to make the test data:
+#
+# gap> SetUserPreference("AtlasRep", "AtlasRepDataDirectory", "some-dir");
+# gap> SetUserPreference("AtlasRep", "AtlasRepAccessRemoteFiles", true);
+# gap> TestPackage("atlasrep"); TestPackage("orb"); ...
+#
+# Then tar up some-dir. This runs the test suite with downloading enabled,
+# so you wind up downloading all of the data you need into some-dir (which
+# has to be writable).
+SRC_URI="https://www.math.rwth-aachen.de/~Thomas.Breuer/atlasrep/${P}.tar.gz
+ https://www.math.rwth-aachen.de/homes/Thomas.Breuer/atlasrep/atlasrepdata.tar.gz
+ https://dev.gentoo.org/~mjo/distfiles/${PN}-2.1.7-testdata.tar.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-gap/io
+ dev-gap/utils"
+
+BDEPEND="test? (
+ dev-gap/ctbllib
+ dev-gap/tomlib
+)"
+gap-pkg_enable_tests
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.1.7-no-remote-access.patch"
+ "${FILESDIR}/${PN}-2.1.9-non-writable-data-dir.patch"
+)
+
+GAP_PKG_EXTRA_INSTALL=(
+ atlasprm.json
+ atlasprm_SHA.json
+ bibl
+ dataext
+ datagens
+ datapkg
+ dataword
+)
+
+src_prepare() {
+ # Move the pre-downloaded data into the empty directories where the
+ # package expects them to be. The archive atlasrepdata.tar.gz
+ # expands to a directory called "atlasrep".
+ for s in ext gens word; do
+ mv "${WORKDIR}/atlasrep/data${s}/"* "data${s}"/ || die
+ done
+ rm data{gens,word}/dummy || die
+
+ default
+}
diff --git a/dev-gap/atlasrep/atlasrep-2.1.9.ebuild b/dev-gap/atlasrep/atlasrep-2.1.9.ebuild
new file mode 100644
index 000000000000..c855ee9997f7
--- /dev/null
+++ b/dev-gap/atlasrep/atlasrep-2.1.9.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP Interface to the Atlas of Group Representations"
+
+# How to make the test data:
+#
+# gap> SetUserPreference("AtlasRep", "AtlasRepDataDirectory", "some-dir");
+# gap> SetUserPreference("AtlasRep", "AtlasRepAccessRemoteFiles", true);
+# gap> TestPackage("atlasrep"); TestPackage("orb"); ...
+#
+# Then tar up some-dir. This runs the test suite with downloading enabled,
+# so you wind up downloading all of the data you need into some-dir (which
+# has to be writable).
+SRC_URI="https://www.math.rwth-aachen.de/~Thomas.Breuer/atlasrep/${P}.tar.gz
+ https://www.math.rwth-aachen.de/homes/Thomas.Breuer/atlasrep/atlasrepdata.tar.gz
+ https://dev.gentoo.org/~mjo/distfiles/${PN}-2.1.7-testdata.tar.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-gap/io
+ dev-gap/utils"
+
+BDEPEND="test? (
+ dev-gap/ctbllib
+ dev-gap/tomlib
+)"
+gap-pkg_enable_tests
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.1.7-no-remote-access.patch"
+ "${FILESDIR}/${PN}-2.1.9-non-writable-data-dir.patch"
+)
+
+GAP_PKG_EXTRA_INSTALL=(
+ atlasprm.json
+ atlasprm_SHA.json
+ bibl
+ dataext
+ datagens
+ datapkg
+ dataword
+)
+
+src_prepare() {
+ # Move the pre-downloaded data into the empty directories where the
+ # package expects them to be. The archive atlasrepdata.tar.gz
+ # expands to a directory called "atlasrep".
+ for s in ext gens word; do
+ mv "${WORKDIR}/atlasrep/data${s}/"* "data${s}"/ || die
+ done
+ rm data{gens,word}/dummy || die
+
+ default
+}
diff --git a/dev-gap/atlasrep/files/atlasrep-2.1.7-no-remote-access.patch b/dev-gap/atlasrep/files/atlasrep-2.1.7-no-remote-access.patch
new file mode 100644
index 000000000000..0bc0afe410b8
--- /dev/null
+++ b/dev-gap/atlasrep/files/atlasrep-2.1.7-no-remote-access.patch
@@ -0,0 +1,27 @@
+From 73fee69243be30b25af3322dc66ad061c5d8fa38 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sat, 16 Dec 2023 13:41:05 -0500
+Subject: [PATCH 1/2] gap/userpref.g: disable AtlasRepAccessRemoteFiles by
+ default
+
+On Gentoo, we include all of the available data by default.
+---
+ gap/userpref.g | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gap/userpref.g b/gap/userpref.g
+index 067ddf1..75140b9 100644
+--- a/gap/userpref.g
++++ b/gap/userpref.g
+@@ -44,7 +44,7 @@ information shown by 'DisplayAtlasInfo', \
+ this information depends on the value of the preference at the time \
+ when the AtlasRep package and its data extensions get loaded."
+ ],
+- default:= true,
++ default:= false,
+ values:= [ true, false ],
+ multi:= false,
+ package:= "AtlasRep",
+--
+2.41.0
+
diff --git a/dev-gap/atlasrep/files/atlasrep-2.1.9-non-writable-data-dir.patch b/dev-gap/atlasrep/files/atlasrep-2.1.9-non-writable-data-dir.patch
new file mode 100644
index 000000000000..82ea59c8a95e
--- /dev/null
+++ b/dev-gap/atlasrep/files/atlasrep-2.1.9-non-writable-data-dir.patch
@@ -0,0 +1,27 @@
+From 965555e07a73d20dd0c0b04cef2a922fb5471d78 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Tue, 1 Apr 2025 09:28:33 -0400
+Subject: [PATCH] gap/userpref.g: allow non-writable AtlasRepDataDirectory
+
+On Gentoo, all of the data is already there. So there's no reason to
+download it. So there's no requirement for the directory to be
+writable. (Remote access is disabled by default anyway.)
+---
+ gap/userpref.g | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gap/userpref.g b/gap/userpref.g
+index 9c4cf6e..d685561 100644
+--- a/gap/userpref.g
++++ b/gap/userpref.g
+@@ -107,6 +107,7 @@ otherwise the default is an empty string."
+ fi;
+
+ dir:= DirectoriesPackageLibrary( "atlasrep", "" );
++ return Filename( dir, "" );
+ if ForAll( [ "dataext", "datagens", "dataword" ],
+ subdir -> IsWritableFile( Filename( dir, subdir ) ) ) then
+ # The package directory is the first default.
+--
+2.49.0
+
diff --git a/dev-gap/atlasrep/metadata.xml b/dev-gap/atlasrep/metadata.xml
new file mode 100644
index 000000000000..30a102567b7f
--- /dev/null
+++ b/dev-gap/atlasrep/metadata.xml
@@ -0,0 +1,25 @@
+<?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">
+ AtlasRep provides an interface between GAP and databases such as the
+ Atlas of Group Representations, which comprises representations of
+ many almost simple groups and information about their maximal
+ subgroups, and is included in the GAP package.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-gap/autodoc/Manifest b/dev-gap/autodoc/Manifest
new file mode 100644
index 000000000000..69ea6d926b88
--- /dev/null
+++ b/dev-gap/autodoc/Manifest
@@ -0,0 +1,2 @@
+DIST autodoc-2025.05.09.tar.gz 537390 BLAKE2B dce73e26bdf425aa67b0781288c11f3fc3f7c2d9ddc35e12670f89f8e883d7462483220f1d2d976d13c91e7fcf9d86439499c6ff2f206b9148fa75a02af52f1c SHA512 0b0f7a59530f2590df2e34f3b7f75c38e298cabd826ba3447802af1a222b1c86212105b3cee961cef5a43e9734081c8dffc27e2b7c1bd3469ec0c4d2268f3ac4
+DIST autodoc-2026.05.03.tar.gz 533928 BLAKE2B 73977fa34eb87ecd317c7831528ad2353735a3ace4716b17ad0c953b5d2bcb5a48e937f6be8d9d76126e7f8ff06a5f65cfa2b60fb8051d421604624d338f27fb SHA512 40f34b87d7f28131046eef484c2290572a9b47ae2c66ff59a54afca0800df3b718e114a6b68be476b14f96dfbb105a21b8de28855ae1fa27c4ab4255c2fc0183
diff --git a/dev-gap/autodoc/autodoc-2025.05.09.ebuild b/dev-gap/autodoc/autodoc-2025.05.09.ebuild
new file mode 100644
index 000000000000..81336e625db4
--- /dev/null
+++ b/dev-gap/autodoc/autodoc-2025.05.09.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Generate documentation from GAP source code"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+S="${WORKDIR}/AutoDoc-${PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+# The test suite tries to LoadPackage this
+BDEPEND="test? ( dev-gap/io )"
+gap-pkg_enable_tests
+
+src_prepare() {
+ default
+ rm -f makefile || die
+}
diff --git a/dev-gap/autodoc/autodoc-2026.05.03.ebuild b/dev-gap/autodoc/autodoc-2026.05.03.ebuild
new file mode 100644
index 000000000000..a3c4f7f372a6
--- /dev/null
+++ b/dev-gap/autodoc/autodoc-2026.05.03.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Generate documentation from GAP source code"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+S="${WORKDIR}/AutoDoc-${PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+# The test suite tries to LoadPackage this
+BDEPEND="test? ( dev-gap/io )"
+gap-pkg_enable_tests
+
+src_prepare() {
+ default
+ rm -f makefile || die
+}
diff --git a/dev-gap/autodoc/metadata.xml b/dev-gap/autodoc/metadata.xml
new file mode 100644
index 000000000000..1c4257144d5b
--- /dev/null
+++ b/dev-gap/autodoc/metadata.xml
@@ -0,0 +1,31 @@
+<?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">
+ AutoDoc is a package for the GAP computer algebra system. It is
+ meant to simplify the creation of reference manuals for GAP
+ packages. It makes it possible to create documentation from source
+ code comments, without writing XML files. It is not a substitute for
+ GAPDoc, but rather builds on GAPDoc, by generating XML input for the
+ latter. As such, you can combine an existing GAPDoc manual with
+ AutoDoc.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/AutoDoc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/autpgrp/Manifest b/dev-gap/autpgrp/Manifest
new file mode 100644
index 000000000000..dfa24d7c5286
--- /dev/null
+++ b/dev-gap/autpgrp/Manifest
@@ -0,0 +1,2 @@
+DIST autpgrp-1.11.1.tar.gz 195014 BLAKE2B d3cc82bac2707087215b6798354ee63d2d9e5f9669cd8de0ae9df9d7f48c1a19a3f8488b2e65c1962c71cc6889548c14efd6268e2939dd98c34297af79d43187 SHA512 ca21f452820b50670537a7096f20078fecacf9fe4800add0d11a74619e429a04228b96e5c3735517828d7865c7d1955fc5b8432d55b4b7eb08ee6e6a93ad274f
+DIST autpgrp-1.11.tar.gz 197242 BLAKE2B c3d3a06d598b565aa56a41c745d615b67470046455c2a105374383ffd094c136700b19440a28d9254c68ef41a8351600947ce53621c16d1f0b57de1f651c7884 SHA512 2fed6a0448103259f394e96f0ea3ace6f36ef42c616c51f22f67287edda99f66c6e7b4a9cde4f6549925e20c118c64466e4f5201cac51bde823be5d5647696f3
diff --git a/dev-gap/autpgrp/autpgrp-1.11.1.ebuild b/dev-gap/autpgrp/autpgrp-1.11.1.ebuild
new file mode 100644
index 000000000000..bd3235052c46
--- /dev/null
+++ b/dev-gap/autpgrp/autpgrp-1.11.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Computing the Automorphism Group of a p-Group"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+DOCS=( README CHANGES.md )
+
+GAP_PKG_HTML_DOCDIR="htm"
+gap-pkg_enable_tests
diff --git a/dev-gap/autpgrp/autpgrp-1.11.ebuild b/dev-gap/autpgrp/autpgrp-1.11.ebuild
new file mode 100644
index 000000000000..8c66dd2993ef
--- /dev/null
+++ b/dev-gap/autpgrp/autpgrp-1.11.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Computing the Automorphism Group of a p-Group"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+DOCS=( README CHANGES.md )
+
+GAP_PKG_HTML_DOCDIR="htm"
+gap-pkg_enable_tests
diff --git a/dev-gap/autpgrp/metadata.xml b/dev-gap/autpgrp/metadata.xml
new file mode 100644
index 000000000000..d7915f99a38f
--- /dev/null
+++ b/dev-gap/autpgrp/metadata.xml
@@ -0,0 +1,31 @@
+<?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">
+ The AutPGrp package introduces a new function to compute the
+ automorphism group of a finite p-group. The underlying algorithm is
+ a refinement of the methods described in O'Brien (1995). In
+ particular, this implementation is more efficient in both time and
+ space requirements and hence has a wider range of applications than
+ the ANUPQ method. It also usually out-performs all but the method
+ designed for finite abelian groups.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/autpgrp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/browse/Manifest b/dev-gap/browse/Manifest
new file mode 100644
index 000000000000..fc652ef1f090
--- /dev/null
+++ b/dev-gap/browse/Manifest
@@ -0,0 +1,2 @@
+DIST Browse-1.8.21.tar.gz 1830672 BLAKE2B b79dacba18c0d1ccea3a3ee30ad4c818b4e3727d336e05ab4958b14cc8556b5dfc32a6c529d0f001098e22c7f97eedd4aa26b617001c52884ea3b435ec40d995 SHA512 aba81e073c4c3cb7080c7ab28189ab7052f27d56927c8fde047f9ece71c42ff0eadf6cba42e0bc77f409082206f99987f4aff43226543e6f474b372f4d2104ff
+DIST Browse-1.8.22.tar.gz 1855259 BLAKE2B 08d8295329d0f022c556fbe673a3d83fc50cb1e128f98c6ec4b3563ba66b7c3e7a456d9b73a3f207c72291ee03851accda4f1056f06d98acec4fdd0f8252fdb8 SHA512 0040381edc4139974a63eb998ee7a1e0fca6ff8c97fcfded446567ca0658db74a83466a969aa9b3eea1c71794d98bdbcf0f8b550e2d4d1175e4e41195ab4f3d6
diff --git a/dev-gap/browse/browse-1.8.21-r2.ebuild b/dev-gap/browse/browse-1.8.21-r2.ebuild
new file mode 100644
index 000000000000..229fad9e7eff
--- /dev/null
+++ b/dev-gap/browse/browse-1.8.21-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic gap-pkg
+
+MY_PN=Browse
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="GAP ncurses interface for browsing two-dimensional data"
+SRC_URI="https://www.math.rwth-aachen.de/homes/${MY_PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+DEPEND="sci-mathematics/gap:=
+ sys-libs/ncurses:="
+RDEPEND="${DEPEND}"
+
+BDEPEND="test? (
+ dev-gap/ctbllib
+ dev-gap/tomlib
+)"
+gap-pkg_enable_tests
+
+GAP_PKG_EXTRA_INSTALL=( app bibl )
+
+src_compile() {
+ # This has been emailed upstream but there's no public
+ # bug tracker AFAIK.
+ append-cflags -Wno-error=strict-prototypes
+ gap-pkg_src_compile
+}
+
+src_test() {
+ # TestPackage doesn't work for this guy. Copy the eclass src_test()
+ # and modify it to use TestDirectory() instead of TestPackage().
+ local gapcmd="gap -R -A --nointeract -c "
+ gapcmd+="LoadPackage(\"${PN}\");"
+ gapcmd+="d:=DirectoriesPackageLibrary(\"${PN}\",\"tst\");"
+ gapcmd+="TestDirectory(d[1],rec(exitGAP:=true));"
+ ln -s "${WORKDIR}" "${T}/pkg" || die
+ gapcmd+=" --roots ${T}/; "
+
+ # Even the "tee" pipe from the eclass isn't enough to stop
+ # this one from acting wacky, although it doesn't really
+ # break the terminal any more. Instead it just enters
+ # display mode and wipes your screen for a bit.
+ einfo "running test suite quietly to avoid borking your terminal"
+ ${gapcmd} > test-suite.log \
+ || die "test suite failed, see test-suite.log"
+}
diff --git a/dev-gap/browse/browse-1.8.22.ebuild b/dev-gap/browse/browse-1.8.22.ebuild
new file mode 100644
index 000000000000..c8efb40edbf2
--- /dev/null
+++ b/dev-gap/browse/browse-1.8.22.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic gap-pkg
+
+MY_PN=Browse
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="GAP ncurses interface for browsing two-dimensional data"
+SRC_URI="https://www.math.rwth-aachen.de/homes/${MY_PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+DEPEND="sci-mathematics/gap:=
+ sys-libs/ncurses:="
+RDEPEND="${DEPEND}"
+
+BDEPEND="test? (
+ dev-gap/ctbllib
+ dev-gap/tomlib
+)"
+gap-pkg_enable_tests
+
+GAP_PKG_EXTRA_INSTALL=( app bibl )
+
+src_compile() {
+ # This has been emailed upstream but there's no public
+ # bug tracker AFAIK.
+ append-cflags -Wno-error=strict-prototypes
+ gap-pkg_src_compile
+}
+
+src_test() {
+ # TestPackage doesn't work for this guy. Copy the eclass src_test()
+ # and modify it to use TestDirectory() instead of TestPackage().
+ local gapcmd="gap -R -A --nointeract -c "
+ gapcmd+="LoadPackage(\"${PN}\");"
+ gapcmd+="d:=DirectoriesPackageLibrary(\"${PN}\",\"tst\");"
+ gapcmd+="TestDirectory(d[1],rec(exitGAP:=true));"
+ ln -s "${WORKDIR}" "${T}/pkg" || die
+ gapcmd+=" --roots ${T}/; "
+
+ # Even the "tee" pipe from the eclass isn't enough to stop
+ # this one from acting wacky, although it doesn't really
+ # break the terminal any more. Instead it just enters
+ # display mode and wipes your screen for a bit.
+ einfo "running test suite quietly to avoid borking your terminal"
+ ${gapcmd} > test-suite.log \
+ || die "test suite failed, see test-suite.log"
+}
diff --git a/dev-gap/browse/metadata.xml b/dev-gap/browse/metadata.xml
new file mode 100644
index 000000000000..9455e1e15ea5
--- /dev/null
+++ b/dev-gap/browse/metadata.xml
@@ -0,0 +1,31 @@
+<?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">
+ The Browse package provides three levels of functionality:
+
+ 1 A GAP interface to the C-library ncurses.
+
+ 2 A generic function for interactive browsing through
+ two-dimensional arrays of data.
+
+ 3 Several applications of the first two, e.g., a method for
+ browsing character tables, browsing through the content of some
+ data collections, or some games.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-gap/congruence/Manifest b/dev-gap/congruence/Manifest
new file mode 100644
index 000000000000..8f05df1761c4
--- /dev/null
+++ b/dev-gap/congruence/Manifest
@@ -0,0 +1 @@
+DIST congruence-1.2.7.tar.gz 341371 BLAKE2B 2a699c4a4c1506036a183cf9a199f2116bbfc47dda8dec1b725d001260514fa80a320fc90521c220d741b7c4a42d38c268c5707867497107c52c847dca4d6902 SHA512 20941f8acba3db26a57255b104d337a801d80c7f93b452359b0ee3171b1a526f9181d52e9e08b56ee87bbd2b61ba5bc76cfafc810352eb5ec6153806d922e461
diff --git a/dev-gap/congruence/congruence-1.2.7.ebuild b/dev-gap/congruence/congruence-1.2.7.ebuild
new file mode 100644
index 000000000000..2702762108f8
--- /dev/null
+++ b/dev-gap/congruence/congruence-1.2.7.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Congruence subgroups of SL(2,ZZ) for GAP"
+SRC_URI="https://github.com/gap-packages/congruence/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/congruence/metadata.xml b/dev-gap/congruence/metadata.xml
new file mode 100644
index 000000000000..8ecb1a5bc49a
--- /dev/null
+++ b/dev-gap/congruence/metadata.xml
@@ -0,0 +1,30 @@
+<?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">
+ The GAP package Congruence provides functions to construct several
+ types of canonical congruence subgroups in SL_2(Z), and also
+ intersections of a finite number of such subgroups. Furthermore, it
+ implements the algorithm for generating Farey symbols for congruence
+ subgroups and using them to produce a system of independent
+ generators for these subgroups.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/congruence</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/corelg/Manifest b/dev-gap/corelg/Manifest
new file mode 100644
index 000000000000..9a77fa60abe7
--- /dev/null
+++ b/dev-gap/corelg/Manifest
@@ -0,0 +1 @@
+DIST corelg-1.57.tar.gz 1125659 BLAKE2B fe995204b8d792ec7f2d9f594797e54b32b74a90a8729311aaa9784c4a3b34a17431cb04f2366fd7a51792045b2ca60685eb9c38dd20abfd816614d52ba3571d SHA512 c441b4348bf18d1d6c4671c8f88c79f317ce53af712140704fb692b573c985b3fb51a2d7afdf44cecb1d3e2dd50e7411adeb1668194fe8f34892e2182958d875
diff --git a/dev-gap/corelg/corelg-1.57.ebuild b/dev-gap/corelg/corelg-1.57.ebuild
new file mode 100644
index 000000000000..d6f050ee649c
--- /dev/null
+++ b/dev-gap/corelg/corelg-1.57.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP package to compute with real semisimple Lie algebras"
+SRC_URI="https://github.com/gap-packages/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-gap/sla"
+
+DOCS=( README.md CHANGES.md )
+
+gap-pkg_enable_tests
diff --git a/dev-gap/corelg/metadata.xml b/dev-gap/corelg/metadata.xml
new file mode 100644
index 000000000000..a60809404932
--- /dev/null
+++ b/dev-gap/corelg/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <upstream>
+ <remote-id type="github">gap-packages/corelg</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/crime/Manifest b/dev-gap/crime/Manifest
new file mode 100644
index 000000000000..39ef152e06f5
--- /dev/null
+++ b/dev-gap/crime/Manifest
@@ -0,0 +1 @@
+DIST crime-1.6.tar.gz 326186 BLAKE2B 052be1cf1c21b4c9510fc78ef5fa8abf0787800473200257a0c1d8373d273ab28aefa536f3c5fb2ea4d0da7cdf9ed2dbbb307e19437c554e78c103b8ba6d8b07 SHA512 1c2ffabdc7182c649db129bc8bccaabb86e7e560af219d7a3b83dfb5f499a60a30b4ea75a8b820ef3ac86449d44498ff1a6809d45234cc244e5c8a11746643a4
diff --git a/dev-gap/crime/crime-1.6.ebuild b/dev-gap/crime/crime-1.6.ebuild
new file mode 100644
index 000000000000..c03f318e0f9d
--- /dev/null
+++ b/dev-gap/crime/crime-1.6.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP Package to calculate group cohomology and Massey products"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+DOCS=( CHANGES.md README.md )
+
+gap-pkg_enable_tests
diff --git a/dev-gap/crime/metadata.xml b/dev-gap/crime/metadata.xml
new file mode 100644
index 000000000000..b15a3e078a25
--- /dev/null
+++ b/dev-gap/crime/metadata.xml
@@ -0,0 +1,28 @@
+<?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 CRIME package computes cohomology rings for finite p-groups
+ using Jon Carlson's method, both as GAP objects, and also in terms
+ of generators and relators. It also computes induced homomorphisms
+ on cohomology and Massey products in the cohomology ring.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/crime</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/crisp/Manifest b/dev-gap/crisp/Manifest
new file mode 100644
index 000000000000..5ae23502b722
--- /dev/null
+++ b/dev-gap/crisp/Manifest
@@ -0,0 +1,2 @@
+DIST crisp-1.4.6.tar.bz2 312722 BLAKE2B 5277c69e884332c9e8afe6ab1ce44131176fc08abf48f7ca3092250b883ed4551ec1f179084877b089724ddc68f921a7c8134899725e07db4a4f027042e07615 SHA512 ef14417cc4fdaf1cc24fe946d3c8d699857aefb932f9c6502a735020233cc259feef0770bd259bdf1b2caca93291ccc578fe3814c0295d5b46a5ead6df297893
+DIST crisp-1.4.8.tar.bz2 303894 BLAKE2B dafb848a1d6403a9ff729fc84a0f1c10e8eb9fc21afa4860f540c1297477d27e8922fe1b560d2ffb74a80fdc03b76fb09a0079a78df66be67304ac5c6467fa62 SHA512 5feefa860950b2e9b5a17f84b95a2711167c1ba0938b3c08d2413c08558a967b13237b872b4899376256898beafd15ac2d35543a1ae635b651c53d859684cb6e
diff --git a/dev-gap/crisp/crisp-1.4.6.ebuild b/dev-gap/crisp/crisp-1.4.6.ebuild
new file mode 100644
index 000000000000..05748fc7093c
--- /dev/null
+++ b/dev-gap/crisp/crisp-1.4.6.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP algorithms for subgroups of finite soluble groups"
+SRC_URI="https://github.com/bh11/${PN}/releases/download/${P^^}/${P}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+GAP_PKG_HTML_DOCDIR="htm"
+gap-pkg_enable_tests
diff --git a/dev-gap/crisp/crisp-1.4.8.ebuild b/dev-gap/crisp/crisp-1.4.8.ebuild
new file mode 100644
index 000000000000..8b2cd0e8f18f
--- /dev/null
+++ b/dev-gap/crisp/crisp-1.4.8.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP algorithms for subgroups of finite soluble groups"
+SRC_URI="https://github.com/bh11/${PN}/releases/download/CrISP-${PV}/${P}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+GAP_PKG_HTML_DOCDIR="htm"
+gap-pkg_enable_tests
diff --git a/dev-gap/crisp/metadata.xml b/dev-gap/crisp/metadata.xml
new file mode 100644
index 000000000000..e762ea686146
--- /dev/null
+++ b/dev-gap/crisp/metadata.xml
@@ -0,0 +1,36 @@
+<?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">
+ CRISP provides algorithms for computing subgroups of finite soluble
+ groups related to a group class C. In particular, it allows to
+ compute C-radicals and C-injectors for Fitting classes (and Fitting
+ sets) C, C-residuals for formations C, and C-projectors for Schunck
+ classes C. In order to carry out these computations, the group class
+ C must be represented by an algorithm which can decide membership in
+ the group class. Moreover, CRISP contains algorithms for the
+ computation of normal subgroups invariant under a prescribed set of
+ automorphisms and belonging to a given group class. This includes
+ an improved method to compute the set of all normal subgroups of a
+ finite soluble group, its characteristic subgroups, minimal normal
+ subgroups and the socle and p-socles for given primes p.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">bh11/crisp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/crypting/Manifest b/dev-gap/crypting/Manifest
new file mode 100644
index 000000000000..dfda9cf9395d
--- /dev/null
+++ b/dev-gap/crypting/Manifest
@@ -0,0 +1 @@
+DIST crypting-0.10.6.tar.gz 156037 BLAKE2B 3869c6ec15c173b0b92fe4583283518d7b75e39471af635df926a4772c77e68e617300a9368d07b3cea097fd271a1bbd1156ea04fcbcb8b2248d7e9597f03ad2 SHA512 1a00de25310fa7b595986853968207dc86001f75041a26cf12af03e830f14570051147be8bdf77ee3b7d9331c674c42cff5711fb351302a1e08ed8c9cd5565a3
diff --git a/dev-gap/crypting/crypting-0.10.6.ebuild b/dev-gap/crypting/crypting-0.10.6.ebuild
new file mode 100644
index 000000000000..aea1da8e329e
--- /dev/null
+++ b/dev-gap/crypting/crypting-0.10.6.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP implementation of SHA256 and HMAC for the Jupyter kernel"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+DEPEND="sci-mathematics/gap:="
+RDEPEND="${DEPEND}"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/crypting/metadata.xml b/dev-gap/crypting/metadata.xml
new file mode 100644
index 000000000000..1cb0f1f131e4
--- /dev/null
+++ b/dev-gap/crypting/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <upstream>
+ <remote-id type="github">gap-packages/crypting</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/cryst/Manifest b/dev-gap/cryst/Manifest
new file mode 100644
index 000000000000..3083103a877d
--- /dev/null
+++ b/dev-gap/cryst/Manifest
@@ -0,0 +1 @@
+DIST cryst-4.1.31.tar.gz 254528 BLAKE2B c4256846d7dfd96fcb0aec0f2940d48943990df032e6b4b5abc2e4097241c6e57d9c5f28ce73e4107b6e7033eafd883e806db3fac8d2b0100fad6c94e5833cda SHA512 181cd4b6e930247a8be6b741d3b80b7c95975dc6d532c9ac9867302f1d33071e873f640e8925d6cd04388061abac69fd4f195014e67849b11cceca4d4bcfe563
diff --git a/dev-gap/cryst/cryst-4.1.31.ebuild b/dev-gap/cryst/cryst-4.1.31.ebuild
new file mode 100644
index 000000000000..4c14fae07665
--- /dev/null
+++ b/dev-gap/cryst/cryst-4.1.31.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP package for computing with crystallographic groups"
+SRC_URI="https://www.math.uni-bielefeld.de/~gaehler/gap/Cryst/${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-gap/polenta
+ dev-gap/polycyclic"
+
+GAP_PKG_EXTRA_INSTALL=( grp )
+gap-pkg_enable_tests
diff --git a/dev-gap/cryst/metadata.xml b/dev-gap/cryst/metadata.xml
new file mode 100644
index 000000000000..dc8f4bef777e
--- /dev/null
+++ b/dev-gap/cryst/metadata.xml
@@ -0,0 +1,31 @@
+<?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, previously known as CrystGAP, provides a rich set of
+ methods for the computation with affine crystallographic groups, in
+ particular space groups. Affine crystallographic groups are fully
+ supported both in representations acting from the right or from the
+ left, the latter one being preferred by crystallographers. Functions
+ to determine representatives of all space group types of a given
+ dimension are also provided.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/cryst</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/crystcat/Manifest b/dev-gap/crystcat/Manifest
new file mode 100644
index 000000000000..93584a8ead90
--- /dev/null
+++ b/dev-gap/crystcat/Manifest
@@ -0,0 +1 @@
+DIST crystcat-1.1.11.tar.gz 281347 BLAKE2B 302fcdfe231eb0ea422412cf108aab6dd00509fa53521e94ae1cb61eb224758388137c41a0398783cdd70a18c1ae4d4b450d762e3257dacf7b0970b6bd448a59 SHA512 7c056ea553d39f8b5f0e0f5f0486550e70e016ce6857d84944066c2bb41b83d85067a579fec21374e97e50b6582d7706e5f8703115f99c1fdedba89bd1fe5c86
diff --git a/dev-gap/crystcat/crystcat-1.1.11.ebuild b/dev-gap/crystcat/crystcat-1.1.11.ebuild
new file mode 100644
index 000000000000..877c621a721f
--- /dev/null
+++ b/dev-gap/crystcat/crystcat-1.1.11.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="The crystallographic groups catalog"
+SRC_URI="https://www.math.uni-bielefeld.de/~gaehler/gap/CrystCat/${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-gap/cryst"
+
+GAP_PKG_EXTRA_INSTALL=( grp )
+gap-pkg_enable_tests
diff --git a/dev-gap/crystcat/metadata.xml b/dev-gap/crystcat/metadata.xml
new file mode 100644
index 000000000000..e67e387a5cca
--- /dev/null
+++ b/dev-gap/crystcat/metadata.xml
@@ -0,0 +1,29 @@
+<?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 a catalog of crystallographic groups of
+ dimensions 2, 3, and 4 which covers most of the data contained in
+ the book Crystallographic groups of four-dimensional space by
+ H. Brown, R. Bülow, J. Neubüser, H. Wondratschek, and H. Zassenhaus
+ (John Wiley, New York, 1978).
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/crystcat</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/ctbllib/Manifest b/dev-gap/ctbllib/Manifest
new file mode 100644
index 000000000000..1e2a8bc2c782
--- /dev/null
+++ b/dev-gap/ctbllib/Manifest
@@ -0,0 +1,2 @@
+DIST ctbllib-1.3.11.tar.gz 18139539 BLAKE2B 506969149efa9d8f3c1da32c32d81f5543645dd286feab3f4cd2894738723b73db442892596f87c655ba6a274d8affbabbaaaaf2ea40843ce022db7a9792be95 SHA512 f62676a94495dbef2ad91c8b1a975f725afda38af63f81f837028ac5c3ca43a15c3d828da1eb7e9abf161931044cabde744841e2ff68b5d8b45de95b06d754ea
+DIST ctbllib-1.3.9.tar.gz 17452154 BLAKE2B 65df78542934ac7d2ec42c977fecb0cc7ca31932ad072583dec2d0f0c858deaca499730db63572824f8f3c1e3d7cc005045b2eefaf77d54d43fff3ad174e13f3 SHA512 84385c0b3fb29b05bd6ea221ca78220609518c13b79f884839390090c620a6e194c841d72702dea0ce974af8be9df9bf27722a76736f91096b1ea4c6f17e9aa2
diff --git a/dev-gap/ctbllib/ctbllib-1.3.11.ebuild b/dev-gap/ctbllib/ctbllib-1.3.11.ebuild
new file mode 100644
index 000000000000..3c6642ab25c1
--- /dev/null
+++ b/dev-gap/ctbllib/ctbllib-1.3.11.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="The GAP Character Table Library"
+SRC_URI="https://www.math.rwth-aachen.de/~Thomas.Breuer/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-gap/atlasrep"
+BDEPEND="test? (
+ dev-gap/browse
+ dev-gap/spinsym
+ dev-gap/tomlib
+)"
+
+# These are "extra" docs and not the HTML produced by GAPDoc. The glob
+# gets expanded if we use a plain variable but not if we use a bash
+# array.
+HTML_DOCS="htm/*"
+
+GAP_PKG_EXTRA_INSTALL=( ctbltoc data dlnames doc2 gap4 )
+
+gap-pkg_enable_tests
+
+src_install() {
+ gap-pkg_src_install
+
+ # This package has a "doc2" directory that contains an entirely
+ # separate set of GAPDoc documentation called "CTblLibXpls." They
+ # are mentioned in PackageInfo.g. On the assumption that "Xpls"
+ # stands for "examples," we install it (unconditionally, and via
+ # symlink) as "examples" by copying most of the GAPDoc installation
+ # bits from gap-pkg_src_install().
+ pushd doc2 > /dev/null || die
+
+ local docdir="$(gap-pkg_dir)/doc2"
+ insinto "${docdir}"
+
+ local f
+ for f in *.{lab,six,txt,xml}; do
+ doins "${f}"
+ done
+
+ for f in *.pdf; do
+ doins "${f}"
+ dosym -r "${docdir}/${f}" "/usr/share/doc/${PF}/examples/${f}"
+ done
+
+ for f in *.{html,css,js,png}; do
+ doins "${f}"
+ dosym -r "${docdir}/${f}" "/usr/share/doc/${PF}/examples/html/${f}"
+ done
+
+ popd > /dev/null || die
+}
diff --git a/dev-gap/ctbllib/ctbllib-1.3.9.ebuild b/dev-gap/ctbllib/ctbllib-1.3.9.ebuild
new file mode 100644
index 000000000000..162235782a57
--- /dev/null
+++ b/dev-gap/ctbllib/ctbllib-1.3.9.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="The GAP Character Table Library"
+SRC_URI="https://www.math.rwth-aachen.de/~Thomas.Breuer/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-gap/atlasrep"
+BDEPEND="test? (
+ dev-gap/browse
+ dev-gap/spinsym
+ dev-gap/tomlib
+)"
+
+# These are "extra" docs and not the HTML produced by GAPDoc. The glob
+# gets expanded if we use a plain variable but not if we use a bash
+# array.
+HTML_DOCS="htm/*"
+
+GAP_PKG_EXTRA_INSTALL=( ctbltoc data dlnames doc2 gap4 )
+
+gap-pkg_enable_tests
+
+src_install() {
+ gap-pkg_src_install
+
+ # This package has a "doc2" directory that contains an entirely
+ # separate set of GAPDoc documentation called "CTblLibXpls." They
+ # are mentioned in PackageInfo.g. On the assumption that "Xpls"
+ # stands for "examples," we install it (unconditionally, and via
+ # symlink) as "examples" by copying most of the GAPDoc installation
+ # bits from gap-pkg_src_install().
+ pushd doc2 > /dev/null || die
+
+ local docdir="$(gap-pkg_dir)/doc2"
+ insinto "${docdir}"
+
+ local f
+ for f in *.{lab,six,txt,xml}; do
+ doins "${f}"
+ done
+
+ for f in *.pdf; do
+ doins "${f}"
+ dosym -r "${docdir}/${f}" "/usr/share/doc/${PF}/examples/${f}"
+ done
+
+ for f in *.{html,css,js,png}; do
+ doins "${f}"
+ dosym -r "${docdir}/${f}" "/usr/share/doc/${PF}/examples/html/${f}"
+ done
+
+ popd > /dev/null || die
+}
diff --git a/dev-gap/ctbllib/metadata.xml b/dev-gap/ctbllib/metadata.xml
new file mode 100644
index 000000000000..df52135df9e1
--- /dev/null
+++ b/dev-gap/ctbllib/metadata.xml
@@ -0,0 +1,19 @@
+<?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>
+</pkgmetadata>
diff --git a/dev-gap/cvec/Manifest b/dev-gap/cvec/Manifest
new file mode 100644
index 000000000000..1227e8def276
--- /dev/null
+++ b/dev-gap/cvec/Manifest
@@ -0,0 +1 @@
+DIST cvec-2.8.4.tar.gz 637683 BLAKE2B 8d234ba28d8b663bfeaa7da3fc253a6888be817f846c43645c8f4538a006dd5f9a5199a512e4b17f96b9ec119f107261b1e2e7a33269de5da438ffb7928901c9 SHA512 d5a2362fa94e77a1a67455c62278aebd1c372d009b6f4fb79da75314cffe8c340f55c7afe922ff45efd337fd3660be9784c2c695ebc5a3a1a1221d5fa33d6f6d
diff --git a/dev-gap/cvec/cvec-2.8.4.ebuild b/dev-gap/cvec/cvec-2.8.4.ebuild
new file mode 100644
index 000000000000..65663d70371a
--- /dev/null
+++ b/dev-gap/cvec/cvec-2.8.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Compact vectors over finite fields in GAP"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="examples"
+
+DEPEND="sci-mathematics/gap:="
+RDEPEND="${DEPEND}
+ dev-gap/io
+ dev-gap/orb"
+
+gap-pkg_enable_tests
+
+src_install() {
+ gap-pkg_src_install
+
+ if use examples; then
+ docinto examples
+ dodoc example/*
+ fi
+}
diff --git a/dev-gap/cvec/metadata.xml b/dev-gap/cvec/metadata.xml
new file mode 100644
index 000000000000..690f64f74890
--- /dev/null
+++ b/dev-gap/cvec/metadata.xml
@@ -0,0 +1,28 @@
+<?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 an implementation of compact vectors over
+ finite fields. Contrary to earlier implementations no table lookups
+ are used but only word-based processor arithmetic. This allows for
+ bigger finite fields and higher speed.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/cvec</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/datastructures/Manifest b/dev-gap/datastructures/Manifest
new file mode 100644
index 000000000000..07ba12b7cd1a
--- /dev/null
+++ b/dev-gap/datastructures/Manifest
@@ -0,0 +1 @@
+DIST datastructures-0.4.1.tar.gz 353505 BLAKE2B 52bb3e8ed436f19de93b476bdb58d1137ff8dd6d4a9ab89be21ae536de9694864a64fc747c47689d6885f14327f08975c6097e95cf19a9b25673362f1c18aa75 SHA512 12bc593471d677c12cb61bbf908a8c24134c0b4bda02cde99d30a9b1e275348ccf2a6e0d0c177c3893637e1a35b78ddac1a9f0d4a12355a9fc4cc279fe251685
diff --git a/dev-gap/datastructures/datastructures-0.4.1.ebuild b/dev-gap/datastructures/datastructures-0.4.1.ebuild
new file mode 100644
index 000000000000..3b7818e73320
--- /dev/null
+++ b/dev-gap/datastructures/datastructures-0.4.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Collection of standard data structures for GAP"
+SRC_URI="https://github.com/gap-packages/datastructures/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+DEPEND="sci-mathematics/gap:="
+RDEPEND="${DEPEND}"
+
+DOCS=( CHANGES.md README.md )
+
+gap-pkg_enable_tests
diff --git a/dev-gap/datastructures/metadata.xml b/dev-gap/datastructures/metadata.xml
new file mode 100644
index 000000000000..32d66c435d99
--- /dev/null
+++ b/dev-gap/datastructures/metadata.xml
@@ -0,0 +1,45 @@
+<?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">
+ The datastructures package aims at providing standard
+ datastructures, consolidating existing code and improving on it, in
+ particular in view of HPC-GAP.
+
+ The datastructures package consists of two parts: interface
+ declarations and implementations. The goal of interface declarations
+ is to define standard interfaces for datastructures and decouple
+ them from the implementations. This enables easy exchangability of
+ implementations, for example for more efficient implementations, or
+ implementations more suited for parallelisation or sequential use.
+
+ The datastructures package declares interfaces for the following
+ datastructures:
+
+ * queues
+ * doubly linked lists
+ * heaps
+ * priority queues
+ * hash tables
+ * dictionaries
+
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/datastructures</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/design/Manifest b/dev-gap/design/Manifest
new file mode 100644
index 000000000000..6a664ccaa6a4
--- /dev/null
+++ b/dev-gap/design/Manifest
@@ -0,0 +1 @@
+DIST design-1.8.2.tar.gz 401594 BLAKE2B 856393e0a57b0eda81bfbf76efa663ceeba94722b193b17a0dc2e58048827bc658954a673da2fb93b21b6d859077853af97cd55643c21863c6a80348fb6c5fc4 SHA512 12ea842d7ccb13c05e627157ebc3a16187ed44aa672ebf97a85e6ca22d0d717b749d1d1d44cf52ad87d9d04bdf18bf2601e54a1fc20740ad2d6a4ebbd30a0240
diff --git a/dev-gap/design/design-1.8.2.ebuild b/dev-gap/design/design-1.8.2.ebuild
new file mode 100644
index 000000000000..f662c7cf0aa7
--- /dev/null
+++ b/dev-gap/design/design-1.8.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="The Design Package for GAP"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-gap/grape"
+
+DOCS=( README.md CHANGES.md )
+
+gap-pkg_enable_tests
diff --git a/dev-gap/design/metadata.xml b/dev-gap/design/metadata.xml
new file mode 100644
index 000000000000..a90120b2906e
--- /dev/null
+++ b/dev-gap/design/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <upstream>
+ <remote-id type="github">gap-packages/design</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/digraphs/Manifest b/dev-gap/digraphs/Manifest
new file mode 100644
index 000000000000..f85cece57ffb
--- /dev/null
+++ b/dev-gap/digraphs/Manifest
@@ -0,0 +1 @@
+DIST digraphs-1.14.0.tar.gz 2897892 BLAKE2B cc5965eedb7383399e424d69ab23521dbcd261645c4c1e5e86f027c326b35f30c3fdeb3640ab5843a054699071b4657cbd2b4f18070b7692a28f232d95828d53 SHA512 0d732d0fd72485470b0e13979d6d08f0e614c43ae89313f2d603d2ed5652d2d9c813207ca2101c87e1914252bb81d58df7fdfe006adb25615d855853fd10fde7
diff --git a/dev-gap/digraphs/digraphs-1.14.0.ebuild b/dev-gap/digraphs/digraphs-1.14.0.ebuild
new file mode 100644
index 000000000000..a69c12711c8c
--- /dev/null
+++ b/dev-gap/digraphs/digraphs-1.14.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Graphs, digraphs, and multidigraphs in GAP"
+SRC_URI="https://github.com/digraphs/Digraphs/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+DEPEND="sci-mathematics/gap:=
+ >=sci-mathematics/planarity-4
+ sci-libs/bliss:="
+RDEPEND="${DEPEND}
+ dev-gap/io
+ dev-gap/orb
+ dev-gap/datastructures"
+
+# There are a few tests that will fail without a PDF viewer installed.
+# Having xdg-open is good enough, and light weight, so it goes first.
+BDEPEND="test? ( || (
+ x11-misc/xdg-utils
+ app-text/gv
+ app-text/xpdf
+ app-text/evince
+ kde-apps/okular
+) )"
+
+DOCS=( CHANGELOG.md README.md )
+
+GAP_PKG_EXTRA_INSTALL=( data notebooks )
+gap-pkg_enable_tests
+
+src_configure() {
+ gap-pkg_econf \
+ --with-external-planarity \
+ --with-external-bliss
+}
diff --git a/dev-gap/digraphs/metadata.xml b/dev-gap/digraphs/metadata.xml
new file mode 100644
index 000000000000..35d7a398454e
--- /dev/null
+++ b/dev-gap/digraphs/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <upstream>
+ <remote-id type="github">digraphs/Digraphs</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/edim/Manifest b/dev-gap/edim/Manifest
new file mode 100644
index 000000000000..a2cb4807f7a4
--- /dev/null
+++ b/dev-gap/edim/Manifest
@@ -0,0 +1 @@
+DIST EDIM-1.3.8.tar.gz 367765 BLAKE2B c9f8ae3e793615623c33b1c0bb1fbf775956288a706c3e50c411f0bfef4fe255192c10a1b2d18657c8557c165e63b6f85b3dc4ae0660fa4f4e5ea69a3c614f48 SHA512 2e09263a5e819ba36eb233c037924dbbb784434b85ab8d11f9b918ae454922ab282e587d095effcef0cc0c59f4e284363766f7faa66b2562bc9bec7baea69efb
diff --git a/dev-gap/edim/edim-1.3.8.ebuild b/dev-gap/edim/edim-1.3.8.ebuild
new file mode 100644
index 000000000000..2b03900b26e0
--- /dev/null
+++ b/dev-gap/edim/edim-1.3.8.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+MY_PN=EDIM
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="Elementary Divisors of Integer Matrices (EDIM) for GAP"
+SRC_URI="https://www.math.rwth-aachen.de/~Frank.Luebeck/${MY_PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+DEPEND="sci-mathematics/gap:="
+RDEPEND="${DEPEND}"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/edim/metadata.xml b/dev-gap/edim/metadata.xml
new file mode 100644
index 000000000000..ed0e9e26fb22
--- /dev/null
+++ b/dev-gap/edim/metadata.xml
@@ -0,0 +1,26 @@
+<?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 a collection of functions for computing the
+ Smith normal form of integer matrices and some related utilities.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">frankluebeck/EDIM</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/factint/Manifest b/dev-gap/factint/Manifest
new file mode 100644
index 000000000000..89946cf13e89
--- /dev/null
+++ b/dev-gap/factint/Manifest
@@ -0,0 +1 @@
+DIST FactInt-1.6.3.tar.gz 4684712 BLAKE2B 7b312b34ae0a4ab100647f08f0e817594cbca1105ad37cf231d608599e5fffdf0d905819ab31f08be73b759c7be892928e994d9df62aa37f8c7a2e5535508532 SHA512 28fe4cb35c10f834e5efb3baaebf5b1eaac4064b1c182a5ffa057421327de45dd690b70fb848aabac6fa254581fd76f975b497a21d427093d558919cf3716c83
diff --git a/dev-gap/factint/factint-1.6.3.ebuild b/dev-gap/factint/factint-1.6.3.ebuild
new file mode 100644
index 000000000000..03f19bec91b7
--- /dev/null
+++ b/dev-gap/factint/factint-1.6.3.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+MY_PN="FactInt"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="Advanced Methods for Factoring Integers"
+SRC_URI="https://github.com/gap-packages/${MY_PN}/releases/download/v${PV}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+GAP_PKG_EXTRA_INSTALL=( tables )
+gap-pkg_enable_tests
diff --git a/dev-gap/factint/metadata.xml b/dev-gap/factint/metadata.xml
new file mode 100644
index 000000000000..5538a2e4b5f8
--- /dev/null
+++ b/dev-gap/factint/metadata.xml
@@ -0,0 +1,35 @@
+<?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 routines for factoring integers, in
+ particular:
+
+ * Pollard's p-1
+ * Williams' p+1
+ * Elliptic Curves Method (ECM)
+ * Continued Fraction Algorithm (CFRAC)
+ * Multiple Polynomial Quadratic Sieve (MPQS)
+
+ It also provides access to Richard P. Brent's tables of factors of
+ integers of the form b^k +/- 1.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/FactInt</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/fga/Manifest b/dev-gap/fga/Manifest
new file mode 100644
index 000000000000..01146aa2457e
--- /dev/null
+++ b/dev-gap/fga/Manifest
@@ -0,0 +1 @@
+DIST fga-1.5.0.tar.gz 33242 BLAKE2B f304b3856b1b7687d86ba087abf373e3e66934130c631c14023644d230af4d419fb7ce5626229326f03f84bf41f90846f1cdaae326699eee345e65c1e04f62ac SHA512 8c66cd0495e798d315a2407da26d410e51731c3013d4e3b705303a87f340c28a9da39368eab50bf581d2a830bcd9960c100f4a7c91233883549fc5ec7384a748
diff --git a/dev-gap/fga/fga-1.5.0.ebuild b/dev-gap/fga/fga-1.5.0.ebuild
new file mode 100644
index 000000000000..aad8c70f51fd
--- /dev/null
+++ b/dev-gap/fga/fga-1.5.0.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Free Group Algorithms (FGA) for GAP"
+SRC_URI="https://github.com/gap-packages/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/fga/metadata.xml b/dev-gap/fga/metadata.xml
new file mode 100644
index 000000000000..5df43ab2e9e5
--- /dev/null
+++ b/dev-gap/fga/metadata.xml
@@ -0,0 +1,27 @@
+<?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">
+ The FGA package installs methods for computations with finitely
+ generated subgroups of free groups and provides a presentation for
+ their automorphism groups.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">chsievers/fga</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/gapdoc/Manifest b/dev-gap/gapdoc/Manifest
new file mode 100644
index 000000000000..afe6ed001cad
--- /dev/null
+++ b/dev-gap/gapdoc/Manifest
@@ -0,0 +1 @@
+DIST gapdoc-1.6.7.tar.gz 254166 BLAKE2B f827423b3f552570abee08778d3b36850d1512ff84284dbddff96ecf11a767149118edb29809da6f8a10b43c90546f8cd7c2361b2c207c6a7361b7b83f9767ca SHA512 27f21e5060c46a061b009323fa423bf1427410c68e5804dbc0ef66f5334abcac7a35d81e83e2ac1a752be8474f44da003917fed8c236e2b208c6811b7f99ac62
diff --git a/dev-gap/gapdoc/gapdoc-1.6.7.ebuild b/dev-gap/gapdoc/gapdoc-1.6.7.ebuild
new file mode 100644
index 000000000000..89f51c97b400
--- /dev/null
+++ b/dev-gap/gapdoc/gapdoc-1.6.7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+MY_PN=GAPDoc
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="GAP documentation structure and tooling"
+SRC_URI="https://github.com/frankluebeck/${MY_PN}/archive/relv${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-relv${PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+IUSE="examples"
+
+# PackageInfo.g defines TestFile := tst/test.tst, but that
+# file doesn't exist!
+RESTRICT=test
+
+DOCS=( CHANGES README.md )
+
+GAP_PKG_EXTRA_INSTALL=(
+ bibxmlext.dtd
+ gapdoc.dtd
+ styles
+ version
+)
+
+src_install(){
+ gap-pkg_src_install
+
+ if use examples; then
+ docinto examples
+ dodoc -r 3k+1
+ fi
+
+ # The "example" directory is mentioned in PackageInfo.g, so we
+ # include it unconditionally, and install it in the gap package
+ # directory (so that the path in PackageInfo.g is accurate).
+ # Afterwards we symlink it into the usual USE=examples path.
+ insinto $(gap-pkg_dir)
+ doins -r example
+ dosym -r $(gap-pkg_dir)/example \
+ "/usr/share/doc/${PF}/examples/example"
+}
diff --git a/dev-gap/gapdoc/metadata.xml b/dev-gap/gapdoc/metadata.xml
new file mode 100644
index 000000000000..70eaabce12e5
--- /dev/null
+++ b/dev-gap/gapdoc/metadata.xml
@@ -0,0 +1,28 @@
+<?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 contains a definition of a structure for GAP (package)
+ documentation, based on XML. It also contains conversion programs
+ for producing text-, PDF- or HTML-versions of such documents, with
+ hyperlinks if possible.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">frankluebeck/GAPDoc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/gaplint/Manifest b/dev-gap/gaplint/Manifest
new file mode 100644
index 000000000000..db79c9609417
--- /dev/null
+++ b/dev-gap/gaplint/Manifest
@@ -0,0 +1 @@
+DIST gaplint-1.6.1.gh.tar.gz 701406 BLAKE2B 9d43373e8d23b3fc86866a6119997bbc56636982d53ab13e3077750b9345ddfbd5f8faa55e717998c297074f729238ab9df9f9e30dcf18a47c344397d00850d5 SHA512 99d385b30c0015e3586cd3638dd408093798b01a314368f05d7e45aaa24f3f07f784ae41054d787d022137de128a655a792bde2748c4e85076542451fef821b1
diff --git a/dev-gap/gaplint/gaplint-1.6.1.ebuild b/dev-gap/gaplint/gaplint-1.6.1.ebuild
new file mode 100644
index 000000000000..5892200b9b39
--- /dev/null
+++ b/dev-gap/gaplint/gaplint-1.6.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+EPYTEST_PLUGINS=() # hide pkgcheck warning in EAPI=8
+
+inherit distutils-r1
+
+DESCRIPTION="Linter for GAP"
+HOMEPAGE="
+ https://github.com/james-d-mitchell/gaplint
+ https://pypi.org/project/gaplint
+"
+
+# Use the github tarball because it includes the tests.
+SRC_URI="https://github.com/james-d-mitchell/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/rich[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
diff --git a/dev-gap/gaplint/metadata.xml b/dev-gap/gaplint/metadata.xml
new file mode 100644
index 000000000000..e4f5327f9075
--- /dev/null
+++ b/dev-gap/gaplint/metadata.xml
@@ -0,0 +1,19 @@
+<?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="project">
+ <email>sci-mathematics@gentoo.org</email>
+ <name>Gentoo Mathematics Project</name>
+ </maintainer>
+
+ <stabilize-allarches />
+
+ <upstream>
+ <remote-id type="pypi">gaplint</remote-id>
+ <remote-id type="github">james-d-mitchell/gaplint</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/gbnp/Manifest b/dev-gap/gbnp/Manifest
new file mode 100644
index 000000000000..83f3c584bbe6
--- /dev/null
+++ b/dev-gap/gbnp/Manifest
@@ -0,0 +1 @@
+DIST gbnp-1.1.0.tar.gz 823967 BLAKE2B 6c5ed35b989be338f92e292c1407bbd0e462f02b5d7bf4e071f5b25485c11338d44e3bc28730ac9f04e2f919369c91c3553caf339b6d2ab207067ba613e553cf SHA512 cdf5fde0f66fe7ab78d1f7af6e617c1b1f7d57a9d2eb733e1c8badfcb85d8aee2bbeec881dc7496011652cac09b50ca9673b4e14b0dc50b8b8270c9c5e596a49
diff --git a/dev-gap/gbnp/gbnp-1.1.0.ebuild b/dev-gap/gbnp/gbnp-1.1.0.ebuild
new file mode 100644
index 000000000000..eab277f5c4cd
--- /dev/null
+++ b/dev-gap/gbnp/gbnp-1.1.0.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="Compute Gröbner bases of noncommutative polynomials"
+SRC_URI="https://github.com/gap-packages/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="examples"
+
+gap-pkg_enable_tests
+
+src_prepare() {
+ # The GNUmakefile is used to produce the tarball, not to build the
+ # package.
+ rm GNUmakefile || die
+ default
+}
+
+src_install() {
+ gap-pkg_src_install
+ use examples && dodoc -r examples
+}
diff --git a/dev-gap/gbnp/metadata.xml b/dev-gap/gbnp/metadata.xml
new file mode 100644
index 000000000000..bfb19d13e1fa
--- /dev/null
+++ b/dev-gap/gbnp/metadata.xml
@@ -0,0 +1,32 @@
+<?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">
+ The GBNP package provides algorithms for computing Grobner bases of
+ noncommutative polynomials with coefficients from a field
+ implemented in GAP and with respect to the "total degree first then
+ lexicographical" ordering. Further provided are some variations,
+ such as a weighted and truncated version and a tracing facility. The
+ word "algorithm" is to be interpreted loosely here: in general one
+ cannot expect such an algorithm to terminate, as it would imply
+ solvability of the word problem for finitely presented (semi)groups.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/gbnp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/genss/Manifest b/dev-gap/genss/Manifest
new file mode 100644
index 000000000000..6f6f11106dde
--- /dev/null
+++ b/dev-gap/genss/Manifest
@@ -0,0 +1 @@
+DIST genss-1.6.9.tar.bz2 337446 BLAKE2B 1dff9ab98b1a5155704faf835e63d1b905dcb7ce6399317e02302adcea6ec4df40cc1ea39d288d2d6c4101eccdd50707d28dd732bc0e9cfc226e9dc0055033f1 SHA512 f8daf12ad4e9a31997f5b6783a5b1c27484736442eecf2c5c6b80be12d691627a84bba0a05270ea99dfd68eb5fc253d54907b3e5d48ab5e327f2556295751a91
diff --git a/dev-gap/genss/genss-1.6.9.ebuild b/dev-gap/genss/genss-1.6.9.ebuild
new file mode 100644
index 000000000000..9cd2ecc89458
--- /dev/null
+++ b/dev-gap/genss/genss-1.6.9.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP implementation of the randomized Schreier-Sims algorithm"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="examples"
+
+RDEPEND="dev-gap/io
+ dev-gap/orb"
+
+gap-pkg_enable_tests
+
+src_install() {
+ gap-pkg_src_install
+ use examples && dodoc -r examples
+}
diff --git a/dev-gap/genss/metadata.xml b/dev-gap/genss/metadata.xml
new file mode 100644
index 000000000000..c6536e836608
--- /dev/null
+++ b/dev-gap/genss/metadata.xml
@@ -0,0 +1,27 @@
+<?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">
+ The genss package implements the randomised Schreier-Sims algorithm
+ to compute a stabiliser chain and a base and strong generating set
+ for arbitrary finite groups.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/genss</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/grape/Manifest b/dev-gap/grape/Manifest
new file mode 100644
index 000000000000..be4cefec839d
--- /dev/null
+++ b/dev-gap/grape/Manifest
@@ -0,0 +1 @@
+DIST grape-4.9.3.tar.gz 1961273 BLAKE2B 4e9c0f67dbc4484881730198470429a47347f45dc7698a180fed1dbc179fe82764fd99cf15b2e44f7ddcc11f1a99ee24bd661ecccd579058b09172abb9c50e04 SHA512 c9c9982ca44151abc2e0e1a6ebc54b0159d3e580b000bc19dbb535ecb6833e05170eee0de7bac7d1cdcf822d8ea000ee6531142a35b432ae53d18cceae443561
diff --git a/dev-gap/grape/files/grape-4.9.0-exec.patch b/dev-gap/grape/files/grape-4.9.0-exec.patch
new file mode 100644
index 000000000000..3d410772ea00
--- /dev/null
+++ b/dev-gap/grape/files/grape-4.9.0-exec.patch
@@ -0,0 +1,21 @@
+diff --git a/lib/grape.g b/lib/grape.g
+index 683abb6..3f5fdf0 100644
+--- a/lib/grape.g
++++ b/lib/grape.g
+@@ -39,13 +39,12 @@ GRAPE_RANDOM := false; # Determines if certain random methods are to be used
+ GRAPE_NRANGENS := 18; # The number of random generators taken for a subgroup
+ # when GRAPE_RANDOM=true.
+
+-GRAPE_NAUTY := true; # Use nauty when true, else use bliss.
++GRAPE_NAUTY := @nauty@; # Use nauty when true, else use bliss.
+
+-GRAPE_DREADNAUT_EXE :=
+- ExternalFilename(DirectoriesPackagePrograms("grape"),"dreadnaut");
++GRAPE_DREADNAUT_EXE := "@GENTOO_PORTAGE_EPREFIX@/usr/bin/dreadnaut";
+ # filename of dreadnaut or dreadnautB executable
+
+-GRAPE_BLISS_EXE := ExternalFilename(DirectoriesSystemPrograms(),"bliss");
++GRAPE_BLISS_EXE := "@GENTOO_PORTAGE_EPREFIX@/usr/bin/bliss";
+ # filename of bliss executable
+
+ GRAPE_DREADNAUT_INPUT_USE_STRING := false;
diff --git a/dev-gap/grape/grape-4.9.3.ebuild b/dev-gap/grape/grape-4.9.3.ebuild
new file mode 100644
index 000000000000..bfe2a6c9e5bc
--- /dev/null
+++ b/dev-gap/grape/grape-4.9.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg prefix
+
+DESCRIPTION="GRaph Algorithms using PErmutation groups"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="Apache-2.0 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="bliss"
+
+RDEPEND="bliss? ( sci-libs/bliss )
+ !bliss? ( sci-mathematics/nauty )"
+
+PATCHES=( "${FILESDIR}/${PN}-4.9.0-exec.patch" )
+
+DOCS=( README.md CHANGES.md )
+
+GAP_PKG_HTML_DOCDIR="htm"
+GAP_PKG_EXTRA_INSTALL=( grh )
+gap-pkg_enable_tests
+
+src_prepare() {
+ # The ./configure script and Makefile are only used to build
+ # the "dreadnaut" executable that we don't want anyway (we
+ # use the system copy; see $PATCHES).
+ rm -r nauty2_8_6 || die
+ rm configure Makefile.in || die
+
+ default
+
+ local nauty="true"
+ use bliss && nauty="false"
+
+ sed -i "s:@nauty@:${nauty}:" lib/grape.g || die
+ eprefixify lib/grape.g
+}
diff --git a/dev-gap/grape/metadata.xml b/dev-gap/grape/metadata.xml
new file mode 100644
index 000000000000..e408bb154bb4
--- /dev/null
+++ b/dev-gap/grape/metadata.xml
@@ -0,0 +1,33 @@
+<?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">
+ GRAPE is a package for computing with graphs and groups, and is
+ primarily designed for constructing and analysing graphs related to
+ groups, finite geometries, and designs.
+ </longdescription>
+ <use>
+ <flag name="bliss">
+ Use <pkg>sci-libs/bliss</pkg> instead of
+ <pkg>sci-mathematics/nauty</pkg> as the backend.
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="github">gap-packages/grape</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/guava/Manifest b/dev-gap/guava/Manifest
new file mode 100644
index 000000000000..aead5eb063c6
--- /dev/null
+++ b/dev-gap/guava/Manifest
@@ -0,0 +1 @@
+DIST guava-3.21.tar.gz 2668198 BLAKE2B 93a2f4b8c4e5848251e0cdb0b9c5a1dbc07c0344fc8bd1997329f59633b2730cdb3b4183775f4edfa0446685a2356fa88167b13104c50624cb736f476ac86a9b SHA512 600256fae8d076b6a25256e4f4c25a588d876f5b944e5b8694ca74345d4e0371e8c729d162a9275c9444660739d66f0b70c8910e812850420362ded3a6699084
diff --git a/dev-gap/guava/files/guava-3.15-makefile.patch b/dev-gap/guava/files/guava-3.15-makefile.patch
new file mode 100644
index 000000000000..0441d48ea1bc
--- /dev/null
+++ b/dev-gap/guava/files/guava-3.15-makefile.patch
@@ -0,0 +1,18 @@
+The autoreconf is not needed at all; upstream ships a ./configure
+script. The ./configure _is_ needed at some point, but our ebuilds do
+it in src_configure. And since "desauto" is part of the default
+top-level "make" target, we have to patch out the extra invocation.
+
+diff --git a/Makefile.in b/Makefile.in
+index 573f2bd..aa565f4 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -21,7 +21,7 @@ leonconv: desauto
+ cd ./src; $(MAKE) CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)";
+
+ desauto:
+- cd $(SRCDIR); autoreconf --install --force ; ./configure; $(MAKE) CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)";
++ cd $(SRCDIR); $(MAKE) CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)";
+
+ minimum-weight.o: $(CJSRCDIR)/minimum-weight.c $(CJSRCDIR)/minimum-weight-gf2.h $(CJSRCDIR)/minimum-weight-gf3.h $(CJSRCDIR)/popcount.h $(CJSRCDIR)/config.h $(CJSRCDIR)/types.h
+ $(CC) -c -O3 -Wall -I $(CJSRCDIR) $(CJSRCDIR)/minimum-weight.c
diff --git a/dev-gap/guava/guava-3.21-r1.ebuild b/dev-gap/guava/guava-3.21-r1.ebuild
new file mode 100644
index 000000000000..44cec36e8fc9
--- /dev/null
+++ b/dev-gap/guava/guava-3.21-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg flag-o-matic toolchain-funcs
+
+DESCRIPTION="GAP package for computing with error-correcting codes"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="|| ( GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-gap/sonata"
+DEPEND="sci-mathematics/gap"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.15-makefile.patch"
+)
+
+GAP_PKG_EXTRA_INSTALL=( tbl )
+gap-pkg_enable_tests
+
+src_prepare() {
+ # remove temporary files in src/leon
+ rm src/leon/src/stamp-h1 || die
+ default
+}
+
+src_configure() {
+ # "false" conflicts with c23 bool type
+ append-cflags -std=c17
+
+ # This will run the top-level fake ./configure...
+ gap-pkg_src_configure
+
+ # Now run the real one in src/leon
+ cd src/leon || die
+ econf
+}
+
+src_compile() {
+ # COMPILE, COMPOPT, LINKOPT are needed to compile the code in src/leon.
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ COMPILE="$(tc-getCC)" \
+ COMPOPT="${CFLAGS} -c" \
+ LINKOPT="${LDFLAGS}"
+}
diff --git a/dev-gap/guava/metadata.xml b/dev-gap/guava/metadata.xml
new file mode 100644
index 000000000000..e44219b9d5cb
--- /dev/null
+++ b/dev-gap/guava/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <upstream>
+ <remote-id type="github">gap-packages/guava</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/hap/Manifest b/dev-gap/hap/Manifest
new file mode 100644
index 000000000000..4f82e9c61e02
--- /dev/null
+++ b/dev-gap/hap/Manifest
@@ -0,0 +1 @@
+DIST hap-1.75.tar.gz 49102696 BLAKE2B e7ae89484de2f7affbb29e583c1f9fcffad2695b61e14d724ae70cbd7d161ab0697eb78ce3755524b565be9018a7ef11e3eeb9f619eaf753f0d147a70d0ee8ec SHA512 c66a9da976879bcf1d18f96083c5d935a1eb4d61f1ee2e115c4eecf7637cb00d84003393862fc5005fd2f993b799cf6b809184a7490e4f56aef0d6e5be67f33e
diff --git a/dev-gap/hap/hap-1.75.ebuild b/dev-gap/hap/hap-1.75.ebuild
new file mode 100644
index 000000000000..95bb710282b5
--- /dev/null
+++ b/dev-gap/hap/hap-1.75.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Homological Algebra Programming (HAP) in GAP"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-gap/aclib
+ dev-gap/crystcat
+ dev-gap/fga
+ dev-gap/nq
+ dev-gap/polycyclic"
+
+# Singular: https://docs.gap-system.org/pkg/hap/doc/chap14.html
+# EDIM: https://docs.gap-system.org/pkg/hap/doc/chap11.html
+# congruence is needed for ResolutionSL2Z()
+# tst/testextra/3.6.1.tst calls LieAlgebra() from laguna
+# EquivariantEuclideanSpace() in tst/testallV11/1.8.1.tst needs hapcryst
+#
+# The imagemagick "convert" utility is used in a few places, and it does
+# actually need to be imagemagick (and not graphicsmagick) because e.g.
+# ReadImageAsPureCubicalComplex parses the comment that only imagemagick
+# puts at the top of a text file:
+#
+# https://github.com/gap-packages/hap/issues/115
+#
+BDEPEND="test? (
+ dev-gap/congruence
+ dev-gap/edim
+ dev-gap/hapcryst
+ dev-gap/laguna
+ dev-gap/polymaking
+ dev-gap/singular
+ media-gfx/imagemagick[png]
+)"
+
+HTML_DOCS="www/* tutorial"
+
+GAP_PKG_EXTRA_INSTALL=( boolean )
+gap-pkg_enable_tests
+
+pkg_postinst() {
+ elog "Some optional functions require media-gfx/graphviz"
+ elog "to be installed at runtime."
+}
diff --git a/dev-gap/hap/metadata.xml b/dev-gap/hap/metadata.xml
new file mode 100644
index 000000000000..147ed3e9c377
--- /dev/null
+++ b/dev-gap/hap/metadata.xml
@@ -0,0 +1,34 @@
+<?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">
+ HAP is a package for some calculations in elementary algebraic
+ topology and the cohomology of groups. The initial focus of the
+ library was on computations related to the cohomology of finite and
+ infinite groups, with particular emphasis on integral
+ coefficients. The focus has since broadened to include Steenrod
+ algebras of finite groups, Bredon homology, cohomology of simplicial
+ groups, and general computations in algebraic topology relating to
+ finite CW-complexes, covering spaces, knots, knotted surfaces, and
+ topics such as persitent homology arising in topological data
+ analysis.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/hap</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/hapcryst/Manifest b/dev-gap/hapcryst/Manifest
new file mode 100644
index 000000000000..876ab49ef804
--- /dev/null
+++ b/dev-gap/hapcryst/Manifest
@@ -0,0 +1 @@
+DIST hapcryst-0.2.0.tar.gz 81099 BLAKE2B 74c5573eb782359776aadf6fe319a7f764877b35d42cc628be703480cb67e1fe8e02f089dfa88de8eb3feef1cbcb47708f0536ad5991226026f0ff4578567e53 SHA512 e5ff20b628e71235a0beabd23c2aa1eedf08e5fb524dc553a5d588f3efe48e2bb539d9aecf133aac6b4a809996fda11cf6123ff7f7b10f9ad06e31d2255ed73e
diff --git a/dev-gap/hapcryst/hapcryst-0.2.0.ebuild b/dev-gap/hapcryst/hapcryst-0.2.0.ebuild
new file mode 100644
index 000000000000..0bc6f54ca060
--- /dev/null
+++ b/dev-gap/hapcryst/hapcryst-0.2.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="A HAP extension for crytallographic groups"
+SRC_URI="https://github.com/gap-packages/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="examples"
+
+RDEPEND="dev-gap/aclib
+ dev-gap/cryst
+ dev-gap/hap
+ dev-gap/polycyclic
+ dev-gap/polymaking"
+
+gap-pkg_enable_tests
+
+src_compile() {
+ # the docs aren't pre-built in >= 0.2.0
+ gap -R -A --nointeract --packagedirs . makedoc.g || die
+}
+
+src_install() {
+ gap-pkg_src_install
+ use examples && dodoc -r examples
+}
diff --git a/dev-gap/hapcryst/metadata.xml b/dev-gap/hapcryst/metadata.xml
new file mode 100644
index 000000000000..ae1b947d04cd
--- /dev/null
+++ b/dev-gap/hapcryst/metadata.xml
@@ -0,0 +1,27 @@
+<?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 is an extension to the HAP package by Graham Ellis. It
+ implements geometric methods for the calculation of resolutions of
+ Bieberbach groups.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/hapcryst</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/hecke/Manifest b/dev-gap/hecke/Manifest
new file mode 100644
index 000000000000..f658b3bd5eb0
--- /dev/null
+++ b/dev-gap/hecke/Manifest
@@ -0,0 +1 @@
+DIST hecke-1.5.4.tar.gz 720339 BLAKE2B 4e140959dbf42ada26b7b5bc290c451574a9fd5edd9fec4cc2c2513af50e2513c41a12c0f1d90001cb87b6972532a0ae29d27b2d590b00c566ad7e68acc2b248 SHA512 ab67ac7befce477c71c8d2ddb7c254c8a513c5120abf24bab53202da162b0396f65478b440e87d90b073f4913b25b8d326ebbda2bb30955553c9a0fa8311c7f7
diff --git a/dev-gap/hecke/hecke-1.5.4.ebuild b/dev-gap/hecke/hecke-1.5.4.ebuild
new file mode 100644
index 000000000000..53aca48cc745
--- /dev/null
+++ b/dev-gap/hecke/hecke-1.5.4.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Calculate decomposition matrices of Hecke algebras in GAP"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/hecke/metadata.xml b/dev-gap/hecke/metadata.xml
new file mode 100644
index 000000000000..8a4a4d415152
--- /dev/null
+++ b/dev-gap/hecke/metadata.xml
@@ -0,0 +1,27 @@
+<?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">
+ The Hecke package provides functions for calculating decomposition
+ matrices of Hecke algebras of the symmetric groups and q-Schur
+ algebras.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/hecke</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/images/Manifest b/dev-gap/images/Manifest
new file mode 100644
index 000000000000..ebd88b385d7e
--- /dev/null
+++ b/dev-gap/images/Manifest
@@ -0,0 +1 @@
+DIST images-1.3.3.tar.gz 193523 BLAKE2B 5342437052f43dca3cc6be0800c99d950be3399ed55f47a3e39f00f098bcca6fcdbeecc273376daab2f2130f2c48dbcfa226cea237378488dda9bc9d3cc3bea9 SHA512 7bf496fb108863045bffeeba0059332a0437778ec51464e9cd34fdb05fdc4e7cf4f44dbfbef4f850fb1c2a90c9328b8921e745526c10095d4034682d2a565fb6
diff --git a/dev-gap/images/images-1.3.3.ebuild b/dev-gap/images/images-1.3.3.ebuild
new file mode 100644
index 000000000000..b283177070cc
--- /dev/null
+++ b/dev-gap/images/images-1.3.3.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Find minimal and canonical images in permutation groups"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+BDEPEND="test? (
+ dev-gap/atlasrep
+ dev-gap/io
+)"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/images/metadata.xml b/dev-gap/images/metadata.xml
new file mode 100644
index 000000000000..cec555fbcc7c
--- /dev/null
+++ b/dev-gap/images/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <upstream>
+ <remote-id type="github">gap-packages/images</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/io/Manifest b/dev-gap/io/Manifest
new file mode 100644
index 000000000000..153ad46ab946
--- /dev/null
+++ b/dev-gap/io/Manifest
@@ -0,0 +1 @@
+DIST io-4.9.3.tar.bz2 591028 BLAKE2B 086f862a9e363f2d0770724eb5bf9a52e75d0a79410044257a2d7879ceced6ef1f51254beee2145be325ffbb5f36d5ab7e65d0009eb054fd41f93b2186746586 SHA512 beedf85bd534ffac516724ca0d0e8a1ec6f76356fc77eecef744b725a36bc8c1defa524f1a65ce3601f34de4d194f107c4c8a47420878eedd2901e82edadb611
diff --git a/dev-gap/io/io-4.9.3.ebuild b/dev-gap/io/io-4.9.3.ebuild
new file mode 100644
index 000000000000..307aa806eaed
--- /dev/null
+++ b/dev-gap/io/io-4.9.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Bindings for low level C library I/O routines"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+IUSE="examples"
+
+DEPEND="sci-mathematics/gap:="
+RDEPEND="${DEPEND}"
+
+gap-pkg_enable_tests
+
+src_prepare() {
+ default
+
+ # These tests require network access
+ rm tst/http.g || die
+ sed -e 's/"http.g", //' -i tst/testgap.tst || die
+}
+
+src_install() {
+ # There's no install target for the autotools build system
+ gap-pkg_src_install
+
+ if use examples; then
+ docinto examples
+ dodoc example/*
+ fi
+}
diff --git a/dev-gap/io/metadata.xml b/dev-gap/io/metadata.xml
new file mode 100644
index 000000000000..eef2c86430e3
--- /dev/null
+++ b/dev-gap/io/metadata.xml
@@ -0,0 +1,26 @@
+<?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">
+ The IO package, as its name suggests, provides bindings for GAP to
+ the lower levels of Input/Output functionality in the C library.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/io</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/irredsol/Manifest b/dev-gap/irredsol/Manifest
new file mode 100644
index 000000000000..6da9ce97097e
--- /dev/null
+++ b/dev-gap/irredsol/Manifest
@@ -0,0 +1 @@
+DIST irredsol-1.4.4.tar.bz2 19201582 BLAKE2B 7118da83d9996912d00b36347111e4b0729b1dd54602bcf81bcc08a6966a7acc032378401eb496bfb926fb701efbee1fa8d5341fe1183af5cef672ed864b1e6e SHA512 fcad698bf5c93cebf6ab8fe11263c216797432e27f011573ded5cc19d14a7154b0eac6ff9c464e7494695314fdab22b9ed6daf0748c17f321eef1e643a1f514a
diff --git a/dev-gap/irredsol/irredsol-1.4.4.ebuild b/dev-gap/irredsol/irredsol-1.4.4.ebuild
new file mode 100644
index 000000000000..ceeb230d0319
--- /dev/null
+++ b/dev-gap/irredsol/irredsol-1.4.4.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Irreducible soluble linear groups over finite fields and more"
+SRC_URI="https://github.com/bh11/${PN}/releases/download/IRREDSOL-${PV}/${P}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+GAP_PKG_HTML_DOCDIR="htm"
+GAP_PKG_EXTRA_INSTALL=( data fp )
+gap-pkg_enable_tests
diff --git a/dev-gap/irredsol/metadata.xml b/dev-gap/irredsol/metadata.xml
new file mode 100644
index 000000000000..74fbf4a6916e
--- /dev/null
+++ b/dev-gap/irredsol/metadata.xml
@@ -0,0 +1,28 @@
+<?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">
+ The GAP package IRREDSOL provides a library of all irreducible
+ soluble subgroups of GL(n,q), up to conjugacy, for q^n up to 2^24-1,
+ and a library of the primitive soluble groups of degree up to
+ 2^24-1.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">bh11/irredsol</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/laguna/Manifest b/dev-gap/laguna/Manifest
new file mode 100644
index 000000000000..50d2348a4f5d
--- /dev/null
+++ b/dev-gap/laguna/Manifest
@@ -0,0 +1 @@
+DIST laguna-3.9.7.tar.gz 549773 BLAKE2B c8c41474cd967279226c3cf06cc17d49555a60abf0ead981509495402cd8c9db346c2c5467f4c484894e35a9b3cbaac2fdf4c1a22b8791f53457ec5f3bf97b64 SHA512 dd25f99b0361d1d6f8c285f4531b19893c03744a9b81783d7f32691e49274956011f8931d40f93c454ccd164213966714d9b107206d8fa502aef259cacf9dd68
diff --git a/dev-gap/laguna/laguna-3.9.7.ebuild b/dev-gap/laguna/laguna-3.9.7.ebuild
new file mode 100644
index 000000000000..8eedb84f8913
--- /dev/null
+++ b/dev-gap/laguna/laguna-3.9.7.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Lie AlGebras and UNits of group Algebras"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/laguna/metadata.xml b/dev-gap/laguna/metadata.xml
new file mode 100644
index 000000000000..e99ef5f5451f
--- /dev/null
+++ b/dev-gap/laguna/metadata.xml
@@ -0,0 +1,29 @@
+<?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">
+ The LAGUNA package replaces the LAG package and provides
+ functionality for calculation of the normalized unit group of the
+ modular group algebra of the finite p-group and for investigation of
+ Lie algebra associated with group algebras and other associative
+ algebras.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/laguna</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/liealgdb/Manifest b/dev-gap/liealgdb/Manifest
new file mode 100644
index 000000000000..c14a27a84357
--- /dev/null
+++ b/dev-gap/liealgdb/Manifest
@@ -0,0 +1 @@
+DIST liealgdb-2.3.0.tar.gz 504719 BLAKE2B 2ea52dfe438b1fd178ea1281f9305c18e36320e92eb8aa1981bf2900a8d7fa5860ec2d9b00e251008f0cf9ea13b4e8f8294949dd5c33f1185b006a8ca1fb8196 SHA512 a2143d6dcf4004fe90132dc8d5eee7137c65ca4f6d50cf637fab8659c545dc4074f3548ae6e5d50cb25ed973fd984fd9a18de48409be04c4f001b519b4e0fad6
diff --git a/dev-gap/liealgdb/liealgdb-2.3.0.ebuild b/dev-gap/liealgdb/liealgdb-2.3.0.ebuild
new file mode 100644
index 000000000000..575ef9e13fd6
--- /dev/null
+++ b/dev-gap/liealgdb/liealgdb-2.3.0.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="A database of Lie algebras"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+DOCS=( CHANGES.md README )
+
+gap-pkg_enable_tests
diff --git a/dev-gap/liealgdb/metadata.xml b/dev-gap/liealgdb/metadata.xml
new file mode 100644
index 000000000000..057bb712458c
--- /dev/null
+++ b/dev-gap/liealgdb/metadata.xml
@@ -0,0 +1,35 @@
+<?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">
+ LieAlgDB provides access to several classifications of Lie algebras.
+ In the mathematics literature many classifications of Lie algebras
+ of various types have been published. This package aims at making a
+ few classifications of small dimensional Lie algebras that have
+ appeared in recent years more accessible. For each classification
+ that is contained in the package, functions are provided that
+ construct Lie algebras from that classification inside GAP. This
+ allows the user to obtain easy access to the often rather
+ complicated data contained in a classification, and to directly
+ interface the Lie algebras to the functionality for Lie algebras
+ which is already contained in GAP.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/liealgdb</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/liepring/Manifest b/dev-gap/liepring/Manifest
new file mode 100644
index 000000000000..70b6c7f552d4
--- /dev/null
+++ b/dev-gap/liepring/Manifest
@@ -0,0 +1 @@
+DIST liepring-2.9.1.tar.gz 2642049 BLAKE2B a99ddd683952bb4770835256b0d2f7f117cd74a550b87aba37f0247c43ed7a303a01609e9d7a00b59a9cbe72f36b153b6f04f8f862663593548366ff38e6abe3 SHA512 7e3e2efad61bc8c5ab101a6bbd87340b9c0f7ad88aee9410876aaa5ff851ee6769ec0473b21945fb2de0eec7453a1bebb421b39bba3db9d0c7049e80db7ad813
diff --git a/dev-gap/liepring/liepring-2.9.1.ebuild b/dev-gap/liepring/liepring-2.9.1.ebuild
new file mode 100644
index 000000000000..135453557876
--- /dev/null
+++ b/dev-gap/liepring/liepring-2.9.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Database and algorithms for Lie p-rings"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-gap/liering"
+
+GAP_PKG_HTML_DOCDIR="htm"
+gap-pkg_enable_tests
diff --git a/dev-gap/liepring/metadata.xml b/dev-gap/liepring/metadata.xml
new file mode 100644
index 000000000000..55d0ba747f44
--- /dev/null
+++ b/dev-gap/liepring/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <upstream>
+ <remote-id type="github">gap-packages/liepring</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/liering/Manifest b/dev-gap/liering/Manifest
new file mode 100644
index 000000000000..243a2f8fdbd8
--- /dev/null
+++ b/dev-gap/liering/Manifest
@@ -0,0 +1 @@
+DIST liering-2.4.2.tar.gz 586543 BLAKE2B bc140c9d5277c21da94d8fc4bb289ecd00072a7acede0b804d901fd67db9af1efde5e6b28e530dc5ecd8b5c50b78501f128503ec0a9b0142b587fda66ee0383b SHA512 8ea933310c7c06961ad2c911639e76d965d74967dcb6092976b7ed37c6fdae7e17ba78294d015f60b906be723c5280f0c547ce0e27ca0f8ef0401f36228403ea
diff --git a/dev-gap/liering/liering-2.4.2.ebuild b/dev-gap/liering/liering-2.4.2.ebuild
new file mode 100644
index 000000000000..c13cf5a52624
--- /dev/null
+++ b/dev-gap/liering/liering-2.4.2.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Finitely presented Lie rings in GAP"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/liering/metadata.xml b/dev-gap/liering/metadata.xml
new file mode 100644
index 000000000000..db003892adce
--- /dev/null
+++ b/dev-gap/liering/metadata.xml
@@ -0,0 +1,26 @@
+<?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">
+ The package LieRing contains functionality for working with finitely
+ presented Lie rings and the Lazard correspondence.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/liering</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/loops/Manifest b/dev-gap/loops/Manifest
new file mode 100644
index 000000000000..eb8daaaf63bd
--- /dev/null
+++ b/dev-gap/loops/Manifest
@@ -0,0 +1 @@
+DIST loops-3.4.4.tar.gz 1143667 BLAKE2B aaf39144f196bf965538e261ee68c89023b153d7b5815171908b8936984f8dab7f2e2ac084360d25313fb8e71ec2b3701c231b88f9f27fdabe67012d93514014 SHA512 effcc5f9b82e820c8c4519dfc59cb1a0997d9b1fb16bb5ca2e6125c1451f64f03260967607b85935366036b07193197b82fd08825d81e21378559d0c9c9610c5
diff --git a/dev-gap/loops/loops-3.4.4.ebuild b/dev-gap/loops/loops-3.4.4.ebuild
new file mode 100644
index 000000000000..7ad0b0a4f04d
--- /dev/null
+++ b/dev-gap/loops/loops-3.4.4.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Computing with quasigroups and loops in GAP"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+GAP_PKG_EXTRA_INSTALL=( data )
+gap-pkg_enable_tests
diff --git a/dev-gap/loops/metadata.xml b/dev-gap/loops/metadata.xml
new file mode 100644
index 000000000000..aa2e9f9d8a9b
--- /dev/null
+++ b/dev-gap/loops/metadata.xml
@@ -0,0 +1,28 @@
+<?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">
+ The LOOPS package provides researchers in nonassociative algebra
+ with a computational tool that integrates standard notions of loop
+ theory with libraries of loops and group-theoretical algorithms of
+ GAP. The package also expands GAP toward nonassociative structures.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/loops</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/mapclass/Manifest b/dev-gap/mapclass/Manifest
new file mode 100644
index 000000000000..8b7182d2c991
--- /dev/null
+++ b/dev-gap/mapclass/Manifest
@@ -0,0 +1 @@
+DIST mapclass-1.4.6.tar.gz 307154 BLAKE2B 75346e50fe60cab145220555f3aeb7f7e315cd55ecaf7161071a8826fe943e7c38a1565657f889bc0c7284c4dcb40e14e2f3cc187fe2fcdbe8b9b88aefde7cd3 SHA512 c49236706f3f83ca2cef2e4ae451dc0f1548430d6fcaf99aa14d76a4dba00af0728c12fd26c24d279098807abf0b23fdb44f75dbb8c8f3915f7054fbfbee3b8a
diff --git a/dev-gap/mapclass/mapclass-1.4.6.ebuild b/dev-gap/mapclass/mapclass-1.4.6.ebuild
new file mode 100644
index 000000000000..f5d3a212bb07
--- /dev/null
+++ b/dev-gap/mapclass/mapclass-1.4.6.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="A GAP package to compute mapping-class group orbits"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+S="${WORKDIR}/MapClass-${PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/mapclass/metadata.xml b/dev-gap/mapclass/metadata.xml
new file mode 100644
index 000000000000..1f98c812118f
--- /dev/null
+++ b/dev-gap/mapclass/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <upstream>
+ <remote-id type="github">gap-packages/MapClass</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/metadata.xml b/dev-gap/metadata.xml
new file mode 100644
index 000000000000..0dfedd6538b7
--- /dev/null
+++ b/dev-gap/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The dev-gap category contains packages for the GAP computer algebra
+ system, available at https://www.gap-system.org/packages/.
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie dev-gap enthält Pakete für das Computeralgebrasystem
+ GAP, verfügbar unter https://www.gap-system.org/packages/.
+ </longdescription>
+</catmetadata>
diff --git a/dev-gap/nq/Manifest b/dev-gap/nq/Manifest
new file mode 100644
index 000000000000..97f8e3c84bb0
--- /dev/null
+++ b/dev-gap/nq/Manifest
@@ -0,0 +1 @@
+DIST nq-2.5.11.tar.bz2 549760 BLAKE2B d9d1e36f2363db02867520f824b8fdf060143981621e4ed5090b33f4db1dc90c54277aff5f9a1b6ae49e03dd81ae99da5f91348e8b3db6841d4d40be13c04e56 SHA512 0f335b2af068e3bd6c6516061de0590a9317ea423bc343e35da62e5495904d56e4209920949c024b330947b503bbf453e33f9b2bc084e44df36d8e6995f90fbc
diff --git a/dev-gap/nq/metadata.xml b/dev-gap/nq/metadata.xml
new file mode 100644
index 000000000000..5c41dfc15e5d
--- /dev/null
+++ b/dev-gap/nq/metadata.xml
@@ -0,0 +1,26 @@
+<?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 access to the ANU nilpotent quotient program
+ for computing nilpotent factor groups of finitely presented groups.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/nq</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/nq/nq-2.5.11.ebuild b/dev-gap/nq/nq-2.5.11.ebuild
new file mode 100644
index 000000000000..78ba87c48f47
--- /dev/null
+++ b/dev-gap/nq/nq-2.5.11.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Nilpotent Quotients of finitely-presented groups"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="examples"
+
+DEPEND="sci-mathematics/gap:=
+ dev-libs/gmp:0="
+RDEPEND="${DEPEND}
+ dev-gap/polycyclic"
+
+gap-pkg_enable_tests
+
+src_install() {
+ gap-pkg_src_install
+ emake DESTDIR="${D}" install
+ use examples && dodoc -r examples
+}
diff --git a/dev-gap/orb/Manifest b/dev-gap/orb/Manifest
new file mode 100644
index 000000000000..0502fe2473ab
--- /dev/null
+++ b/dev-gap/orb/Manifest
@@ -0,0 +1 @@
+DIST orb-5.1.0.tar.gz 916654 BLAKE2B e4d5c65e927ceae9e2c45785e74284f74b6a81968f4601f4b70b3d2249ae21028dc1dc43e5c99805219e45e3e649691de0df99472d0313d4f534d8d37bf9259e SHA512 a725cb291925d7f60fbb8e66078449d9ec949b938bdc93473dfbea2568ce2d6eaf02853df981304fc0016339a1b01b7e08adc73078dc940fa2f79efd074920a6
diff --git a/dev-gap/orb/metadata.xml b/dev-gap/orb/metadata.xml
new file mode 100644
index 000000000000..e34ce04af18d
--- /dev/null
+++ b/dev-gap/orb/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <upstream>
+ <remote-id type="github">gap-packages/orb</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/orb/orb-5.1.0.ebuild b/dev-gap/orb/orb-5.1.0.ebuild
new file mode 100644
index 000000000000..98a251bd8697
--- /dev/null
+++ b/dev-gap/orb/orb-5.1.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg toolchain-funcs
+
+DESCRIPTION="GAP methods to enumerate orbits"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+DEPEND="sci-mathematics/gap:="
+RDEPEND="${DEPEND}"
+BDEPEND="test? (
+ dev-gap/atlasrep
+ dev-gap/cvec
+ dev-gap/io
+)"
+
+gap-pkg_enable_tests
+
+pkg_setup() {
+ tc-export CC
+}
+
+src_install() {
+ gap-pkg_src_install
+ use examples && dodoc -r examples
+}
diff --git a/dev-gap/polenta/Manifest b/dev-gap/polenta/Manifest
new file mode 100644
index 000000000000..04746b5d018f
--- /dev/null
+++ b/dev-gap/polenta/Manifest
@@ -0,0 +1,2 @@
+DIST polenta-1.3.10.tar.bz2 316789 BLAKE2B e926ec019350c798504a32f8bab4649a10c7eed7658bccb2d6f71998e275bccae3c211aac3cc8f15690b90592b17c8b8dd3090915e21bef557b731682f676b15 SHA512 0cd9bada5e22d4d4138958d1c685f7ee2cac6aa455ec8b4ae204b7ab1042d3c2a63329ca63e611bc3faa08b562780e87d7feba258d74018fdf800790e0c20ca0
+DIST polenta-1.3.11.tar.bz2 327274 BLAKE2B e9784a8dfd9f6291f3ec2805b2c57f3d5d5238e8a2e23b29a485980fa99688008122fca31eac3cb1b7224def5875526b48d924da1f88fb3b79f12b555c5d5801 SHA512 73cc07e493b079afb19953b29eeba992e071a834d57769af36c8f12580c9f7a2a59d78160f9cb16963098a931a8286f9f3960d350a03268da8dd59ed0d6816e3
diff --git a/dev-gap/polenta/metadata.xml b/dev-gap/polenta/metadata.xml
new file mode 100644
index 000000000000..8b52ec59665b
--- /dev/null
+++ b/dev-gap/polenta/metadata.xml
@@ -0,0 +1,30 @@
+<?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">
+ The Polenta package provides methods to compute polycyclic
+ presentations of matrix groups (finite or infinite). As a
+ by-product, this package gives some functionality to compute certain
+ module series for modules of solvable groups. For example, if G is
+ a rational polycyclic matrix group, then we can compute the radical
+ series of the natural Q[G]-module Q^d.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/polenta</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/polenta/polenta-1.3.10.ebuild b/dev-gap/polenta/polenta-1.3.10.ebuild
new file mode 100644
index 000000000000..642fe3a81e9a
--- /dev/null
+++ b/dev-gap/polenta/polenta-1.3.10.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Polycyclic presentations for matrix groups"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+RDEPEND="dev-gap/polycyclic
+ dev-gap/radiroot
+ dev-gap/alnuth"
+
+# These are "examples," but they're used by non-example code,
+# and removing or renaming them will cause problems:
+#
+# https://github.com/gap-packages/polenta/issues/9
+#
+GAP_PKG_EXTRA_INSTALL=( exam )
+gap-pkg_enable_tests
diff --git a/dev-gap/polenta/polenta-1.3.11.ebuild b/dev-gap/polenta/polenta-1.3.11.ebuild
new file mode 100644
index 000000000000..f58cf53edf2b
--- /dev/null
+++ b/dev-gap/polenta/polenta-1.3.11.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Polycyclic presentations for matrix groups"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-gap/polycyclic
+ dev-gap/radiroot
+ dev-gap/alnuth"
+
+# These are "examples," but they're used by non-example code,
+# and removing or renaming them will cause problems:
+#
+# https://github.com/gap-packages/polenta/issues/9
+#
+GAP_PKG_EXTRA_INSTALL=( exam )
+gap-pkg_enable_tests
diff --git a/dev-gap/polycyclic/Manifest b/dev-gap/polycyclic/Manifest
new file mode 100644
index 000000000000..166e219da2be
--- /dev/null
+++ b/dev-gap/polycyclic/Manifest
@@ -0,0 +1,2 @@
+DIST polycyclic-2.16.tar.gz 727628 BLAKE2B 590a2355fca87d3b5cd255d8740c47d7d52a9feacd9a523f00e98f9072647a3df6580eaf33003aa81fd7175f0abbb956566e7c11281cbdfe5bac3463f4678bb6 SHA512 9889a11fffd82151c36e09446bf0f000ffd12660cdce2ff34d85a669cf36cef7b4c40e0b56c6774c9b4c0bb0362a230b06e2421881410c170ec4da01a77333ad
+DIST polycyclic-2.18.tar.gz 688397 BLAKE2B a501e1b34c1c1cc4ab7eb643be9c3ac045388246f10df8b6eef0c5dec3021abfa72336a4b1df23f6dcfd2e68c834931f384bffc7962bd11b361936c886cfa49d SHA512 3963d7cbe9c3ed3fd8045a25d1fca52ef61df3647be454fe4af52bcc8699dee951007e2ea1d7e94472b7bf0242442595d84b11fb10d6e8c922141996f9859dad
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/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..b7f15dde6f07
--- /dev/null
+++ b/dev-gap/polycyclic/polycyclic-2.16.ebuild
@@ -0,0 +1,32 @@
+# 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"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+# 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
+# https://github.com/gap-packages/polycyclic/issues/89
+#
+PATCHES=(
+ "${FILESDIR}/${P}-hanging-tests.patch"
+ "${FILESDIR}/${P}-failing-test.patch"
+)
+
+gap-pkg_enable_tests
diff --git a/dev-gap/polycyclic/polycyclic-2.18.ebuild b/dev-gap/polycyclic/polycyclic-2.18.ebuild
new file mode 100644
index 000000000000..5904b368f286
--- /dev/null
+++ b/dev-gap/polycyclic/polycyclic-2.18.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Computation with polycyclic groups"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+# 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"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/polymaking/Manifest b/dev-gap/polymaking/Manifest
new file mode 100644
index 000000000000..205ae7d9051f
--- /dev/null
+++ b/dev-gap/polymaking/Manifest
@@ -0,0 +1 @@
+DIST polymaking-0.8.9.tar.gz 215250 BLAKE2B 3d95fbb057e681d03930c091e376d8100fae1422b434c02654a6a6854512b7f15ec1e626be94674d645e4febac5bf4f0345f36b16b1dafae0db35d1b920618c9 SHA512 41d0cbdb38d307d802c6cb583cde634803170833d25e14926f39704217c53f4f8e5ef36f3822e1e1e25df718644778da2b466d02b6fd3744ddcd3aad8b3692d9
diff --git a/dev-gap/polymaking/metadata.xml b/dev-gap/polymaking/metadata.xml
new file mode 100644
index 000000000000..75d289ff81f9
--- /dev/null
+++ b/dev-gap/polymaking/metadata.xml
@@ -0,0 +1,26 @@
+<?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 a very basic interface to the polymake program
+ by Ewgenij Gawrilow, Michael Joswig et al.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/polymaking</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/polymaking/polymaking-0.8.9.ebuild b/dev-gap/polymaking/polymaking-0.8.9.ebuild
new file mode 100644
index 000000000000..6674c3f2c00e
--- /dev/null
+++ b/dev-gap/polymaking/polymaking-0.8.9.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP interface to sci-mathematics/polymake"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+# Tests fail: https://github.com/gap-packages/polymaking/issues/18
+RESTRICT=test
+
+RDEPEND="sci-mathematics/polymake"
+
+DOCS=( CHANGES.md README.md )
+
+gap-pkg_enable_tests
diff --git a/dev-gap/primgrp/Manifest b/dev-gap/primgrp/Manifest
new file mode 100644
index 000000000000..527736876923
--- /dev/null
+++ b/dev-gap/primgrp/Manifest
@@ -0,0 +1,2 @@
+DIST primgrp-4.0.0.tar.gz 14687888 BLAKE2B 49a48b53e4e003b65091b97e57ab5077631d2f182e85a8350388461ee42078cf7a2d7d4c7254c38066dd194853137333b770790c5f35966c3a61e9c547724066 SHA512 bb28497dfa7980fa6054fd8dfac70805ccf7be42563890ae96cb64c03c331e30edafefaf47e63851f37a29c030601897113808b6653e7bb3924b2f1188936766
+DIST primgrp-4.0.2.tar.gz 14612065 BLAKE2B e337dd2d81e9898f2a36a1d68a7b089f8b97494328ccdd652317a571270aaba6e476a7de888c76f8257b5e562044cf51e3c59bb21600e991709dea1b966302b6 SHA512 57df518a325a235b4d3055947c133f2ef5f2d2b06efa84b648c8ac46e856d9e262c37113fe9280dcf3f7e7f6b429787e6e019eea6796c97bd34c0c853e002686
diff --git a/dev-gap/primgrp/metadata.xml b/dev-gap/primgrp/metadata.xml
new file mode 100644
index 000000000000..8dfa4c0affab
--- /dev/null
+++ b/dev-gap/primgrp/metadata.xml
@@ -0,0 +1,28 @@
+<?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">
+ The PrimGrp package provides the library of primitive permutation
+ groups which includes, up to permutation isomorphism (i.e., up to
+ conjugacy in the corresponding symmetric group), all primitive
+ permutation groups of degree less than 4096.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/primgrp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/primgrp/primgrp-4.0.0.ebuild b/dev-gap/primgrp/primgrp-4.0.0.ebuild
new file mode 100644
index 000000000000..d2a7944cd929
--- /dev/null
+++ b/dev-gap/primgrp/primgrp-4.0.0.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP Primitive Permutation Groups Library"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+RDEPEND="dev-gap/gapdoc"
+gap-pkg_enable_tests
+
+GAP_PKG_EXTRA_INSTALL=( data )
diff --git a/dev-gap/primgrp/primgrp-4.0.2.ebuild b/dev-gap/primgrp/primgrp-4.0.2.ebuild
new file mode 100644
index 000000000000..9d5bffcfa9e3
--- /dev/null
+++ b/dev-gap/primgrp/primgrp-4.0.2.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP Primitive Permutation Groups Library"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-gap/gapdoc"
+gap-pkg_enable_tests
+
+GAP_PKG_EXTRA_INSTALL=( data )
diff --git a/dev-gap/qpa/Manifest b/dev-gap/qpa/Manifest
new file mode 100644
index 000000000000..f3a06ccc4ab9
--- /dev/null
+++ b/dev-gap/qpa/Manifest
@@ -0,0 +1 @@
+DIST qpa-1.36.tar.gz 391873 BLAKE2B 6a6bd2f069b49a01ae698c37fa3a453e3ae55156358d0a2e5827cc0c5f39cdc28ba501949a05776fd5144ec6307097004b0b6719456956ed9a55725829140806 SHA512 409d46cca9d351722dcd72b16166fa237be765bc63bd9f8764e10d7eabf2565373c3632c69e4a9841303bf9cece5345ca336589942a9aa58944c1816ab2dfdba
diff --git a/dev-gap/qpa/metadata.xml b/dev-gap/qpa/metadata.xml
new file mode 100644
index 000000000000..d3d268d107e3
--- /dev/null
+++ b/dev-gap/qpa/metadata.xml
@@ -0,0 +1,30 @@
+<?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">
+ The QPA package provides data structures and algorithms for doing
+ computations with finite dimensional quotients of path algebras, and
+ finitely generated modules over such algebras. The current version
+ of the QPA package has data structures for quivers, quotients of
+ path algebras, and modules, homomorphisms and complexes of modules
+ over quotients of path algebras.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/qpa</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/qpa/qpa-1.36.ebuild b/dev-gap/qpa/qpa-1.36.ebuild
new file mode 100644
index 000000000000..6af1880d1261
--- /dev/null
+++ b/dev-gap/qpa/qpa-1.36.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Quivers and Path Algebras in GAP"
+SRC_URI="https://github.com/gap-packages/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="examples"
+
+RDEPEND="dev-gap/gbnp"
+
+gap-pkg_enable_tests
+
+src_install() {
+ gap-pkg_src_install
+ use examples && dodoc -r examples
+}
diff --git a/dev-gap/quagroup/Manifest b/dev-gap/quagroup/Manifest
new file mode 100644
index 000000000000..5d8cb6ad0014
--- /dev/null
+++ b/dev-gap/quagroup/Manifest
@@ -0,0 +1 @@
+DIST quagroup-1.8.4.tar.gz 646364 BLAKE2B 5fb051078c327b2011d550697cfc245dd074656a42c1e5038921e532c54db9fdcd7f5bbde93cb7e7b2d9a706e79aa3fecd4f20d077a384d62fb8fcef4c2a6d66 SHA512 2ac4d5d4b9b70de97101dc19107a1bcf20f9fdfcd3d43c8d51aa29c8bbc9e43ef5bc0ac36f536612aad7478fcb33dd3d2dcf63e3350d784398db0267a0fb2d65
diff --git a/dev-gap/quagroup/metadata.xml b/dev-gap/quagroup/metadata.xml
new file mode 100644
index 000000000000..529bc40f2953
--- /dev/null
+++ b/dev-gap/quagroup/metadata.xml
@@ -0,0 +1,27 @@
+<?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">
+ The package QuaGroup contains functionality for working with
+ quantized enveloping algebras of finite-dimensional semisimple Lie
+ algebras.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/quagroup</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/quagroup/quagroup-1.8.4.ebuild b/dev-gap/quagroup/quagroup-1.8.4.ebuild
new file mode 100644
index 000000000000..5f7b24235df2
--- /dev/null
+++ b/dev-gap/quagroup/quagroup-1.8.4.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP package for quantum group computations"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+DOCS=( README.md CHANGES.md )
+
+gap-pkg_enable_tests
diff --git a/dev-gap/radiroot/Manifest b/dev-gap/radiroot/Manifest
new file mode 100644
index 000000000000..212f8c056dcc
--- /dev/null
+++ b/dev-gap/radiroot/Manifest
@@ -0,0 +1 @@
+DIST radiroot-2.9.tar.gz 198792 BLAKE2B cbb79eab9def5b26a43b040d99dcb0e99dde465538fb4d5efcf8716be3525aed32f9b3600089167644298ffb0249f0450a99e6df52677ea4f7b43c99b991cdfe SHA512 f328bbfe5adf00c3c79630903e6c41685c0e0cdd62335fa4b912c2256cad276bbe02bcf26a461449e5869e7f859cba16905381b4109f1d4b364ef10ccf8ddc61
diff --git a/dev-gap/radiroot/metadata.xml b/dev-gap/radiroot/metadata.xml
new file mode 100644
index 000000000000..805d6e834f4f
--- /dev/null
+++ b/dev-gap/radiroot/metadata.xml
@@ -0,0 +1,28 @@
+<?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">
+ The package can compute and display an expression by radicals for
+ the roots of a solvable, rational polynomial. Related to this, it is
+ possible to create the Galois group and the splitting field of a
+ rational polynomial.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/radiroot</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/radiroot/radiroot-2.9.ebuild b/dev-gap/radiroot/radiroot-2.9.ebuild
new file mode 100644
index 000000000000..9fb93bee93e7
--- /dev/null
+++ b/dev-gap/radiroot/radiroot-2.9.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Roots of a polynomial as radicals in GAP"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+RDEPEND="dev-gap/alnuth"
+
+GAP_PKG_HTML_DOCDIR="htm"
+gap-pkg_enable_tests
diff --git a/dev-gap/resclasses/Manifest b/dev-gap/resclasses/Manifest
new file mode 100644
index 000000000000..9276ece5c42b
--- /dev/null
+++ b/dev-gap/resclasses/Manifest
@@ -0,0 +1,2 @@
+DIST resclasses-4.7.3.tar.gz 412156 BLAKE2B e942b6d41cc4f770576428a45a1e641369e557e0fdd761505765f6c798123c972fa921b4dd6a4fbf4fea0f30a449c11f8f90316e9b48df56a78b4d7d7d1a01ed SHA512 6f789ff4ca27a337707d8d9822c03104018fb8f0bccf2f14b999f6d30447b99dcbc3aa70b21d4efc555eec47534e94860d74b49fb85c1898b514143437cbe907
+DIST resclasses-4.7.4.tar.gz 349403 BLAKE2B 47a83bb308ebe2ab3af4dca7a440b9a475016eac2ca81589590dd5639c9ad1185c34a9b25af41a35dca1987b6df3a1a1b8cfea509ab5602eda5c0dc25de8dad6 SHA512 1b65a1dfcdc6b6fa107e597097483be3b5be5b4f44d6b678c5131e39055e6fa82ad16411e08be57ab6cb96754b360f1fb0ed2ff981b2b36d92bbe48694d6abae
diff --git a/dev-gap/resclasses/metadata.xml b/dev-gap/resclasses/metadata.xml
new file mode 100644
index 000000000000..75df2e826d74
--- /dev/null
+++ b/dev-gap/resclasses/metadata.xml
@@ -0,0 +1,28 @@
+<?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 permits to compute with set-theoretic unions of residue
+ classes of Z and a few other rings. In particular it provides
+ methods for computing unions, intersections and differences of these
+ sets.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/resclasses</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/resclasses/resclasses-4.7.3.ebuild b/dev-gap/resclasses/resclasses-4.7.3.ebuild
new file mode 100644
index 000000000000..9b63d27b293b
--- /dev/null
+++ b/dev-gap/resclasses/resclasses-4.7.3.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Set-theoretic computations with residue classes in GAP"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+RDEPEND="dev-gap/utils
+ dev-gap/polycyclic"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/resclasses/resclasses-4.7.4.ebuild b/dev-gap/resclasses/resclasses-4.7.4.ebuild
new file mode 100644
index 000000000000..13cf4cd2586f
--- /dev/null
+++ b/dev-gap/resclasses/resclasses-4.7.4.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Set-theoretic computations with residue classes in GAP"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-gap/utils
+ dev-gap/polycyclic"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/semigroups/Manifest b/dev-gap/semigroups/Manifest
new file mode 100644
index 000000000000..2f47e76681dd
--- /dev/null
+++ b/dev-gap/semigroups/Manifest
@@ -0,0 +1 @@
+DIST semigroups-5.6.2.tar.gz 28286589 BLAKE2B e2cd65cfa74fbae44bf5924abe6cf9eb56939aac7ddbf6d76ada9f2ada6db5c54242a63adb0740dd5eca3fdd7782f6d2c7f64977e66d72c6dba1211017818a40 SHA512 ec42a8c89c2c28e55ac85f12380c75c0d2044997942c506e4ffc37bc83b0e364e768699ac7b79349671e03d688c137ab5ad14df1ca4c4304bb6db9d99005adb8
diff --git a/dev-gap/semigroups/metadata.xml b/dev-gap/semigroups/metadata.xml
new file mode 100644
index 000000000000..4303c485a25d
--- /dev/null
+++ b/dev-gap/semigroups/metadata.xml
@@ -0,0 +1,45 @@
+<?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">
+ The Semigroups package is a GAP package for semigroups, and
+ monoids. There are particularly efficient methods for finitely
+ presented semigroups and monoids, and for semigroups and monoids
+ consisting of transformations, partial permutations, bipartitions,
+ partitioned binary relations, subsemigroups of regular Rees 0-matrix
+ semigroups, and matrices of various semirings including boolean
+ matrices, matrices over finite fields, and certain tropical
+ matrices. Semigroups contains efficient methods for creating
+ semigroups, monoids, and inverse semigroups and monoids, calculating
+ their Green's structure, ideals, size, elements, group of units,
+ small generating sets, testing membership, finding the inverses of a
+ regular element, factorizing elements over the generators, and so
+ on. It is possible to test if a semigroup satisfies a particular
+ property, such as if it is regular, simple, inverse, completely
+ regular, and a large number of further properties. There are methods
+ for finding presentations for a semigroup, the congruences of a
+ semigroup, the maximal subsemigroups of a finite semigroup, smaller
+ degree partial permutation representations, and the character tables
+ of inverse semigroups. There are functions for producing pictures of
+ the Green's structure of a semigroup, and for drawing graphical
+ representations of certain types of elements.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">semigroups/Semigroups</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/semigroups/semigroups-5.6.2.ebuild b/dev-gap/semigroups/semigroups-5.6.2.ebuild
new file mode 100644
index 000000000000..d339946ed9a6
--- /dev/null
+++ b/dev-gap/semigroups/semigroups-5.6.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP package for semigroups and monoids"
+SRC_URI="https://github.com/semigroups/Semigroups/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+DEPEND="sci-mathematics/gap:=
+ >=sci-libs/libsemigroups-3.5.5:="
+RDEPEND="${DEPEND}
+ dev-gap/orb
+ dev-gap/io
+ dev-gap/images
+ dev-gap/datastructures
+ dev-gap/digraphs
+ dev-gap/genss"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( CHANGELOG.md README.md CONTRIBUTING.md )
+
+GAP_PKG_EXTRA_INSTALL=( data )
+gap-pkg_enable_tests
+
+src_prepare() {
+ # can't bundle it if it isn't there (belt and suspenders)
+ rm -r libsemigroups || die
+ default
+}
+
+src_configure() {
+ gap-pkg_econf --with-external-libsemigroups
+}
diff --git a/dev-gap/singular/Manifest b/dev-gap/singular/Manifest
new file mode 100644
index 000000000000..6cb44f5c9d43
--- /dev/null
+++ b/dev-gap/singular/Manifest
@@ -0,0 +1 @@
+DIST singular-2026.04.09.tar.gz 347725 BLAKE2B f7b21baedea1e47b871280e2ec6d01ac6056fe2ec9db692a49b4700140d843e59469d52095511f33836a6683db80047d666066e53be0ed1f27d9db48fdc009bb SHA512 ac0520a2942fb12b04b25a8a2809622f9d3d35c4c3dfbf876af016b9cc7ee4c14bd4c709b727f9863580c8500a86aff848a16e913bb604f245ecf3f1b7c16c4b
diff --git a/dev-gap/singular/metadata.xml b/dev-gap/singular/metadata.xml
new file mode 100644
index 000000000000..3cb601d4b048
--- /dev/null
+++ b/dev-gap/singular/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <upstream>
+ <remote-id type="github">gap-packages/singular</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/singular/singular-2026.04.09.ebuild b/dev-gap/singular/singular-2026.04.09.ebuild
new file mode 100644
index 000000000000..49ca353c6c95
--- /dev/null
+++ b/dev-gap/singular/singular-2026.04.09.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP interface to sci-mathematics/singular"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="sci-mathematics/singular"
+
+DOCS=( README.md CHANGES.md )
+
+GAP_PKG_EXTRA_INSTALL=( contrib )
+gap-pkg_enable_tests
diff --git a/dev-gap/sla/Manifest b/dev-gap/sla/Manifest
new file mode 100644
index 000000000000..de08a6e00873
--- /dev/null
+++ b/dev-gap/sla/Manifest
@@ -0,0 +1 @@
+DIST sla-1.6.2.tar.gz 1130893 BLAKE2B 245e29bfd786b6bd634ee5dcbf5c4942f7b0fbbb39d78a2e6184e28f65071e9a10353c4802759cadd829629995824dc95c33d091515b163ac15bf0c53bd75567 SHA512 e8477b19ffb832e4d9275e8092c537c2f368a7b217aea66b5d50a6e3c362ae628f5938d1bbc4e2f03d2984adb1e86fefaf54542298596d5632cd2228291c4565
diff --git a/dev-gap/sla/metadata.xml b/dev-gap/sla/metadata.xml
new file mode 100644
index 000000000000..caa2d9157861
--- /dev/null
+++ b/dev-gap/sla/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <upstream>
+ <remote-id type="github">gap-packages/sla</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/sla/sla-1.6.2.ebuild b/dev-gap/sla/sla-1.6.2.ebuild
new file mode 100644
index 000000000000..053c4e2274b9
--- /dev/null
+++ b/dev-gap/sla/sla-1.6.2.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="GAP package for simple Lie algebra computations"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-gap/quagroup"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/smallgrp/Manifest b/dev-gap/smallgrp/Manifest
new file mode 100644
index 000000000000..d854727fabe2
--- /dev/null
+++ b/dev-gap/smallgrp/Manifest
@@ -0,0 +1 @@
+DIST SmallGrp-1.5.4.tar.gz 20123364 BLAKE2B db2712ca0b9ba3f9b100a85243ce9b50ad7e1940775c2d0767d5dfe211c8481922df0d891f457b7280108459b156b72e7e124cb0dfc2d597239c1317627a4b3f SHA512 715f6a2dd2740457d1a1fa27a680e4457db10b2eccf1ea2b18ba1aee282e8a6ed39abee1fd153a51a9678249e511de8eb396a6b98d301d01aaf6adb12d3715d1
diff --git a/dev-gap/smallgrp/metadata.xml b/dev-gap/smallgrp/metadata.xml
new file mode 100644
index 000000000000..79280f03bc91
--- /dev/null
+++ b/dev-gap/smallgrp/metadata.xml
@@ -0,0 +1,29 @@
+<?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">
+ The SmallGrp package provides the library of groups of certain
+ "small" orders. The groups are sorted by their orders and they are
+ listed up to isomorphism; that is, for each of the available orders
+ a complete and irredundant list of isomorphism type representatives
+ of groups is given.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/smallgrp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/smallgrp/smallgrp-1.5.4.ebuild b/dev-gap/smallgrp/smallgrp-1.5.4.ebuild
new file mode 100644
index 000000000000..f09573ce3321
--- /dev/null
+++ b/dev-gap/smallgrp/smallgrp-1.5.4.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+MY_P="SmallGrp-${PV}"
+DESCRIPTION="The GAP Small Groups Library"
+SRC_URI="https://github.com/gap-packages/smallgrp/releases/download/v${PV}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+RDEPEND="dev-gap/gapdoc"
+gap-pkg_enable_tests
+
+src_install() {
+ # Define the variable here so globbing will work
+ GAP_PKG_EXTRA_INSTALL=( id* small* )
+ gap-pkg_src_install
+}
diff --git a/dev-gap/sonata/Manifest b/dev-gap/sonata/Manifest
new file mode 100644
index 000000000000..78c1a434d9fa
--- /dev/null
+++ b/dev-gap/sonata/Manifest
@@ -0,0 +1 @@
+DIST sonata-2.9.7.tar.gz 1694164 BLAKE2B f1a55210c466c50dc500e1d6fa2aae73bd786377c6704396a7a9bf8725e567d83b84843b48acf265f05ab65924c27f1089a4cd9e6878335dbee32faccf47daac SHA512 38a8d8beb6af1aea7d919352f4d2ede9b7ac43a4df0a3c6a51a0f363ce9c67921b938e855f4e0fb7390673d535035ce85a6e21e52d99b4b1ea2e30cff5d1c02b
diff --git a/dev-gap/sonata/metadata.xml b/dev-gap/sonata/metadata.xml
new file mode 100644
index 000000000000..45e966acb099
--- /dev/null
+++ b/dev-gap/sonata/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">
+ SONATA stands for "systems of nearrings and their applications." It
+ provides methods for the construction and the analysis of finite
+ nearrings:
+
+ * Methods for constructing all endomorphisms and all
+ fixed-point-free automorphisms of a given group.
+
+ * Methods for constructing the following nearrings of functions on
+ a group G: the nearring of polynomial functions of G (in the sense
+ of Lausch-Nöbauer); the nearring of compatible functions of G;
+ distributively generated nearrings such as I(G), A(G), E(G);
+ centralizer nearrings.
+
+ * A library of all small nearrings (up to order 15) and all small
+ nearrings with identity (up to order 31).
+
+ * Functions to obtain solvable fixed-point-free automorphism
+ groups on abelian groups, nearfields, planar nearrings, as well
+ as designs from those.
+
+ * Various functions to study the structure (size, ideals,
+ N-groups, ...) of nearrings, to determine properties of nearring
+ elements, and to decide whether two nearrings are isomorphic.
+
+ * If the package XGAP is installed, the lattices of one- and
+ two-sided ideals of a nearring can be studied interactively using
+ a graphical representation
+
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/sonata</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/sonata/sonata-2.9.7.ebuild b/dev-gap/sonata/sonata-2.9.7.ebuild
new file mode 100644
index 000000000000..898c02be835a
--- /dev/null
+++ b/dev-gap/sonata/sonata-2.9.7.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="System of finite nearrings and their applications"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+GAP_PKG_EXTRA_INSTALL=( grp nr nri )
+gap-pkg_enable_tests
diff --git a/dev-gap/sophus/Manifest b/dev-gap/sophus/Manifest
new file mode 100644
index 000000000000..5a4283d947b1
--- /dev/null
+++ b/dev-gap/sophus/Manifest
@@ -0,0 +1 @@
+DIST sophus-1.27.tar.gz 301890 BLAKE2B de876879e6c9592163d129130315608e4f5a8af697c2fc5a7f3856ae57d1d5748038f6bf32f68885189aacd17c00557bbcc18ae037d6a183aa87ddf613c8d151 SHA512 9c6be8b6bcb78f24816ca0b61118a7b3baa0c31f9ccdb14cc098af003ec7246db0e33fa3ad55ca1950177bf43cc427a3bb7740c4462283fd09c81fc7dbecb790
diff --git a/dev-gap/sophus/metadata.xml b/dev-gap/sophus/metadata.xml
new file mode 100644
index 000000000000..4a3f72bf55c3
--- /dev/null
+++ b/dev-gap/sophus/metadata.xml
@@ -0,0 +1,35 @@
+<?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">
+ The Sophus package is written to compute with nilpotent Lie algebras
+ over finite prime fields. Using this package, you can compute the
+ cover, the list of immediate descendants, and the automorphism group
+ of such Lie algebras. You can also test if two such Lie algebras are
+ isomorphic.
+
+ The immediate descendant function of the package can be used to
+ classify small-dimensional nilpotent Lie algebras over a given
+ field. For instance, the package author obtained a classification of
+ nilpotent Lie algebras with dimension at most 9 over F_2.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/sophus</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/sophus/sophus-1.27.ebuild b/dev-gap/sophus/sophus-1.27.ebuild
new file mode 100644
index 000000000000..2d88fd151019
--- /dev/null
+++ b/dev-gap/sophus/sophus-1.27.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Computing in nilpotent Lie algebras"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+RDEPEND="dev-gap/autpgrp"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/spinsym/Manifest b/dev-gap/spinsym/Manifest
new file mode 100644
index 000000000000..cfe71a40270a
--- /dev/null
+++ b/dev-gap/spinsym/Manifest
@@ -0,0 +1 @@
+DIST spinsym-1.5.2.tar.gz 399221 BLAKE2B 68c75a4bc825bc233b54ddc32645c78bbed5157cefad951bbdddbc2b293f386eb4d741a0b3422e38eb25a12d0a79460de04f8b6ea3fc4739d32b3c470a6c0664 SHA512 c0f0134273de32ff073289d6079dd92332da4408a5df1a7ae89432fe2adaf1cc6db8bb89542620465152029b1443f8a342b08923f2786baaa7e928a49da6d59e
diff --git a/dev-gap/spinsym/metadata.xml b/dev-gap/spinsym/metadata.xml
new file mode 100644
index 000000000000..d5e0bdde6402
--- /dev/null
+++ b/dev-gap/spinsym/metadata.xml
@@ -0,0 +1,26 @@
+<?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 contains Brauer tables of Schur covers of symmetric and
+ alternating groups, and provides some related functionalities.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/spinsym</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/spinsym/spinsym-1.5.2.ebuild b/dev-gap/spinsym/spinsym-1.5.2.ebuild
new file mode 100644
index 000000000000..5282deefa086
--- /dev/null
+++ b/dev-gap/spinsym/spinsym-1.5.2.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Brauer tables of spin-symmetric groups"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+RDEPEND="dev-gap/ctbllib"
+
+GAP_PKG_EXTRA_INSTALL=( symdata )
+gap-pkg_enable_tests
diff --git a/dev-gap/tomlib/Manifest b/dev-gap/tomlib/Manifest
new file mode 100644
index 000000000000..856e6d70d3cd
--- /dev/null
+++ b/dev-gap/tomlib/Manifest
@@ -0,0 +1 @@
+DIST tomlib-1.2.11.tar.gz 53304953 BLAKE2B 533fccdad270d22bb476ec0773aca0411d0ac48fd0e686d1d058db7c3d87dc35318ea73df15e0713628dbc8b2b460618f458983e4fef2278b381c7153a2001ac SHA512 0a8d53a10fb5ecacd342e10609efb2d1851b0c3a7fe787af0124f5887bb3a290e3b20489d2bcc1fb09bad27deec8c14a18b8539b0d51dac2f0d3585d0eed71a9
diff --git a/dev-gap/tomlib/metadata.xml b/dev-gap/tomlib/metadata.xml
new file mode 100644
index 000000000000..9ed3999e9ec1
--- /dev/null
+++ b/dev-gap/tomlib/metadata.xml
@@ -0,0 +1,43 @@
+<?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">
+ The concept of a table of marks was introduced by W. Burnside in his
+ 1955 book Theory of Groups of Finite Order. Therefore a table of
+ marks is sometimes called a Burnside matrix.
+
+ The table of marks of a finite group G is a matrix whose rows and
+ columns are labelled by the conjugacy classes of subgroups of G and
+ where for two subgroups H and K the (H, K)-entry is the number of
+ fixed points of K in the transitive action of G on the cosets of H
+ in G. So the table of marks characterizes the set of all permutation
+ representations of G. Moreover, the table of marks gives a compact
+ description of the subgroup lattice of G, since from the numbers of
+ fixed points the numbers of conjugates of a subgroup K contained in
+ a subgroup H can be derived.
+
+ For small groups the table of marks of G can be constructed directly
+ in GAP by first computing the entire subgroup lattice of G. However,
+ for larger groups this method is unfeasible. The GAP Table of Marks
+ library provides access to several hundred tables of marks and their
+ maximal subgroups.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/tomlib</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/tomlib/tomlib-1.2.11.ebuild b/dev-gap/tomlib/tomlib-1.2.11.ebuild
new file mode 100644
index 000000000000..31bdfe2d5878
--- /dev/null
+++ b/dev-gap/tomlib/tomlib-1.2.11.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="The GAP library of Tables of Marks"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+RDEPEND="dev-gap/atlasrep"
+
+# The are "extra" docs and not the HTML produced by GAPDoc. The glob
+# gets expanded if we use a plain variable but not if we use a bash
+# array.
+HTML_DOCS="htm/*"
+
+GAP_PKG_EXTRA_INSTALL=( data )
diff --git a/dev-gap/toric/Manifest b/dev-gap/toric/Manifest
new file mode 100644
index 000000000000..a6d99e2b7af7
--- /dev/null
+++ b/dev-gap/toric/Manifest
@@ -0,0 +1 @@
+DIST Toric-1.9.6.tar.gz 360909 BLAKE2B e32af29e6456debbdf482374a19423f66518591bf4159f1694ef13a780a5a0b2c0dbd883c07edac1d6635052c640ec35f2f9b722e4baa84a45a2b26275a224f4 SHA512 a0fe06bffff4663ac2220327dd62d254d05c9434873f049a39d1dd975e69127ab75ea760a2c8e59448765dd43e606711b49237e4218c4dc7179638b9a047ed4c
diff --git a/dev-gap/toric/metadata.xml b/dev-gap/toric/metadata.xml
new file mode 100644
index 000000000000..b810aeb5646b
--- /dev/null
+++ b/dev-gap/toric/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <upstream>
+ <remote-id type="github">gap-packages/toric</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/toric/toric-1.9.6.ebuild b/dev-gap/toric/toric-1.9.6.ebuild
new file mode 100644
index 000000000000..161fefba0d00
--- /dev/null
+++ b/dev-gap/toric/toric-1.9.6.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+MY_PN="Toric"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="GAP package for computing with toric varieties"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+gap-pkg_enable_tests
diff --git a/dev-gap/transgrp/Manifest b/dev-gap/transgrp/Manifest
new file mode 100644
index 000000000000..a1fbe9c5aad6
--- /dev/null
+++ b/dev-gap/transgrp/Manifest
@@ -0,0 +1 @@
+DIST transgrp3.6.5.tar.gz 59054123 BLAKE2B 03df88fc8d1d7b762d33c496137a606f1886cff76f82c017a765090345645ab5074ea9ce486c984f0dc8893857515377200499ca3717ab06fdf4aa327d99c6c1 SHA512 9933abfbfa2d42da2cbba217c21c6164392e4505e7e0e433fcf9685030d5f9a727bf4fd85736991c9b0531290774846d438c0b353c910751673302d8c5a8fe04
diff --git a/dev-gap/transgrp/files/transgrp-3.6.5-load-gapdoc-before-tests.patch b/dev-gap/transgrp/files/transgrp-3.6.5-load-gapdoc-before-tests.patch
new file mode 100644
index 000000000000..508d0da94d11
--- /dev/null
+++ b/dev-gap/transgrp/files/transgrp-3.6.5-load-gapdoc-before-tests.patch
@@ -0,0 +1,30 @@
+From 433eb149841a8d56ed6b82790b52195e8251582f Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 13 Dec 2023 14:39:03 -0500
+Subject: [PATCH] tst/testall.g: load GAPDoc and SmallGrp before testing
+
+To help resolve the chicken and egg problem, it's nice to be able to
+launch gap with --bare when testing transgrp. But without GAPDoc and
+SmallGrp loaded, the test suite fails. So let's load them explicitly.
+This won't hurt anything under normal circumstances where both of them
+are loaded anyway.
+---
+ tst/testall.g | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/tst/testall.g b/tst/testall.g
+index 19275f8..08edc69 100644
+--- a/tst/testall.g
++++ b/tst/testall.g
+@@ -4,6 +4,8 @@
+ # This file runs package tests. It is also referenced in the package
+ # metadata in PackageInfo.g.
+ #
++LoadPackage( "gapdoc" );
++LoadPackage( "smallgrp" );
+ LoadPackage( "transgrp" );
+
+ TestDirectory(DirectoriesPackageLibrary( "transgrp", "tst" ),
+--
+2.43.0
+
diff --git a/dev-gap/transgrp/metadata.xml b/dev-gap/transgrp/metadata.xml
new file mode 100644
index 000000000000..11a583ba9f66
--- /dev/null
+++ b/dev-gap/transgrp/metadata.xml
@@ -0,0 +1,30 @@
+<?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">
+ A library of transitive groups.
+
+ Groups of degree 15-30 are due to Alexander Hulpke Degree 32 is due
+ to John Cannon and Derek Holt Degree 34-48 is due to Derek Holt and
+ Gordon Royle. Groups of degree 32 (~30MB) and 48 (~30GB) need to be
+ downloaded separately.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">hulpke/transgrp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/transgrp/transgrp-3.6.5.ebuild b/dev-gap/transgrp/transgrp-3.6.5.ebuild
new file mode 100644
index 000000000000..e7d261bce63b
--- /dev/null
+++ b/dev-gap/transgrp/transgrp-3.6.5.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="GAP transitive groups library"
+SRC_URI="https://www.math.colostate.edu/~hulpke/${PN}/${PN}${PV}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+# Data format is licensed Artistic-2
+# Code is licensed GPL-3
+LICENSE="GPL-3 Artistic-2"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+# This is one of the four required packages whose dependencies are all
+# listed explicitly.
+BDEPEND="test? ( dev-gap/gapdoc dev-gap/smallgrp )"
+
+# Again, this is one of the four special packages that won't have gapdoc
+# auto-loaded for its test suite.
+PATCHES=( "${FILESDIR}/${P}-load-gapdoc-before-tests.patch" )
+
+GAP_PKG_HTML_DOCDIR="htm"
+GAP_PKG_EXTRA_INSTALL=( data )
+gap-pkg_enable_tests
diff --git a/dev-gap/utils/Manifest b/dev-gap/utils/Manifest
new file mode 100644
index 000000000000..84e676630542
--- /dev/null
+++ b/dev-gap/utils/Manifest
@@ -0,0 +1,2 @@
+DIST utils-0.91.tar.gz 572882 BLAKE2B 6719f248fa328fc961d6a1b8c0beb752fe4891b65d9d6e59e999e8effa269764c087aa761d1fa0934e9e53f72f11569fd1b4c26c1fd245f5e88f1043346f72a4 SHA512 af514e0f6226c2626fc5dab51cc0e3497fb8b92afc48ad7718ce31e095aa0fff71d62b0edd8d4cb0279ca827cf8dfb0948d5565813520e6db8074efecffa4acf
+DIST utils-0.94.tar.gz 466589 BLAKE2B 734a55f7f7d7e336530cee51bd57bcc4376595b71c823f392a275e9ee38732e8f562958fd7e3f285e96e437bf500b9aead8e9e85e9ce4c15c61bceb62b027c55 SHA512 1dfb9d68c6c5b16c563f6bbeee4546c40db8a64d36d44143daf29db30168b0130e9fbb8acf85e7fa4eb9dfd945e4151d853fcf5a76519d30b17e5be899a651bf
diff --git a/dev-gap/utils/metadata.xml b/dev-gap/utils/metadata.xml
new file mode 100644
index 000000000000..0cd64a5821b4
--- /dev/null
+++ b/dev-gap/utils/metadata.xml
@@ -0,0 +1,31 @@
+<?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 collects together utility functions from a selection of
+ GAP packages in order to make them more widely visible to other
+ package authors.
+
+ Other generally useful functions, which are not deemed suitable for
+ the main library, and also welcome. For example, recent additions
+ are functions to convert certain types of group to Magma format.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gap-packages/utils</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-gap/utils/utils-0.91.ebuild b/dev-gap/utils/utils-0.91.ebuild
new file mode 100644
index 000000000000..d42e1e9601df
--- /dev/null
+++ b/dev-gap/utils/utils-0.91.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Utility functions in GAP"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~riscv"
+
+RDEPEND="dev-gap/autodoc
+ dev-gap/polycyclic"
+
+DOCS=( CHANGES.md README.md )
+
+gap-pkg_enable_tests
+
+src_prepare() {
+ # disable network tests
+ rm tst/download.tst || die
+ default
+}
diff --git a/dev-gap/utils/utils-0.94.ebuild b/dev-gap/utils/utils-0.94.ebuild
new file mode 100644
index 000000000000..fa661e97819b
--- /dev/null
+++ b/dev-gap/utils/utils-0.94.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gap-pkg
+
+DESCRIPTION="Utility functions in GAP"
+SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-gap/autodoc
+ dev-gap/polycyclic"
+
+DOCS=( CHANGES.md README.md )
+
+gap-pkg_enable_tests
+
+src_prepare() {
+ # Disable network tests, and sed out the line in testall.g that
+ # tells AutoDoc to regenerate them.
+ rm tst/{download,utils09}.tst || die
+ sed -e '/makedoc\.g/d' -i tst/testall.g || die
+ default
+}