summaryrefslogtreecommitdiff
path: root/dev-gap/gbnp/gbnp-1.0.5.ebuild
blob: 0179f592396955c5148e0a44a59ebb49512d3c9c (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-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit gap-pkg

DESCRIPTION="Compute Gröbner bases of noncommutative polynomials"
SLOT="0"
SRC_URI="https://github.com/gap-packages/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="LGPL-2.1+"
KEYWORDS="~amd64"
IUSE="examples"

gap-pkg_enable_tests

src_prepare() {
	# The GNUmakefile is used to produce the tarball, not to build the
	# package.
	rm GNUmakefile || die
	default
}

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