commit: 51c5d455850186d86cdbce8bcc1a3ca2d421e545
parent: 9f5b2512594ff955f5b2d33a7c61cb957fa52204
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 6 Jul 2019 04:45:18 +0200
dev-lang/go: Strip the 0. for the tarball
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
@@ -1 +1 @@
-DIST go-20171003.tar.gz 11009739 BLAKE2B 44653911a8276767ba5b357c1e759d8ab3c39b964c44e0c263a4a6a4d77a7dc8f8b31a56c51386e36ae2f749f406673e89ba8f6ade1bbe015ead79eb005aa709 SHA512 2f65d5035d2b4ae8610c3337e0fcba64692c63953b54bf735f634da3532c6573ed08927865bf068b00a3885663815c5efc7dbd9a1b3d6337c9a0c62168aabca7
+DIST go1.4-bootstrap-20171003.tar.gz 11009739 BLAKE2B 44653911a8276767ba5b357c1e759d8ab3c39b964c44e0c263a4a6a4d77a7dc8f8b31a56c51386e36ae2f749f406673e89ba8f6ade1bbe015ead79eb005aa709 SHA512 2f65d5035d2b4ae8610c3337e0fcba64692c63953b54bf735f634da3532c6573ed08927865bf068b00a3885663815c5efc7dbd9a1b3d6337c9a0c62168aabca7
diff --git a/dev-lang/go/go-0.20171003.ebuild b/dev-lang/go/go-0.20171003.ebuild
@@ -5,9 +5,11 @@ EAPI=6
inherit eutils toolchain-funcs
+MY_PV="${PV//0./}"
+
DESCRIPTION="Boostrap Go from C (useful for musl libc)"
HOMEPAGE="https://golang.org/doc/install/source"
-SRC_URI="https://dl.google.com/go/go1.4-bootstrap-${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://dl.google.com/go/go1.4-bootstrap-${MY_PV}.tar.gz"
LICENSE="BSD"
SLOT="bootstrap"