Install this version:
emerge -a =app-shells/direnv-2.37.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-shells/direnv-2.37.1
Or alternatively:
emerge --autounmask-write -a =app-shells/direnv-2.37.1
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Environment variable manager for shell"
HOMEPAGE="https://github.com/direnv/direnv"
SRC_URI="https://github.com/direnv/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://files.demize.dev/gentoo/${CATEGORY}/${PN}/${P}-deps.tar.xz"
LICENSE="MIT"
# dependency licenses
LICENSE+=" BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# test dependencies are unreasonable, and tests fail without patches
RESTRICT="test"
# 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
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | direnv-2.37.1-deps.tar.xz | 3051396 bytes | https://files.demize.dev/gentoo//direnv/direnv-2.37.1-deps.tar.xz |
| DIST | direnv-2.37.1.tar.gz | 102836 bytes | https://github.com/direnv/direnv/archive/v2.37.1.tar.gz |