dev-gap/grape - 4.9.2 (gentoo)

Search

Package Information

Description:
GRaph Algorithms using PErmutation groups
License:
Apache-2.0 GPL-2+

Ebuild Details

Version EAPI Keywords Slot
4.9.2 8 ~amd64 ~riscv 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit gap-pkg prefix

DESCRIPTION="GRaph Algorithms using PErmutation groups"
SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz"

LICENSE="Apache-2.0 GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
IUSE="bliss"

RDEPEND="bliss? ( sci-libs/bliss )
	!bliss? ( sci-mathematics/nauty )"

PATCHES=( "${FILESDIR}/${PN}-4.9.0-exec.patch" )

DOCS=( README.md CHANGES.md )

GAP_PKG_HTML_DOCDIR="htm"
GAP_PKG_EXTRA_INSTALL=( grh )
gap-pkg_enable_tests

src_prepare() {
	# The ./configure script and Makefile are only used to build
	# the "dreadnaut" executable that we don't want anyway (we
	# use the system copy; see $PATCHES).
	rm -r nauty2_8_6 || die
	rm configure Makefile.in || die

	default

	local nauty="true"
	use bliss && nauty="false"

	sed -i "s:@nauty@:${nauty}:" lib/grape.g || die
	eprefixify lib/grape.g
}

USE Flags

Dependencies

RDEPEND

bliss? ( sci-libs/bliss )
	!bliss? ( sci-mathematics/nauty )

Manifest for 4.9.2

Type File Size Source URLs
DIST grape-4.9.2.tar.gz 1953876 bytes https://github.com/gap-packages/grape/releases/download/v4.9.2/grape-4.9.2.tar.gz