Install this version:
emerge -a =dev-db/powa-archivist-5.1.2-r1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-db/powa-archivist-5.1.2-r1
Or alternatively:
emerge --autounmask-write -a =dev-db/powa-archivist-5.1.2-r1
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
POSTGRES_COMPAT=( 14 15 16 17 18 )
POSTGRES_USEDEP="server(+)"
inherit optfeature postgres-multi
DESCRIPTION="PostgreSQL Workload Analyzer Archivist"
HOMEPAGE="https://github.com/powa-team/powa-archivist"
SRC_URI="https://github.com/powa-team/${PN}/archive/refs/tags/${PV//./_}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-REL_${PV//./_}"
LICENSE="POSTGRESQL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
REQUIRED_USE="${POSTGRES_REQ_USE}"
RDEPEND="${POSTGRES_DEP}"
DEPEND="${RDEPEND}"
RESTRICT="test"
src_install() {
einstalldocs
postgres-multi_src_install
}
pkg_postinst() {
optfeature "suggesting new hypothetical indexes." dev-db/hypopg
optfeature "keeping statistics on predicates." dev-db/pg_qualstats
optfeature "gathering statistics on system metrics." dev-db/pg_stat_kcache
optfeature "keeping track of configuration changes." dev-db/pg_track_settings
optfeature "sampling wait_events of all queries executed." dev-db/pg_wait_sampling
}