summaryrefslogtreecommitdiff
path: root/dev-gap/transgrp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-22 16:48:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-22 16:48:54 +0000
commitce163dcd0944d81d8406c9532b457535efca7a6d (patch)
treef7deea170544ce69e03c037101b7b5c1277966b4 /dev-gap/transgrp
parent05ee8049e2326946a2cd1720f98384c864f0a804 (diff)
gentoo auto-resync : 22:01:2024 - 16:48:54
Diffstat (limited to 'dev-gap/transgrp')
-rw-r--r--dev-gap/transgrp/Manifest4
-rw-r--r--dev-gap/transgrp/files/transgrp-3.6.4-load-gapdoc-before-tests.patch29
-rw-r--r--dev-gap/transgrp/metadata.xml30
-rw-r--r--dev-gap/transgrp/transgrp-3.6.4.ebuild28
4 files changed, 91 insertions, 0 deletions
diff --git a/dev-gap/transgrp/Manifest b/dev-gap/transgrp/Manifest
new file mode 100644
index 000000000000..bf6d247b521e
--- /dev/null
+++ b/dev-gap/transgrp/Manifest
@@ -0,0 +1,4 @@
+AUX transgrp-3.6.4-load-gapdoc-before-tests.patch 912 BLAKE2B f278bdb0abd13e770cd7df818ce2971937094844f496072e5eaaf505a81711c3ae5842acd541c521044d80e8df3279877a05a5127bae1667e99dc92f8b21c206 SHA512 740bbb4bff91081e045e453b238109df6c7f56710f53e82c54e8cb0517f3c022b2654e64b1f7a15317014a3d52f08e3a1ea6e9083f1d9ffbc9d2e9b1bf86de79
+DIST transgrp3.6.4.tar.gz 59058725 BLAKE2B 4a478e1d1f534e9ec35c5525c3923980f69f12a43147a2fb4ad71daac6bf8353340346e4f36cbcf0266ccf86dba681549a1418894cdadc86d6de5d39335b87fd SHA512 5f0bf207129014ffaa73650e1fd7f4fc81ba360ce58ffcd797b0c773020908e8362e3db62e9f63c76be93fa0cd9471e23a043cbb185ddc123bad09ed457310ae
+EBUILD transgrp-3.6.4.ebuild 762 BLAKE2B f772822aa77fd7bdc0593ab4564d0c8b2067b85ec18ea387b6d48fe38ea265b031fd0fff19a6a570a0ba6d220d97746e9af9cfe7d4d9804e41fd2d90588e970f SHA512 242b76f560670b01311075ea334f1186afbd12a4e13a6e441dd72b642f3b060086dd0162ee7eb9abb705cb596adba162b37b3692e05fbfcf4b0ad3f4d8f8e177
+MISC metadata.xml 1028 BLAKE2B 910230ca5cebc12ddf6aa21d003bc37af3b14288ce4cbcad0f90af4958402f414692d0f869a51a041c6c73e17604a59d1e5d975ec5844c76ae6524d467106103 SHA512 5da1f3afc29e403ea373a7393a2a5c0fe6773f834db7b8a0dcd05b91cec0507ee0a2a642142384bb4b35a21a004d952e99773d070427c11e0ecb6abf35c27c52
diff --git a/dev-gap/transgrp/files/transgrp-3.6.4-load-gapdoc-before-tests.patch b/dev-gap/transgrp/files/transgrp-3.6.4-load-gapdoc-before-tests.patch
new file mode 100644
index 000000000000..2d932e7f9635
--- /dev/null
+++ b/dev-gap/transgrp/files/transgrp-3.6.4-load-gapdoc-before-tests.patch
@@ -0,0 +1,29 @@
+From f69df24cf2c37dd8353fa227b03336b52c717d6d 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 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
+loaded, the test suite fails. So let's load it explicitly. This won't
+hurt anything under normal circumstances where GAPDoc is loaded
+anyway.
+---
+ tst/testall.g | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tst/testall.g b/tst/testall.g
+index 19275f8..92a1653 100644
+--- a/tst/testall.g
++++ b/tst/testall.g
+@@ -4,6 +4,7 @@
+ # This file runs package tests. It is also referenced in the package
+ # metadata in PackageInfo.g.
+ #
++LoadPackage( "gapdoc" );
+ LoadPackage( "transgrp" );
+
+ TestDirectory(DirectoriesPackageLibrary( "transgrp", "tst" ),
+--
+2.41.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.4.ebuild b/dev-gap/transgrp/transgrp-3.6.4.ebuild
new file mode 100644
index 000000000000..f18c4de8ff0b
--- /dev/null
+++ b/dev-gap/transgrp/transgrp-3.6.4.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"
+SLOT="0"
+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"
+KEYWORDS="~amd64"
+
+# This is one of the four required packages whose dependencies are all
+# listed explicitly.
+BDEPEND="test? ( dev-gap/gapdoc )"
+
+# 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