Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/go-ethereum/
Date: Tue, 27 Mar 2018 18:33:04
Message-Id: 1522175566.bc28b67698968cc0fd137f17480173ffac3fed45.mgorny@gentoo
1 commit: bc28b67698968cc0fd137f17480173ffac3fed45
2 Author: Mathy Vanvoorden <mathy <AT> vanvoorden <DOT> be>
3 AuthorDate: Mon Mar 26 07:27:53 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 27 18:32:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc28b676
7
8 net-p2p/go-ethereum: Version bump to 1.8.2
9
10 Closes: https://bugs.gentoo.org/647992
11 Closes: https://bugs.gentoo.org/648030
12 Package-Manager: Portage[mgorny]-2.3.24.1
13
14 net-p2p/go-ethereum/Manifest | 1 +
15 net-p2p/go-ethereum/go-ethereum-1.8.2.ebuild | 42 ++++++++++++++++++++++++++++
16 2 files changed, 43 insertions(+)
17
18 diff --git a/net-p2p/go-ethereum/Manifest b/net-p2p/go-ethereum/Manifest
19 index a20740e7195..f8d8112cd85 100644
20 --- a/net-p2p/go-ethereum/Manifest
21 +++ b/net-p2p/go-ethereum/Manifest
22 @@ -1,2 +1,3 @@
23 DIST go-ethereum-1.7.2.tar.gz 7037907 BLAKE2B eb1e358e42c743a931995e7ee46dc2441356159fc9095e8a886cc6a0495cb2d2e77ee7df4c6dd98bc790397819fc43cdedba6cf28de1e4f3dcdc4dd71106f8e5 SHA512 7bc5957f1523fa5ec67650c4305633aa4c6098a243ef415f9ef56a4e4763eb2ef9f69514ed15810fcdb75f11e87cbd27c4f2af802c32a03be91b37a7b08ea520
24 DIST go-ethereum-1.7.3.tar.gz 8188445 BLAKE2B abfa7fff970ea740376e05a56c51a83ba62853b68fd1de1a7161192da294558ea2939427119d00aadcb9e00b8b487e1acfae058e0c5ab6dbe3531e4db0b446cb SHA512 c50391f84b64c924c56d8d052a5c910f94869d86b080cd9b3355a48e094e7f5d4a05a631a57a74619b677067be5da21d6018d18a81bd014bceed43d3626cb017
25 +DIST go-ethereum-1.8.2.tar.gz 9129180 BLAKE2B 8a1e841c8c9f0c0f0adcb08610996c0a06b0133aae89fc0b67543a4aa6d0209b9dbb5b5cff5fc83eb62f7b00ff650cedb7823d640fe4d222698063c8d818f1d5 SHA512 d09bb18098e866ecbabf8e5b796e1a93c125556525b55eaddc2ec870ea84ca861feab3f56b83f31adf9e5d4001df6f2045b82b9224a6017cc6791be04d202271
26
27 diff --git a/net-p2p/go-ethereum/go-ethereum-1.8.2.ebuild b/net-p2p/go-ethereum/go-ethereum-1.8.2.ebuild
28 new file mode 100644
29 index 00000000000..6fc3806ae75
30 --- /dev/null
31 +++ b/net-p2p/go-ethereum/go-ethereum-1.8.2.ebuild
32 @@ -0,0 +1,42 @@
33 +# Copyright 1999-2018 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit golang-base
39 +
40 +DESCRIPTION="Official golang implementation of the Ethereum protocol"
41 +HOMEPAGE="https://github.com/ethereum/go-ethereum"
42 +SRC_URI="https://github.com/ethereum/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="GPL-3+ LGPL-3+"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="devtools opencl"
48 +
49 +DEPEND="dev-lang/go:=
50 + opencl? ( virtual/opencl )
51 +"
52 +RDEPEND="${DEPEND}"
53 +
54 +src_compile() {
55 + use opencl && export GO_OPENCL=true
56 +
57 + emake $(usex devtools all geth)
58 +}
59 +
60 +src_install() {
61 + einstalldocs
62 +
63 + dobin build/bin/geth
64 + if use devtools; then
65 + dobin build/bin/abigen
66 + dobin build/bin/bootnode
67 + dobin build/bin/evm
68 + dobin build/bin/p2psim
69 + dobin build/bin/puppeth
70 + dobin build/bin/rlpdump
71 + dobin build/bin/swarm
72 + dobin build/bin/wnode
73 + fi
74 +}