summaryrefslogtreecommitdiff
path: root/sci-mathematics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-20 01:00:14 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-20 01:00:14 +0000
commitf4106f0cb3d17dc4c85cd4d45816e2c18a8d29e2 (patch)
tree30f32cdcaa065cf7695f6f848d3fa7bfa998619a /sci-mathematics
parent8cb1b7629fb6936b7008bd364b5e4ec3ecf6f6cd (diff)
gentoo auto-resync : 20:03:2024 - 01:00:13
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/Manifest.gzbin19320 -> 19317 bytes
-rw-r--r--sci-mathematics/gap/Manifest7
-rw-r--r--sci-mathematics/gap/files/gap-4.12.2-cc-and-cxx-for-gac.patch42
-rw-r--r--sci-mathematics/gap/gap-4.12.2-r4.ebuild144
-rw-r--r--sci-mathematics/gap/gap-4.13.0.ebuild (renamed from sci-mathematics/gap/gap-4.13.0_alpha2.ebuild)2
5 files changed, 3 insertions, 192 deletions
diff --git a/sci-mathematics/Manifest.gz b/sci-mathematics/Manifest.gz
index 273ca25bac9b..60ba524b06f4 100644
--- a/sci-mathematics/Manifest.gz
+++ b/sci-mathematics/Manifest.gz
Binary files differ
diff --git a/sci-mathematics/gap/Manifest b/sci-mathematics/gap/Manifest
index 8d4ffc8c5d8b..e448069ce76f 100644
--- a/sci-mathematics/gap/Manifest
+++ b/sci-mathematics/gap/Manifest
@@ -1,6 +1,3 @@
-AUX gap-4.12.2-cc-and-cxx-for-gac.patch 1677 BLAKE2B 4a6a4b0d8b62b7ffdb0da2ba683439dde1ed80d3a3e74f92f5a46098619a13f755bd5b7d024a14541d2cc0f65ccb3677f18719c14972741ea347a7ce35c9ac42 SHA512 f8a48975777db8e09d31350a2688eb621cd27869c61c52fd99b6b6991f7a695e3e43b80277ebb6b4466dbf6de7b0bc05b3dfa8497aaba114763b4315c5d99414
-DIST gap-4.12.2-core.tar.gz 37671069 BLAKE2B 7e2c35f0bb232fc5478ff09e98b9c4d021ee5df775f2ff4934b27f871c18a3781386c24b94f1255517c4193c1eb9ff6396ea70e8d6cf72ccbb5480ca837ef8eb SHA512 d16af2648b0a655df7ce28cf8e2c6b3d0e33eda806674844a9813b4cb5068b137005225c02b8651a25b608e9b76a184f54f2e291a957a4675c38a7883ef83a38
-DIST gap-4.13.0-alpha2-core.tar.gz 38557782 BLAKE2B f73039c69023bee09e43e9a1634f7ae7a5a7b444175fc37115400a64bab13a6ad469ca72bd1e84317bdd3c318f62b71ee2e7f6658df4d7b255d4a18b31f71d52 SHA512 b7ab3e26e29ab72738b3e910f313ac07df9fd07eac1e602ee12f07b7d37e9a95dde29f330f04df135a560baf039bacad989029921ed75d98aeaa8c4833795bc6
-EBUILD gap-4.12.2-r4.ebuild 4294 BLAKE2B 4e5783b052809638768188569f5236ec96832bba1dc009937a61a8b8c53fb16264079bf717a3ddcd6ae42ba4e4d09a9ad36a8ec80ef7f2c7526e96cef967da7a SHA512 0f593ff8c3bec90982048d879738bc6d08a833f938ac4cd4476bb193ebf68a8e07b752958e14d093b13225978a8e29bf164d98d16d58045cdc3daa818e352811
-EBUILD gap-4.13.0_alpha2.ebuild 3939 BLAKE2B ae018fda2a76fbd65e08ffe9fab797221fa9240231bd317fa7af971e6786c192fb0929414c7a2f019e4278b2cc3a4f58171e895b3e7fb6d49b62b5cb8ed53ef2 SHA512 f445df449e30dbfdb8e54b1223c90d95a4809f762df984e28dd53fe1c69aba145c5df68c9968d8fa9c6c58f5c98145afbd439672e5302198cfe6b6631a9cb058
+DIST gap-4.13.0-core.tar.gz 38666910 BLAKE2B 42e6ccd4c7474efec6f9faab7bbc67c264df7f3a3b62945faa53150a00d6944aa8a2cc5e5c9f99440541211d5279bdaed458ce8351375f8e14f0380f612e8c89 SHA512 d7326dc49f1c646853e66a48b83c8053bb80625289fbaa54b12b8f88c016d41cbf78d67333def0c3ac36d93f602811d2cb4ee5d56c37aa7efd13ce8ce6808f3c
+EBUILD gap-4.13.0.ebuild 3945 BLAKE2B 728e1beff3fab585fa2ae6808eb635f8ab7a409b36aeb0baa95dec21e769a5019dee8aaa8bc0a8f930b71b89e223c207dd1ac5e9373f0380156a19c3ca1d4fae SHA512 bda6b69c90bd8d37272888c7844586581e68fd37d8adb1a7c2d699debf017eea8fdd8fd779f4e11b0b63a314c12629be18a3dc2a37e58fb128b870d22936e396
MISC metadata.xml 1582 BLAKE2B 9151244f139b0d675e327731c336c41d5d69c25856286c182944d57255fbb6d7b1f023195b3a01c829ff6f3ea1d5e6eb6edbcc796a30120deacde82b90b5f39c SHA512 f4490e9b13cee6604f14df39ea048d7578e080a8faa97b0bb22191a7dce56904416870ed64c289f91526087009f7488e8baed4e531c78f50a5b917e9e1684ce2
diff --git a/sci-mathematics/gap/files/gap-4.12.2-cc-and-cxx-for-gac.patch b/sci-mathematics/gap/files/gap-4.12.2-cc-and-cxx-for-gac.patch
deleted file mode 100644
index cfdfb4ac8a11..000000000000
--- a/sci-mathematics/gap/files/gap-4.12.2-cc-and-cxx-for-gac.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 2933af2d8a986430a4fcf2ab4d577e5bb049662a Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 2 Feb 2024 18:14:59 -0500
-Subject: [PATCH] cnf/gac.in: respect $CC and $CXX if they're non-null
-
-This allows the user to override the stored C and C++ compilers
-(typically obtained from sysinfo.gap) if desired. This is especially
-useful on rolling release and/or source-based distributions where the
-"current" compiler can change frequently and without user interaction.
-
-Closes: https://github.com/gap-system/gap/issues/5606
----
- cnf/gac.in | 16 ++++++++++++++++
- 1 file changed, 16 insertions(+)
-
-diff --git a/cnf/gac.in b/cnf/gac.in
-index 1faafba820..3a9fc6eb16 100644
---- a/cnf/gac.in
-+++ b/cnf/gac.in
-@@ -63,6 +63,22 @@ GAP_CFLAGS="${GAP_CFLAGS} ${GAC_CFLAGS}"
- GAP_CXXFLAGS="${GAP_CXXFLAGS} ${GAC_CFLAGS}"
- GAP_LDFLAGS="${GAP_LDFLAGS} ${GAC_LDFLAGS}"
-
-+# Using the stored C/C++ compilers from sysinfo.gap is sometimes
-+# undesirable. For example, if the compiler suite is upgraded or
-+# downgraded, the particular executable used to build GAP itself may
-+# no longer exist. The CC and CXX environment variables provide a
-+# somewhat standard way for the user to indicate which compilers he
-+# would like to use. So if those are set, we prefer them to the stored
-+# values. This allows people who know what they are doing to override
-+# the default behavior, while keeping the defaults safe for normal
-+# people.
-+if test -n "${CC}"; then
-+ c_compiler="${CC}"
-+ c_dyn_linker="${CC}"
-+fi
-+if test -n "${CXX}"; then
-+ cxx_compiler="${CXX}"
-+fi
-
- # is output going to a terminal?
- if test -t 1 && command -v tput >/dev/null 2>&1 ; then
diff --git a/sci-mathematics/gap/gap-4.12.2-r4.ebuild b/sci-mathematics/gap/gap-4.12.2-r4.ebuild
deleted file mode 100644
index f9f41bafaaab..000000000000
--- a/sci-mathematics/gap/gap-4.12.2-r4.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-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/8"
-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} )"
-
-PATCHES=( "${FILESDIR}/${P}-cc-and-cxx-for-gac.patch" )
-
-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
-
- # Prepend AC_CONFIG_MACRO_DIRS to configure.ac so that eautoreconf
- # recreates aclocal.m4 correctly. Upstream bundles libtool-2.4.6,
- # and Gentoo uses 2.4.7, so we need to regenerate aclocal.m4. BUT,
- # upstream also uses m4_include directives in aclocal.m4 rather than
- # AC_CONFIG_MACRO_DIRS in configure.ac. Without AC_CONFIG_MACRO_DIRS
- # eautoreconf will omit all of the macros in cnf/m4.
- sed -e '1s;^;AC_CONFIG_MACRO_DIRS([cnf/m4])\n;' -i configure.ac || die
-
- default
-
- # Fix feature detection with pathological CFLAGS
- eautoreconf
-}
-
-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.
- emake GAPARGS="-A -l '${gaproots}'" check
-}
-
-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.0_alpha2.ebuild b/sci-mathematics/gap/gap-4.13.0.ebuild
index 1d0dea2de4c2..35317e58bb7c 100644
--- a/sci-mathematics/gap/gap-4.13.0_alpha2.ebuild
+++ b/sci-mathematics/gap/gap-4.13.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/gap-system/gap/releases/download/v${PV/_/-}/${P/_/-}
LICENSE="GPL-2+"
SLOT="0/9" # soname
-KEYWORDS=""
+KEYWORDS="~amd64"
IUSE="cpu_flags_x86_popcnt debug memcheck minimal readline test valgrind"
REQUIRED_USE="?? ( memcheck valgrind )"
RESTRICT="!test? ( test )"