Install this version:
emerge -a =dev-gap/hap-1.75
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-gap/hap-1.75
Or alternatively:
emerge --autounmask-write -a =dev-gap/hap-1.75
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gap-pkg
DESCRIPTION="Homological Algebra Programming (HAP) in GAP"
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 )"
RDEPEND="dev-gap/aclib
dev-gap/crystcat
dev-gap/fga
dev-gap/nq
dev-gap/polycyclic"
# Singular: https://docs.gap-system.org/pkg/hap/doc/chap14.html
# EDIM: https://docs.gap-system.org/pkg/hap/doc/chap11.html
# congruence is needed for ResolutionSL2Z()
# tst/testextra/3.6.1.tst calls LieAlgebra() from laguna
# EquivariantEuclideanSpace() in tst/testallV11/1.8.1.tst needs hapcryst
#
# The imagemagick "convert" utility is used in a few places, and it does
# actually need to be imagemagick (and not graphicsmagick) because e.g.
# ReadImageAsPureCubicalComplex parses the comment that only imagemagick
# puts at the top of a text file:
#
# https://github.com/gap-packages/hap/issues/115
#
BDEPEND="test? (
dev-gap/congruence
dev-gap/edim
dev-gap/hapcryst
dev-gap/laguna
dev-gap/polymaking
dev-gap/singular
media-gfx/imagemagick[png]
)"
HTML_DOCS="www/* tutorial"
GAP_PKG_EXTRA_INSTALL=( boolean )
gap-pkg_enable_tests
pkg_postinst() {
elog "Some optional functions require media-gfx/graphviz"
elog "to be installed at runtime."
}
Manage flags for this package:
euse -i <flag> -p dev-gap/hap |
euse -E <flag> -p dev-gap/hap |
euse -D <flag> -p dev-gap/hap
dev-gap/aclib dev-gap/crystcat dev-gap/fga dev-gap/nq dev-gap/polycyclic
test? ( dev-gap/congruence dev-gap/edim dev-gap/hapcryst dev-gap/laguna dev-gap/polymaking dev-gap/singular media-gfx/imagemagick[png] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | hap-1.75.tar.gz | 49102696 bytes | https://github.com/gap-packages/hap/releases/download/v1.75/hap-1.75.tar.gz |