summaryrefslogtreecommitdiff
path: root/dev-gap/orb/orb-4.9.0.ebuild
blob: 941c802b05f4125cd80b42fc0e22e577dfb1b356 (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
33
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit gap-pkg toolchain-funcs

DESCRIPTION="GAP methods to enumerate orbits"
SLOT="0"
SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"

LICENSE="GPL-3+"
KEYWORDS="~amd64"
IUSE="examples test"
RESTRICT="!test? ( test )"

DEPEND="sci-mathematics/gap"
BDEPEND="test? (
	dev-gap/atlasrep
	dev-gap/cvec
	dev-gap/io
)"

gap-pkg_enable_tests

pkg_setup() {
	tc-export CC
}

src_install() {
	gap-pkg_src_install
	use examples && dodoc -r examples
}