From 967a6f4ff3d376d46039b2bf641d6bfb6fdd030f Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 20 Feb 2024 13:37:47 -0500 Subject: dev-gap/browse: rebuild for GAP up/downgrades Signed-off-by: Michael Orlitzky --- dev-gap/browse/browse-1.8.21-r1.ebuild | 49 --------------------------------- dev-gap/browse/browse-1.8.21-r2.ebuild | 50 ++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 49 deletions(-) delete mode 100644 dev-gap/browse/browse-1.8.21-r1.ebuild create mode 100644 dev-gap/browse/browse-1.8.21-r2.ebuild (limited to 'dev-gap') diff --git a/dev-gap/browse/browse-1.8.21-r1.ebuild b/dev-gap/browse/browse-1.8.21-r1.ebuild deleted file mode 100644 index 42e9e4ec6a4e..000000000000 --- a/dev-gap/browse/browse-1.8.21-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic gap-pkg - -MY_PN=Browse -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="GAP ncurses interface for browsing two-dimensional data" -SLOT="0" -SRC_URI="https://www.math.rwth-aachen.de/homes/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-3+" -KEYWORDS="~amd64" - -DEPEND="sys-libs/ncurses:=" -RDEPEND="${DEPEND}" - -GAP_PKG_EXTRA_INSTALL=( app bibl ) -gap-pkg_enable_tests - -src_compile() { - # This has been emailed upstream but there's no public - # bug tracker AFAIK. - append-cflags -Wno-error=strict-prototypes - gap-pkg_src_compile -} - -src_test() { - # TestPackage doesn't work for this guy. Copy the eclass src_test() - # and modify it to use TestDirectory() instead of TestPackage(). - local gapcmd="gap -R -A --nointeract -c " - gapcmd+="LoadPackage(\"${PN}\");" - gapcmd+="d:=DirectoriesPackageLibrary(\"${PN}\",\"tst\");" - gapcmd+="TestDirectory(d[1],rec(exitGAP:=true));" - ln -s "${WORKDIR}" "${T}/pkg" || die - gapcmd+=" --roots ${T}/; " - - # Even the "tee" pipe from the eclass isn't enough to stop - # this one from acting wacky, although it doesn't really - # break the terminal any more. Instead it just enters - # display mode and wipes your screen for a bit. - einfo "running test suite quietly to avoid borking your terminal" - ${gapcmd} > test-suite.log \ - || die "test suite failed, see test-suite.log" -} diff --git a/dev-gap/browse/browse-1.8.21-r2.ebuild b/dev-gap/browse/browse-1.8.21-r2.ebuild new file mode 100644 index 000000000000..0538d9658a1d --- /dev/null +++ b/dev-gap/browse/browse-1.8.21-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic gap-pkg + +MY_PN=Browse +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="GAP ncurses interface for browsing two-dimensional data" +SLOT="0" +SRC_URI="https://www.math.rwth-aachen.de/homes/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3+" +KEYWORDS="~amd64" + +DEPEND="sci-mathematics/gap:= + sys-libs/ncurses:=" +RDEPEND="${DEPEND}" + +GAP_PKG_EXTRA_INSTALL=( app bibl ) +gap-pkg_enable_tests + +src_compile() { + # This has been emailed upstream but there's no public + # bug tracker AFAIK. + append-cflags -Wno-error=strict-prototypes + gap-pkg_src_compile +} + +src_test() { + # TestPackage doesn't work for this guy. Copy the eclass src_test() + # and modify it to use TestDirectory() instead of TestPackage(). + local gapcmd="gap -R -A --nointeract -c " + gapcmd+="LoadPackage(\"${PN}\");" + gapcmd+="d:=DirectoriesPackageLibrary(\"${PN}\",\"tst\");" + gapcmd+="TestDirectory(d[1],rec(exitGAP:=true));" + ln -s "${WORKDIR}" "${T}/pkg" || die + gapcmd+=" --roots ${T}/; " + + # Even the "tee" pipe from the eclass isn't enough to stop + # this one from acting wacky, although it doesn't really + # break the terminal any more. Instead it just enters + # display mode and wipes your screen for a bit. + einfo "running test suite quietly to avoid borking your terminal" + ${gapcmd} > test-suite.log \ + || die "test suite failed, see test-suite.log" +} -- cgit v1.2.3-65-gdbad