summaryrefslogtreecommitdiff
path: root/sci-mathematics/gap
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-15 12:27:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-15 12:27:33 +0100
commit868fd5dc8aab84930cfaa5252b8be06b35552765 (patch)
tree0c0cebf818c30c6f871f00ce1e7599775a7e561c /sci-mathematics/gap
parentf7adcd4ee556b2c3a420239c13fb74113d791f6a (diff)
gentoo auto-resync : 15:07:2024 - 12:27:33
Diffstat (limited to 'sci-mathematics/gap')
-rw-r--r--sci-mathematics/gap/Manifest4
-rw-r--r--sci-mathematics/gap/gap-4.13.0.ebuild137
-rw-r--r--sci-mathematics/gap/gap-4.13.1.ebuild2
3 files changed, 2 insertions, 141 deletions
diff --git a/sci-mathematics/gap/Manifest b/sci-mathematics/gap/Manifest
index 13f84fb08d9f..15a9475dbe27 100644
--- a/sci-mathematics/gap/Manifest
+++ b/sci-mathematics/gap/Manifest
@@ -1,5 +1,3 @@
-DIST gap-4.13.0-core.tar.gz 38666910 BLAKE2B 42e6ccd4c7474efec6f9faab7bbc67c264df7f3a3b62945faa53150a00d6944aa8a2cc5e5c9f99440541211d5279bdaed458ce8351375f8e14f0380f612e8c89 SHA512 d7326dc49f1c646853e66a48b83c8053bb80625289fbaa54b12b8f88c016d41cbf78d67333def0c3ac36d93f602811d2cb4ee5d56c37aa7efd13ce8ce6808f3c
DIST gap-4.13.1-core.tar.gz 38673913 BLAKE2B a63cbd2211430bfbf1bc9bb489a68a2ee7182858ccb326dfe5e6d3a7b8fb6a8c34b56a539c8b9cf3a22a1cc3a4ffe22d365b0e5229ba2c2b6d0ce6bacf0e645b SHA512 e3b74558c05e5963ea87aa77baba0edc068634072ff97b8ea0880289e53213eed82b01784db2675263d6f47547bfef259b80353ed2843ce90a77a0252c551919
-EBUILD gap-4.13.0.ebuild 3944 BLAKE2B a6c26178337fc7c9454bf2f567491c420d3471b42763b98e33ca9093dce01fd32a1a33e6215701776976f9485938b99f448f06e4dfbba2cafa721360c272eb6d SHA512 18a786f24b34a16cfef3bccf0a5c4854980cb2f1e152b344bec0fae12430cfe032b9ad05deaaeaf2e53ba4a35a172c9c54f3ea0643a2d7a500fd81024b25ad9b
-EBUILD gap-4.13.1.ebuild 3946 BLAKE2B 1234633f63557fafecba5b9cb34fc251fd38b0be9eb296c99a958c5626444f1bab4cb9bdb4e1dec71c9b74d9c92c7d4296c36cb61b621627c5133f169499d831 SHA512 19b15e01e0bd30d7d64165c9980b93a3e29372370d92c2234f46445a19898bf9840af457e48c4cd4e5098bd6f36099e9676d21f71721acc583bf673ac7ad1544
+EBUILD gap-4.13.1.ebuild 3945 BLAKE2B 675ec1034d0dc064accf558a9b293c2071f611e3de5ad6d00199daf9359036d616c4e34dab4404ab51952c78ebb7dc10ef25d0b18cefeeebf55c83cd19b8f533 SHA512 8ebe89f824502916d1a0f15446fcd9d272b224ba8fca5371b22e4a43ca425ff7bb367ea1b76cabfa63d8f5b8f1b2195df11b1466cd2a9fdc8ad08d8b4dd6a8fd
MISC metadata.xml 1582 BLAKE2B 9151244f139b0d675e327731c336c41d5d69c25856286c182944d57255fbb6d7b1f023195b3a01c829ff6f3ea1d5e6eb6edbcc796a30120deacde82b90b5f39c SHA512 f4490e9b13cee6604f14df39ea048d7578e080a8faa97b0bb22191a7dce56904416870ed64c289f91526087009f7488e8baed4e531c78f50a5b917e9e1684ce2
diff --git a/sci-mathematics/gap/gap-4.13.0.ebuild b/sci-mathematics/gap/gap-4.13.0.ebuild
deleted file mode 100644
index 9e533710c911..000000000000
--- a/sci-mathematics/gap/gap-4.13.0.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit estack
-
-DESCRIPTION="System for computational discrete algebra. Core functionality."
-HOMEPAGE="https://www.gap-system.org/"
-SRC_URI="https://github.com/gap-system/gap/releases/download/v${PV/_/-}/${P/_/-}-core.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0/9" # soname
-KEYWORDS="amd64"
-IUSE="cpu_flags_x86_popcnt debug memcheck minimal readline test valgrind"
-REQUIRED_USE="?? ( memcheck valgrind )"
-RESTRICT="!test? ( test )"
-
-# The minimum set of packages needed for basic GAP operation. You can
-# actually start gap without these by passing "--bare" to it on the CLI,
-# but don't expect anything to work.
-REQUIRED_PKGS="
- dev-gap/gapdoc
- dev-gap/primgrp
- dev-gap/smallgrp
- dev-gap/transgrp"
-
-# The packages aren't really required, but GAP tries to load them
-# automatically, and will complain to the user if they fail to load.
-# The list of automatically-loaded packages is a user preference, called
-# AutoloadPackages, and the upstream default can be found in
-# lib/package.gi within the GAP source tree. Passing "-A" to GAP on the
-# CLI (or setting that user preference) will suppress the autoload
-# behavior and allow GAP to start without these, which is why we allow
-# the user to skip them with USE=minimal if he knows what he is doing.
-AUTOLOADED_PKGS="
- dev-gap/autpgrp
- dev-gap/alnuth
- dev-gap/crisp
- dev-gap/ctbllib
- dev-gap/factint
- dev-gap/fga
- dev-gap/irredsol
- dev-gap/laguna
- dev-gap/polenta
- dev-gap/polycyclic
- dev-gap/resclasses
- dev-gap/sophus
- dev-gap/tomlib"
-
-# The test suite will fail without the "required" subset.
-BDEPEND="test? ( ${REQUIRED_PKGS} )"
-
-DEPEND="dev-libs/gmp:=
- sys-libs/zlib
- valgrind? ( dev-debug/valgrind )
- readline? ( sys-libs/readline:= )"
-
-RDEPEND="${DEPEND}"
-
-# If you _really_ want to install GAP without the set of required
-# packages, use package.provided.
-PDEPEND="${REQUIRED_PKGS} !minimal? ( ${AUTOLOADED_PKGS} )"
-
-S="${WORKDIR}/${P/_/-}"
-
-pkg_setup() {
- if use valgrind; then
- elog "If you enable the use of valgrind during building"
- elog "be sure that you have enabled the proper flags"
- elog "in gcc to support it:"
- elog "https://wiki.gentoo.org/wiki/Debugging#Valgrind"
- fi
-}
-
-src_prepare() {
- # Remove these to be extra sure we don't use bundled libraries.
- rm -r extern || die
- rm -r hpcgap/extern || die
-
- # The Makefile just tells you to run ./configure, which then
- # produces a GNUmakefile.
- rm Makefile || die
-
- default
-}
-
-src_configure() {
- # We unset $ABI because GAP uses it internally for something else.
- # --without-gmp and --without-zlib both trigger an AC_MSG_ERROR
- local myeconfargs=(
- ABI=""
- --with-gmp
- --with-zlib
- $(use_enable cpu_flags_x86_popcnt popcnt)
- $(use_enable memcheck memory-checking)
- $(use_enable valgrind)
- $(use_with readline)
- $(use_enable debug)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- # Without this, the default is a quiet build.
- emake V=1
-}
-
-src_test() {
- # We need to specify additional root paths because otherwise the
- # recently-built GAP doesn't know where to look for the "required"
- # packages (which must already be installed). The two paths we
- # append to $S are where those packages wind up.
- local gaproots="${S}/;"
- gaproots+="${EPREFIX}/usr/$(get_libdir)/gap/;"
- gaproots+="${EPREFIX}/usr/share/gap/"
-
- # GAPARGS is a Makefile variable that exists for this purpose. We
- # use "-A" to hide the warnings about missing autoloaded-but-not-
- # required packages. The tee/pipefail works around a glitch in
- # dev-gap/browse that can clobber your terminal.
- eshopts_push -o pipefail
- emake GAPARGS="-A -l '${gaproots}'" check | tee test-suite.log \
- || die "test suite failed, see test-suite.log"
- eshopts_pop
-}
-
-src_install() {
- default
-
- # Manually install Makefile.gappkg
- insinto usr/share/gap/etc
- doins etc/Makefile.gappkg
-
- # la files removal
- find "${ED}" -type f -name '*.la' -delete || die
-}
diff --git a/sci-mathematics/gap/gap-4.13.1.ebuild b/sci-mathematics/gap/gap-4.13.1.ebuild
index 9bc9e6442c42..7927d5feec2a 100644
--- a/sci-mathematics/gap/gap-4.13.1.ebuild
+++ b/sci-mathematics/gap/gap-4.13.1.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P/_/-}"
LICENSE="GPL-2+"
SLOT="0/9" # soname
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
IUSE="cpu_flags_x86_popcnt debug memcheck minimal readline test valgrind"
REQUIRED_USE="?? ( memcheck valgrind )"