public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gap/
@ 2024-01-22 11:29 Michael Orlitzky
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Orlitzky @ 2024-01-22 11:29 UTC (permalink / raw
  To: gentoo-commits

commit:     0f2e12f7aa02ef63b84cfc748d851a9044e55b76
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 17 00:39:28 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 11:29:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f2e12f7

sci-mathematics/gap: use a bash array for econf args

Suggested-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/gap/gap-4.12.2-r3.ebuild | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/sci-mathematics/gap/gap-4.12.2-r3.ebuild b/sci-mathematics/gap/gap-4.12.2-r3.ebuild
index 2ccaded522a5..d44da14dfd8a 100644
--- a/sci-mathematics/gap/gap-4.12.2-r3.ebuild
+++ b/sci-mathematics/gap/gap-4.12.2-r3.ebuild
@@ -97,15 +97,17 @@ src_prepare() {
 src_configure() {
 	# We unset $ABI because GAP uses it internally for something else.
 	# --without-gmp and --without-zlib both trigger an AC_MSG_ERROR
-	econf \
-		ABI="" \
-		--with-gmp \
-		--with-zlib \
-		$(use_enable cpu_flags_x86_popcnt popcnt) \
-		$(use_enable memcheck memory-checking) \
-		$(use_enable valgrind) \
-		$(use_with readline) \
+	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() {


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gap/
@ 2024-07-14 22:52 Michael Orlitzky
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Orlitzky @ 2024-07-14 22:52 UTC (permalink / raw
  To: gentoo-commits

commit:     8182d6c863ab09949b876a2fe50cc957df6fa2d5
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 14 22:47:46 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Jul 14 22:52:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8182d6c8

sci-mathematics/gap: drop 4.13.0

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/gap/Manifest          |   1 -
 sci-mathematics/gap/gap-4.13.0.ebuild | 137 ----------------------------------
 2 files changed, 138 deletions(-)

diff --git a/sci-mathematics/gap/Manifest b/sci-mathematics/gap/Manifest
index 390f9fb7bafd..7b5f575d35fb 100644
--- a/sci-mathematics/gap/Manifest
+++ b/sci-mathematics/gap/Manifest
@@ -1,2 +1 @@
-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

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


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gap/
@ 2024-07-14 22:45 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2024-07-14 22:45 UTC (permalink / raw
  To: gentoo-commits

commit:     dfd388d146765f35c8c316067faa06a404c57756
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 14 22:44:27 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 14 22:44:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfd388d1

sci-mathematics/gap: Stabilize 4.13.1 amd64, #936054

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/gap/gap-4.13.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 )"
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gap/
@ 2024-06-14  1:31 Michael Orlitzky
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Orlitzky @ 2024-06-14  1:31 UTC (permalink / raw
  To: gentoo-commits

commit:     2b486e60b88aa44369e2d696ba705afaed84a57e
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 13 23:42:03 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 01:30:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b486e60

sci-mathematics/gap: add 4.13.1

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/gap/Manifest          |   1 +
 sci-mathematics/gap/gap-4.13.1.ebuild | 138 ++++++++++++++++++++++++++++++++++
 2 files changed, 139 insertions(+)

diff --git a/sci-mathematics/gap/Manifest b/sci-mathematics/gap/Manifest
index 09989d8cafce..390f9fb7bafd 100644
--- a/sci-mathematics/gap/Manifest
+++ b/sci-mathematics/gap/Manifest
@@ -1 +1,2 @@
 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

diff --git a/sci-mathematics/gap/gap-4.13.1.ebuild b/sci-mathematics/gap/gap-4.13.1.ebuild
new file mode 100644
index 000000000000..9bc9e6442c42
--- /dev/null
+++ b/sci-mathematics/gap/gap-4.13.1.ebuild
@@ -0,0 +1,138 @@
+# 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"
+
+S="${WORKDIR}/${P/_/-}"
+
+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} )"
+
+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
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gap/
@ 2024-05-08  7:33 Joonas Niilola
  0 siblings, 0 replies; 11+ messages in thread
From: Joonas Niilola @ 2024-05-08  7:33 UTC (permalink / raw
  To: gentoo-commits

commit:     76b3c10daf41fb62123f2c192516a9102641f283
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed May  8 07:32:37 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed May  8 07:33:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76b3c10d

sci-mathematics/gap: Stabilize 4.13.0 amd64, #931511

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sci-mathematics/gap/gap-4.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/gap/gap-4.13.0.ebuild b/sci-mathematics/gap/gap-4.13.0.ebuild
index 35317e58bb7c..9e533710c911 100644
--- a/sci-mathematics/gap/gap-4.13.0.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="~amd64"
+KEYWORDS="amd64"
 IUSE="cpu_flags_x86_popcnt debug memcheck minimal readline test valgrind"
 REQUIRED_USE="?? ( memcheck valgrind )"
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gap/
@ 2024-03-19 20:50 Michael Orlitzky
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Orlitzky @ 2024-03-19 20:50 UTC (permalink / raw
  To: gentoo-commits

commit:     1d5a649cfb4443b2ae96b516f722f28b13e98755
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 14:54:20 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Mar 19 20:45:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d5a649c

sci-mathematics/gap: add 4.13.0, drop 4.13.0_alpha2

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/gap/Manifest                                        | 2 +-
 sci-mathematics/gap/{gap-4.13.0_alpha2.ebuild => gap-4.13.0.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/gap/Manifest b/sci-mathematics/gap/Manifest
index e595dbbf5a1c..17dbe0f804b4 100644
--- a/sci-mathematics/gap/Manifest
+++ b/sci-mathematics/gap/Manifest
@@ -1,2 +1,2 @@
 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
+DIST gap-4.13.0-core.tar.gz 38666910 BLAKE2B 42e6ccd4c7474efec6f9faab7bbc67c264df7f3a3b62945faa53150a00d6944aa8a2cc5e5c9f99440541211d5279bdaed458ce8351375f8e14f0380f612e8c89 SHA512 d7326dc49f1c646853e66a48b83c8053bb80625289fbaa54b12b8f88c016d41cbf78d67333def0c3ac36d93f602811d2cb4ee5d56c37aa7efd13ce8ce6808f3c

diff --git a/sci-mathematics/gap/gap-4.13.0_alpha2.ebuild b/sci-mathematics/gap/gap-4.13.0.ebuild
similarity index 99%
rename from sci-mathematics/gap/gap-4.13.0_alpha2.ebuild
rename to 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 )"


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gap/
@ 2024-02-20 23:41 Michael Orlitzky
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Orlitzky @ 2024-02-20 23:41 UTC (permalink / raw
  To: gentoo-commits

commit:     dca27bfcce1a3d987f3b3d6fd7ffa489305d5454
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 20 15:31:46 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Feb 20 23:40:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dca27bfc

sci-mathematics/gap: add 4.13.0_alpha2, drop 4.13.0_alpha1

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/gap/Manifest                                            | 2 +-
 .../gap/{gap-4.13.0_alpha1.ebuild => gap-4.13.0_alpha2.ebuild}          | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/gap/Manifest b/sci-mathematics/gap/Manifest
index f4967f9cc8b4..e595dbbf5a1c 100644
--- a/sci-mathematics/gap/Manifest
+++ b/sci-mathematics/gap/Manifest
@@ -1,2 +1,2 @@
 DIST gap-4.12.2-core.tar.gz 37671069 BLAKE2B 7e2c35f0bb232fc5478ff09e98b9c4d021ee5df775f2ff4934b27f871c18a3781386c24b94f1255517c4193c1eb9ff6396ea70e8d6cf72ccbb5480ca837ef8eb SHA512 d16af2648b0a655df7ce28cf8e2c6b3d0e33eda806674844a9813b4cb5068b137005225c02b8651a25b608e9b76a184f54f2e291a957a4675c38a7883ef83a38
-DIST gap-4.13.0-alpha1-core.tar.gz 43594979 BLAKE2B 87e7a7457731a35e6049ce802c819e26c46ef743eadf496f23bec5347a8f56ef102fce7b4d7489b5c56525075335d5ee717981a4f7708699c339534bcc6d65a5 SHA512 6c284df20c34ea403fab71d9489aca1e2b9ecaccb0defaf44d64e5058d29c0d87931b7900f519f8d4aa3ed9d9b4c684a3ef8aef32809fe74b9307fd7b4405d8f
+DIST gap-4.13.0-alpha2-core.tar.gz 38557782 BLAKE2B f73039c69023bee09e43e9a1634f7ae7a5a7b444175fc37115400a64bab13a6ad469ca72bd1e84317bdd3c318f62b71ee2e7f6658df4d7b255d4a18b31f71d52 SHA512 b7ab3e26e29ab72738b3e910f313ac07df9fd07eac1e602ee12f07b7d37e9a95dde29f330f04df135a560baf039bacad989029921ed75d98aeaa8c4833795bc6

diff --git a/sci-mathematics/gap/gap-4.13.0_alpha1.ebuild b/sci-mathematics/gap/gap-4.13.0_alpha2.ebuild
similarity index 100%
rename from sci-mathematics/gap/gap-4.13.0_alpha1.ebuild
rename to sci-mathematics/gap/gap-4.13.0_alpha2.ebuild


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gap/
@ 2024-02-07 21:19 Michael Orlitzky
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Orlitzky @ 2024-02-07 21:19 UTC (permalink / raw
  To: gentoo-commits

commit:     9a97b3a4c75084e81cb96286afe7825650cb141c
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  7 21:17:20 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Feb  7 21:17:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a97b3a4

sci-mathematics/gap: add 4.13.0_alpha1 masked for testing

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/gap/Manifest                 |   1 +
 sci-mathematics/gap/gap-4.13.0_alpha1.ebuild | 137 +++++++++++++++++++++++++++
 2 files changed, 138 insertions(+)

diff --git a/sci-mathematics/gap/Manifest b/sci-mathematics/gap/Manifest
index 20d1f3a3316c..f4967f9cc8b4 100644
--- a/sci-mathematics/gap/Manifest
+++ b/sci-mathematics/gap/Manifest
@@ -1 +1,2 @@
 DIST gap-4.12.2-core.tar.gz 37671069 BLAKE2B 7e2c35f0bb232fc5478ff09e98b9c4d021ee5df775f2ff4934b27f871c18a3781386c24b94f1255517c4193c1eb9ff6396ea70e8d6cf72ccbb5480ca837ef8eb SHA512 d16af2648b0a655df7ce28cf8e2c6b3d0e33eda806674844a9813b4cb5068b137005225c02b8651a25b608e9b76a184f54f2e291a957a4675c38a7883ef83a38
+DIST gap-4.13.0-alpha1-core.tar.gz 43594979 BLAKE2B 87e7a7457731a35e6049ce802c819e26c46ef743eadf496f23bec5347a8f56ef102fce7b4d7489b5c56525075335d5ee717981a4f7708699c339534bcc6d65a5 SHA512 6c284df20c34ea403fab71d9489aca1e2b9ecaccb0defaf44d64e5058d29c0d87931b7900f519f8d4aa3ed9d9b4c684a3ef8aef32809fe74b9307fd7b4405d8f

diff --git a/sci-mathematics/gap/gap-4.13.0_alpha1.ebuild b/sci-mathematics/gap/gap-4.13.0_alpha1.ebuild
new file mode 100644
index 000000000000..1d0dea2de4c2
--- /dev/null
+++ b/sci-mathematics/gap/gap-4.13.0_alpha1.ebuild
@@ -0,0 +1,137 @@
+# 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=""
+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
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gap/
@ 2024-01-22 11:29 Michael Orlitzky
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Orlitzky @ 2024-01-22 11:29 UTC (permalink / raw
  To: gentoo-commits

commit:     5419a91b0e134275bfdcb321f2eaec35480a94f0
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 14:35:18 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 11:29:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5419a91b

sci-mathematics/gap: fix regeneration of aclocal.m4

Without AC_CONFIG_MACRO_DIRS in configure.ac, running eautoconf clobbers
the important m4_include directives in aclocal.m4, leading to libtool
version errors in the build. A quick "sed" does the trick.

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/gap/gap-4.12.2-r3.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/sci-mathematics/gap/gap-4.12.2-r3.ebuild b/sci-mathematics/gap/gap-4.12.2-r3.ebuild
index ce54b8bfeffb..2ccaded522a5 100644
--- a/sci-mathematics/gap/gap-4.12.2-r3.ebuild
+++ b/sci-mathematics/gap/gap-4.12.2-r3.ebuild
@@ -80,6 +80,14 @@ src_prepare() {
 	# 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


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gap/
@ 2024-01-22 11:29 Michael Orlitzky
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Orlitzky @ 2024-01-22 11:29 UTC (permalink / raw
  To: gentoo-commits

commit:     7fb1aee89d3004cb4c12c0d3ebfbcacd2c5b2006
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 00:57:36 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 11:29:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fb1aee8

sci-mathematics/gap: update dev-util/valgrind -> dev-debug/valgrind

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/gap/{gap-4.12.2-r2.ebuild => gap-4.12.2-r3.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/gap/gap-4.12.2-r2.ebuild b/sci-mathematics/gap/gap-4.12.2-r3.ebuild
similarity index 99%
rename from sci-mathematics/gap/gap-4.12.2-r2.ebuild
rename to sci-mathematics/gap/gap-4.12.2-r3.ebuild
index 18e8a1dfb004..19f95ebdc744 100644
--- a/sci-mathematics/gap/gap-4.12.2-r2.ebuild
+++ b/sci-mathematics/gap/gap-4.12.2-r3.ebuild
@@ -53,7 +53,7 @@ BDEPEND="test? ( ${REQUIRED_PKGS} )"
 
 DEPEND="dev-libs/gmp:=
 	sys-libs/zlib
-	valgrind? ( dev-util/valgrind )
+	valgrind? ( dev-debug/valgrind )
 	readline? ( sys-libs/readline:= )"
 
 RDEPEND="${DEPEND}"


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gap/
@ 2024-01-22 11:29 Michael Orlitzky
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Orlitzky @ 2024-01-22 11:29 UTC (permalink / raw
  To: gentoo-commits

commit:     498ad57b5231fd0ff2e55aab14254c6ecbaab9fd
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 12:54:35 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 11:29:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=498ad57b

sci-mathematics/gap: drop USE=emacs (a no-op)

Some day, this might pull in app-emacs/gap-mode, which does not yet
exist. I tried to package it but it throws several warnings in the
latest version of emacs:

  https://gitlab.com/gvol/gap-mode/-/issues/13

For now let's drop the flag since it doesn't do anything.

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/gap/gap-4.12.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/gap/gap-4.12.2-r3.ebuild b/sci-mathematics/gap/gap-4.12.2-r3.ebuild
index 19f95ebdc744..ce54b8bfeffb 100644
--- a/sci-mathematics/gap/gap-4.12.2-r3.ebuild
+++ b/sci-mathematics/gap/gap-4.12.2-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/gap-system/gap/releases/download/v${PV}/${P}-core.ta
 LICENSE="GPL-2+"
 SLOT="0/8"
 KEYWORDS="~amd64"
-IUSE="cpu_flags_x86_popcnt debug emacs memcheck minimal readline test valgrind"
+IUSE="cpu_flags_x86_popcnt debug memcheck minimal readline test valgrind"
 REQUIRED_USE="?? ( memcheck valgrind )"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-07-14 22:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-22 11:29 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gap/ Michael Orlitzky
  -- strict thread matches above, loose matches on Subject: below --
2024-07-14 22:52 Michael Orlitzky
2024-07-14 22:45 Sam James
2024-06-14  1:31 Michael Orlitzky
2024-05-08  7:33 Joonas Niilola
2024-03-19 20:50 Michael Orlitzky
2024-02-20 23:41 Michael Orlitzky
2024-02-07 21:19 Michael Orlitzky
2024-01-22 11:29 Michael Orlitzky
2024-01-22 11:29 Michael Orlitzky
2024-01-22 11:29 Michael Orlitzky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox