From ce163dcd0944d81d8406c9532b457535efca7a6d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 22 Jan 2024 16:48:54 +0000 Subject: gentoo auto-resync : 22:01:2024 - 16:48:54 --- dev-gap/browse/Manifest | 3 +++ dev-gap/browse/browse-1.8.21-r1.ebuild | 49 ++++++++++++++++++++++++++++++++++ dev-gap/browse/metadata.xml | 31 +++++++++++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 dev-gap/browse/Manifest create mode 100644 dev-gap/browse/browse-1.8.21-r1.ebuild create mode 100644 dev-gap/browse/metadata.xml (limited to 'dev-gap/browse') diff --git a/dev-gap/browse/Manifest b/dev-gap/browse/Manifest new file mode 100644 index 000000000000..bba80b02e5ab --- /dev/null +++ b/dev-gap/browse/Manifest @@ -0,0 +1,3 @@ +DIST Browse-1.8.21.tar.gz 1830672 BLAKE2B b79dacba18c0d1ccea3a3ee30ad4c818b4e3727d336e05ab4958b14cc8556b5dfc32a6c529d0f001098e22c7f97eedd4aa26b617001c52884ea3b435ec40d995 SHA512 aba81e073c4c3cb7080c7ab28189ab7052f27d56927c8fde047f9ece71c42ff0eadf6cba42e0bc77f409082206f99987f4aff43226543e6f474b372f4d2104ff +EBUILD browse-1.8.21-r1.ebuild 1432 BLAKE2B 80ca3fe0e1a085ee7e01c648cfaa15322ae968d939e3f1bcc6c497706cc856050e262b730bc8b44289e2a0bcf6a53f83f9b9e8e4a3d0757111cf152fb39839aa SHA512 8f53a51f3eae277e9416a85e9bb8e75687bd7b09b9803faf7df438b57ec6d737bdb1aab43ab71042fe4f8dccde269681fa2db56d8c295705877e9429b615a281 +MISC metadata.xml 1059 BLAKE2B d1e228d89c52ac017e0f41f198152b02ff33e645b45f21edb76a52da175e138ab709c3032fa2174944b2dc8d193568b79296f68d7d37fc307d01d332ef835fbd SHA512 cc1be6c933d64963f47c52859d48de0d484ea702695cfa06515f67bc2772f1f48c28320f4c69b337cd29e5ac9c29aef51fc636ff0733aa4ef9a40da37c38b4c9 diff --git a/dev-gap/browse/browse-1.8.21-r1.ebuild b/dev-gap/browse/browse-1.8.21-r1.ebuild new file mode 100644 index 000000000000..42e9e4ec6a4e --- /dev/null +++ b/dev-gap/browse/browse-1.8.21-r1.ebuild @@ -0,0 +1,49 @@ +# 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/metadata.xml b/dev-gap/browse/metadata.xml new file mode 100644 index 000000000000..9455e1e15ea5 --- /dev/null +++ b/dev-gap/browse/metadata.xml @@ -0,0 +1,31 @@ + + + + + mjo@gentoo.org + + + frp.bissey@gmail.com + François Bissey + + + proxy-maint@gentoo.org + Proxy Maintainers + + + sci-mathematics@gentoo.org + Gentoo Mathematics Project + + + The Browse package provides three levels of functionality: + + 1 A GAP interface to the C-library ncurses. + + 2 A generic function for interactive browsing through + two-dimensional arrays of data. + + 3 Several applications of the first two, e.g., a method for + browsing character tables, browsing through the content of some + data collections, or some games. + + -- cgit v1.2.3