net-proxy/xray-core: sync 9999 ebuild

Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
This commit is contained in:
Alexander Tsoy committed 2026-05-16 12:22:57 +03:00
1 parent b5448d4f50
commit 916d1243cb
1 file changed
+1 -7
+1 -7
View File
@@ -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
} }