commit: 507e1a563f9c9ff5b8e69a5842b9c6f1341d3818 Author: Sam Wilson <sam <AT> binarycake <DOT> ca> AuthorDate: Thu Feb 13 19:38:02 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Feb 14 05:20:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=507e1a56
net-p2p/go-ethereum: add 1.15.1 Signed-off-by: Sam Wilson <sam <AT> binarycake.ca> Closes: https://github.com/gentoo/gentoo/pull/40385 Signed-off-by: Sam James <sam <AT> gentoo.org> net-p2p/go-ethereum/Manifest | 1 + net-p2p/go-ethereum/go-ethereum-1.15.1.ebuild | 51 +++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/net-p2p/go-ethereum/Manifest b/net-p2p/go-ethereum/Manifest index 3f64e444741c..516a0a13f634 100644 --- a/net-p2p/go-ethereum/Manifest +++ b/net-p2p/go-ethereum/Manifest @@ -7,3 +7,4 @@ DIST go-ethereum-1.14.12.tar.xz 169335464 BLAKE2B 9032894035b307c6cd32eb1f1a0361 DIST go-ethereum-1.14.13.tar.xz 169362328 BLAKE2B 55a4c7fe756a9dfbc2b3267a84c3ee7f9eaf1d37cef5c47ebd866202d0ad122b8a3e10c5fc4098fcd7a437d3fe9ddeeb64e90cc0d0f9a94e50eec78366f6d243 SHA512 8aeb6e8a180aba9a6264776d58f7a300585d15812a8283c4788d1b2d83ec9b298573d114db9edab1a25a4cf1bf7db611427c8e4bd3ddf41add55478571191676 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 +DIST go-ethereum-1.15.1.tar.xz 174099304 BLAKE2B c7d797ddc78d011a5473939655da9934c62f1ce13e3d748bbcbec5149900f26784fd1e6fc4721c4c932bba0a07ca117d3f46e19ad8716b5808b86fb35a5a3374 SHA512 82e8d7075d027812134538815b2e4c7e9a11df50ad80a0343cc2d44c2954158ba8b6f3b5bffeebbb60e984ba7d1ef575bfded39e60308a3541a4b7b04e85a867 diff --git a/net-p2p/go-ethereum/go-ethereum-1.15.1.ebuild b/net-p2p/go-ethereum/go-ethereum-1.15.1.ebuild new file mode 100644 index 000000000000..6463a4afeb3d --- /dev/null +++ b/net-p2p/go-ethereum/go-ethereum-1.15.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-env go-module + +LONG_VERSION="${PV}+build30753+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() { + go-env_set_compile_environment + 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/clef + dobin build/bin/devp2p + dobin build/bin/era + dobin build/bin/ethkey + dobin build/bin/evm + dobin build/bin/rlpdump + fi +}
