diff options
author | Mathy Vanvoorden <mathy@vanvoorden.be> | 2018-09-13 09:58:06 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-09-18 11:26:00 +0200 |
commit | 2d1fec4428a682bd450e2ca0cd98335b0fa9696c (patch) | |
tree | 32ec1a88efa4a45a6d5d1e820105d28730e92b35 /net-p2p/go-ethereum/go-ethereum-1.8.15.ebuild | |
parent | net-analyzer/linkchecker: add missing runtime dependency (diff) | |
download | gentoo-2d1fec4428a682bd450e2ca0cd98335b0fa9696c.tar.gz gentoo-2d1fec4428a682bd450e2ca0cd98335b0fa9696c.tar.bz2 gentoo-2d1fec4428a682bd450e2ca0cd98335b0fa9696c.zip |
net-p2p/go-ethereum: version bump to 1.8.15, restrict test
test is restricted because it tries to connect to the docker daemon and other fun network activities
Closes: https://bugs.gentoo.org/665436
Closes: https://bugs.gentoo.org/653542
Package-Manager: Portage[mgorny]-2.3.43.3
Diffstat (limited to 'net-p2p/go-ethereum/go-ethereum-1.8.15.ebuild')
-rw-r--r-- | net-p2p/go-ethereum/go-ethereum-1.8.15.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-p2p/go-ethereum/go-ethereum-1.8.15.ebuild b/net-p2p/go-ethereum/go-ethereum-1.8.15.ebuild new file mode 100644 index 000000000000..74e968bc7959 --- /dev/null +++ b/net-p2p/go-ethereum/go-ethereum-1.8.15.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit golang-base + +DESCRIPTION="Official golang implementation of the Ethereum protocol" +HOMEPAGE="https://github.com/ethereum/go-ethereum" +SRC_URI="https://github.com/ethereum/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+ LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="devtools opencl" + +DEPEND="dev-lang/go:= + opencl? ( virtual/opencl ) +" +RDEPEND="${DEPEND}" + +# Does all kinds of wonky stuff like connecting to Docker daemon, network activity, ... +RESTRICT="test" + +src_compile() { + use opencl && export GO_OPENCL=true + + emake $(usex devtools all geth) +} + +src_install() { + einstalldocs + + dobin build/bin/geth + if use devtools; then + dobin build/bin/abigen + dobin build/bin/bootnode + dobin build/bin/evm + dobin build/bin/p2psim + dobin build/bin/puppeth + dobin build/bin/rlpdump + dobin build/bin/swarm + dobin build/bin/wnode + fi +} |