Install this version:
emerge -a =sci-mathematics/planarity-5.0.0.0-r2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-mathematics/planarity-5.0.0.0-r2
Or alternatively:
emerge --autounmask-write -a =sci-mathematics/planarity-5.0.0.0-r2
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
DESCRIPTION="The edge addition planarity suite of graph algorithms"
HOMEPAGE="https://github.com/graph-algorithms/edge-addition-planarity-suite/"
SRC_URI="https://github.com/graph-algorithms/edge-addition-planarity-suite/releases/download/Version_${PV}/${P}.tar.gz
-> ${P}-r2.tar.gz" # Temporary workaround for changed tarball
LICENSE="BSD"
SLOT="0/4" # soname major, may be ${PV} minus one
KEYWORDS="~amd64 ~riscv ~x86"
src_install() {
default
find "${ED}" -type f -name '*.la' -delete || die
}