blob: b345940db5a371d7baaa435b110813a06ec99e58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EGO_PN=github.com/davecgh/go-spew/spew
EGIT_COMMIT=2df1748
inherit golang-build golang-vcs-snapshot
DESCRIPTION="Deep pretty printer for Go data structures to aid in debugging."
HOMEPAGE="https://github.com/davecgh/go-spew"
SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
RDEPEND=""
DEPEND=""
src_unpack() {
local EGO_PN_back=${EGO_PN}
export EGO_PN=${EGO_PN_back%/*}
golang-vcs-snapshot_src_unpack
export EGO_PN=${EGO_PN_back}
}
|