overlay eclass/coreos-go-depend: Bump to 1.23

Also relax the dependency from depending on certain slot of
dev-lang/go to depending on any newer version of the package and any
slot (but forcing rebuild on slot change).
This commit is contained in:
Krzesimir Nowak 2025-01-31 15:43:11 +01:00
parent a8ed1227a2
commit 2fd3ce14a0

View File

@ -13,10 +13,10 @@
# @CODE
# COREOS_GO_VERSION=go1.20
# @CODE
export COREOS_GO_VERSION="${COREOS_GO_VERSION:-go1.22}"
export COREOS_GO_VERSION="${COREOS_GO_VERSION:-go1.23}"
case "${EAPI:-0}" in
7|8) BDEPEND="dev-lang/go:${COREOS_GO_VERSION#go}=" ;;
7|8) BDEPEND=">=dev-lang/go-${COREOS_GO_VERSION#go}:=" ;;
*) die "Unsupported EAPI=${EAPI} for ${ECLASS}"
esac