summaryrefslogtreecommitdiff
path: root/dev-gap/utils/utils-0.94.ebuild
blob: fa661e97819b8eb1cf7ca0d5b7583df505b3773f (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
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit gap-pkg

DESCRIPTION="Utility functions in GAP"
SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~riscv"

RDEPEND="dev-gap/autodoc
	dev-gap/polycyclic"

DOCS=( CHANGES.md README.md )

gap-pkg_enable_tests

src_prepare() {
	# Disable network tests, and sed out the line in testall.g that
	# tells AutoDoc to regenerate them.
	rm tst/{download,utils09}.tst || die
	sed -e '/makedoc\.g/d' -i tst/testall.g || die
	default
}