Install this version:
emerge -a =app-emacs/xr-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-emacs/xr-9999
Or alternatively:
emerge --autounmask-write -a =app-emacs/xr-9999
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS="27.1"
inherit elisp git-r3
DESCRIPTION="Convert string regexp to rx notation"
HOMEPAGE="https://elpa.gnu.org/packages/xr.html"
# EGIT_REPO_URI="https://github.com/mattiase/xr.git"
# EGIT_BRANCH="master"
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs/elpa.git"
EGIT_CLONE_TYPE="single"
EGIT_BRANCH="externals/xr"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-3"
SLOT="0"
IUSE="test"
src_prepare() {
if ! use test ; then
rm ${PN}-test.el
fi
elisp_src_prepare
}
src_test() {
${EMACS} -batch -Q -L . \
-l ${PN}-test.elc \
-f ert-run-tests-batch-and-exit || die "ERT test(s) failed."
}
Manage flags for this package:
euse -i <flag> -p app-emacs/xr |
euse -E <flag> -p app-emacs/xr |
euse -D <flag> -p app-emacs/xr