Files
guru/app-shells/direnv/direnv-2.36.0.ebuild
demize dd35344974 app-shells/direnv: BDEPEND on >=dev-lang/go-1.24
As of this release, upstream has increased their
minimum Go version to 1.24. Bump the BDEPEND in
both the latest version and the live ebuild.

Signed-off-by: demize <demize@unstable.systems>
2025-04-11 10:32:42 -04:00

30 lines
719 B
Bash

# 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="/usr" install
}