blob: b7f15dde6f0746e0a37ad1886807ddcff97966fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# 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
|