Install this version:
emerge -a =app-emacs/rg-20260517.1310
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-emacs/rg-20260517.1310
Or alternatively:
emerge --autounmask-write -a =app-emacs/rg-20260517.1310
# automatically generated by g-sorcery
# please do not edit this file
EAPI=8
REPO_URI="https://melpa.org/packages/"
SOURCE_TYPE="tar"
REALNAME="rg"
DIGEST_SOURCES="yes"
inherit g-sorcery gs-elpa
DESCRIPTION="A search tool based on ripgrep"
HOMEPAGE="https://github.com/dajva/rg.el"
SRC_URI="${REPO_URI}${REALNAME}-${PV}.${SUFFIX}"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="app-emacs/transient
app-emacs/wgrep"
RDEPEND="app-emacs/transient
app-emacs/wgrep"