mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
(And rearrange some variables to appease pkgcheck.) Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
33 lines
915 B
Bash
33 lines
915 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit gap-pkg
|
|
|
|
DESCRIPTION="Computation with polycyclic groups"
|
|
SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~riscv"
|
|
|
|
# Circular dependency polycyclic->alnuth->polycyclic. There's a global
|
|
# variable called USE_ALNUTH in polycyclic, but setting it to "false"
|
|
# doesn't stop polycyclic from using alnuth (why would it?).
|
|
RDEPEND="dev-gap/autpgrp"
|
|
PDEPEND="dev-gap/alnuth"
|
|
|
|
# There are likely more problems hiding in the test suite. If we run
|
|
# into them, upstream recommends disabling it:
|
|
#
|
|
# https://github.com/gap-packages/polycyclic/issues/46
|
|
# https://github.com/gap-packages/polycyclic/issues/89
|
|
#
|
|
PATCHES=(
|
|
"${FILESDIR}/${P}-hanging-tests.patch"
|
|
"${FILESDIR}/${P}-failing-test.patch"
|
|
)
|
|
|
|
gap-pkg_enable_tests
|