mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 00:21:44 +02:00
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:
parent
a8ed1227a2
commit
2fd3ce14a0
@ -13,10 +13,10 @@
|
|||||||
# @CODE
|
# @CODE
|
||||||
# COREOS_GO_VERSION=go1.20
|
# COREOS_GO_VERSION=go1.20
|
||||||
# @CODE
|
# @CODE
|
||||||
export COREOS_GO_VERSION="${COREOS_GO_VERSION:-go1.22}"
|
export COREOS_GO_VERSION="${COREOS_GO_VERSION:-go1.23}"
|
||||||
|
|
||||||
case "${EAPI:-0}" in
|
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}"
|
*) die "Unsupported EAPI=${EAPI} for ${ECLASS}"
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user