net-p2p/go-ethereum: package 1.14.8

Signed-off-by: Sam Wilson <sam@binarycake.ca>
Closes: https://github.com/gentoo/gentoo/pull/38115
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Sam Wilson
2024-08-12 09:45:55 -04:00
committed by Joonas Niilola
parent ca13e079a8
commit 9536bb330a
2 changed files with 52 additions and 0 deletions

View File

@@ -3,3 +3,4 @@ DIST go-ethereum-1.10.18.tar.gz 13084436 BLAKE2B 4918f13b131796f928c17e6cbd3ab42
DIST go-ethereum-1.13.14-deps.tar.xz 70373740 BLAKE2B 6bc403f85e024fdeeab8f41ef7f2940cceee11b8f6a1f97dc53cc5dda997f3c97ddcaefac61df196508f00fe61152f21bedc8de9e380fa91245a049c0a93ab58 SHA512 0d6cc6b846dab05acabfa0fc840f2db450a3138f863bf3f99ef83040071260a42fa2dccb88877a0d340e2532241653c32efb783bc67698f316ab1c9291d75330
DIST go-ethereum-1.13.14.tar.gz 13500798 BLAKE2B f5cf0c3f72aedc7d149c5342c2edbcb4310301b4c9b164d65e1e281b8db78c79ca884e9cb41ecd72ed6fbbed34e198cb13fe7cc726856c9f323a4aacc4a2dc17 SHA512 80a410dbeb06e8a46bd5b4e962fcf030fa8787eef192dbcd01c3d98bf31e822a8c3b92c35251876e122eac3fad707faf95b5e5c0baed8e29aa024c856b6f54bc
DIST go-ethereum-1.14.7.tar.xz 167692372 BLAKE2B 90333516179a126a4972f616152fbf8eb83bb1f75b28ff92665b23d450bc04bba231c4978fada1f472f2205d373fbdf555548db262d8dd09c21730ed9ede74cd SHA512 ba2218c40bc58861a975041f04b822f38275c98cd1ebf0dbcfd0d454ca43d2712df4d35cb3516e503a31ab0f90fc1ba64b2e889e0b82fea8d33dd9dd1d838f13
DIST go-ethereum-1.14.8.tar.xz 167710376 BLAKE2B aa9e5b854bfec55b3b998a22042a3b5a8091341358764d6568f08a936ba19dda1ad9a1a2c0f5728b0f0cc932eee027636653a1e4d2ca613c9eaadddb8cdb08cb SHA512 4bd2bbd34742cb5acce8734414b5d77f49ca9a54885939f932a8889702d9cead3efcf723d75b4e62b0bd3eeabc2ed298b65639da3485ac80eeaf45b7d01fad03

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
LONG_VERSION="${PV}+build30154+noble"
DESCRIPTION="Official golang implementation of the Ethereum protocol"
HOMEPAGE="https://github.com/ethereum/go-ethereum"
SRC_URI="https://ppa.launchpadcontent.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/ethereum_${LONG_VERSION}.tar.xz -> ${P}.tar.xz"
# Above PPA is listed as an official source here:
# https://geth.ethereum.org/docs/getting-started/installing-geth#ubuntu-via-ppas
S="${WORKDIR}/ethereum-${LONG_VERSION}"
LICENSE="GPL-3+ LGPL-3+ MIT || ( BSD GPL-2 ) BSD-2 LGPL-2.1+ Apache-2.0 ISC MIT MPL-2.0 Unlicense"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="devtools"
# Does all kinds of wonky stuff like connecting to Docker daemon, network activity, ...
RESTRICT+=" test"
src_unpack() {
default
mv "${S}/.mod" "${WORKDIR}/go-mod" || die
}
src_compile() {
emake $(usex devtools all geth)
}
src_install() {
einstalldocs
dobin build/bin/geth
# TODO: replace with wildcard
if use devtools; then
dobin build/bin/abidump
dobin build/bin/abigen
dobin build/bin/blsync
dobin build/bin/bootnode
dobin build/bin/clef
dobin build/bin/devp2p
dobin build/bin/era
dobin build/bin/ethkey
dobin build/bin/evm
dobin build/bin/rlpdump
fi
}