dev-gap/ctbllib: add 1.3.11

Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Michael Orlitzky
2026-05-03 20:05:50 -04:00
parent d689e80ae2
commit 3512129f9d
2 changed files with 64 additions and 0 deletions

View File

@@ -1 +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

View File

@@ -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
}