mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
net-proxy/xray-core: sync 9999 ebuild
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
This commit is contained in:
1 file changed
+1
-7
@@ -32,15 +32,12 @@ RDEPEND="
|
|||||||
acct-user/xray
|
acct-user/xray
|
||||||
acct-group/xray"
|
acct-group/xray"
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
BDEPEND=">=dev-lang/go-1.25.5:="
|
BDEPEND=">=dev-lang/go-1.26:="
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
if [[ "${PV}" == 9999* ]]; then
|
if [[ "${PV}" == 9999* ]]; then
|
||||||
git-r3_src_unpack
|
git-r3_src_unpack
|
||||||
pushd "${S}" || die
|
pushd "${S}" || die
|
||||||
# upstream bumped required go version to 1.25.6 for no particular reason
|
|
||||||
# gvisor.dev/gvisor requires 1.25.5
|
|
||||||
sed -E -i'' 's/^go 1\.25\..*/go 1.25.5/' go.mod || die
|
|
||||||
ego mod tidy
|
ego mod tidy
|
||||||
popd || die
|
popd || die
|
||||||
go-module_live_vendor
|
go-module_live_vendor
|
||||||
@@ -50,9 +47,6 @@ src_unpack() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
# upstream bumped required go version to 1.25.6 for no particular reason
|
|
||||||
# gvisor.dev/gvisor requires 1.25.5
|
|
||||||
sed -E -i'' 's/^go 1\.25\..*/go 1.25.5/' go.mod || die
|
|
||||||
default
|
default
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user