summaryrefslogtreecommitdiff
blob: c374614c816308b7a7b3bbff5d65c2439325db54 (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit gap-pkg

DESCRIPTION="Algebraic number theory and an interface to PARI/GP"
SLOT="0"
SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"

LICENSE="GPL-2+"
KEYWORDS="~amd64"
RESTRICT=test

# Circular dependency alnuth->polycyclic->alnuth...
RDEPEND="dev-gap/polycyclic"
#BDEPEND="test? ( dev-gap/radiroot )"

GAP_PKG_HTML_DOCDIR="htm"

# The "exam" directory contains examples... but they're loaded by
# read.g, and actually used by dev-gap/polenta!
GAP_PKG_EXTRA_INSTALL=( exam gp )

gap-pkg_enable_tests