mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
net-proxy/xray-core: sync 9999 ebuild
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
This commit is contained in:
@@ -32,15 +32,12 @@ RDEPEND="
|
||||
acct-user/xray
|
||||
acct-group/xray"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=dev-lang/go-1.25.5:="
|
||||
BDEPEND=">=dev-lang/go-1.26:="
|
||||
|
||||
src_unpack() {
|
||||
if [[ "${PV}" == 9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
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
|
||||
popd || die
|
||||
go-module_live_vendor
|
||||
@@ -50,9 +47,6 @@ src_unpack() {
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user