mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
Includes https://github.com/semigroups/Semigroups/pull/1181 to fix a failing test that snuck in. Closes: https://bugs.gentoo.org/977319 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
40 lines
818 B
Bash
40 lines
818 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit gap-pkg
|
|
|
|
DESCRIPTION="GAP package for semigroups and monoids"
|
|
SRC_URI="https://github.com/semigroups/Semigroups/releases/download/v${PV}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~riscv"
|
|
|
|
DEPEND="sci-mathematics/gap:=
|
|
>=sci-libs/libsemigroups-3.5.5:="
|
|
RDEPEND="${DEPEND}
|
|
dev-gap/orb
|
|
dev-gap/io
|
|
dev-gap/images
|
|
dev-gap/datastructures
|
|
dev-gap/digraphs
|
|
dev-gap/genss"
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
DOCS=( CHANGELOG.md README.md CONTRIBUTING.md )
|
|
|
|
GAP_PKG_EXTRA_INSTALL=( data )
|
|
gap-pkg_enable_tests
|
|
|
|
src_prepare() {
|
|
# can't bundle it if it isn't there (belt and suspenders)
|
|
rm -r libsemigroups || die
|
|
default
|
|
}
|
|
|
|
src_configure() {
|
|
gap-pkg_econf --with-external-libsemigroups
|
|
}
|