Install this version:
emerge -a =app-shells/direnv-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-shells/direnv-9999
Or alternatively:
emerge --autounmask-write -a =app-shells/direnv-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
EGIT_REPO_URI="https://github.com/direnv/${PN}.git"
inherit git-r3 go-module
DESCRIPTION="Environment variable manager for shell"
HOMEPAGE="https://github.com/direnv/direnv"
LICENSE="MIT"
SLOT="0"
RESTRICT="test" # fails
# Upstream requires Go >=1.24
BDEPEND+=">=dev-lang/go-1.24:="
DOCS=( {CHANGELOG,README}.md )
src_install() {
einstalldocs
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
}