mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
29 lines
711 B
Bash
29 lines
711 B
Bash
# Copyright 1999-2026 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"
|
|
SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~riscv"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
# Circular dependency alnuth->polycyclic->alnuth...
|
|
RDEPEND="dev-gap/polycyclic
|
|
sci-mathematics/pari"
|
|
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
|