diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-07-16 14:58:10 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-07-16 14:58:10 +0200 |
commit | b386d4e0b2bb951985c123747969177611728704 (patch) | |
tree | baafbcf7f4de1ec3e5839470198fcbfb6a6dff28 /dev-go | |
parent | net-analyzer/nrpe: new revision to fix the systemd service. (diff) | |
download | gentoo-b386d4e0b2bb951985c123747969177611728704.tar.gz gentoo-b386d4e0b2bb951985c123747969177611728704.tar.bz2 gentoo-b386d4e0b2bb951985c123747969177611728704.zip |
dev-go/delve: Version bump to 1.0.0_rc1
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/delve/Manifest | 1 | ||||
-rw-r--r-- | dev-go/delve/delve-1.0.0_rc1.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-go/delve/Manifest b/dev-go/delve/Manifest index fad865ca366f..01d7420e8802 100644 --- a/dev-go/delve/Manifest +++ b/dev-go/delve/Manifest @@ -1,2 +1,3 @@ DIST delve-0.11.0_alpha.tar.gz 910021 SHA256 47278abc6928161cca902b203dab9351aa27428d82c4eefae23fc457781733f5 SHA512 57af18bd8a671ab7ad67980b84e9168795c5c72724117fad85a156eba6668fd4360faf2109833d29d6f3faea3f4856fa7094b5ff7687bf199d7e2b97f107c15e WHIRLPOOL 4b3194207529c09cf222cc0166376e19e453b829abd7547a50b09d89a995839d7931194ba0c1dc77e28f20d14e16273c66aa1ba50b5e2e0fe6dff4c42a983c84 DIST delve-0.12.2.tar.gz 1127128 SHA256 3dc9f6b7167b87dfa1142ddf6865ff4be6593624a965533870ce0c7aae007299 SHA512 f2351340a1f9cefe2410535cda79ad5ef5ad3c3783cd5869d8f0b682d5c109ea6efd3041f9ccc9988ccef77922c9bfab59ca062d98f429f85466b3e2ccc1eeee WHIRLPOOL a653637e19b58fb06b79ed30f95491cea17f683aeb607c19659cd2685d11336255acb22f2b9c5348cd128679ef589848ab3a7d162fd5d4cfbd885b4460791803 +DIST delve-1.0.0_rc1.tar.gz 1268859 SHA256 8071749a9bdfa6d4e1435d69d6685be3fdf8d096f37cdf971bc6bdb54b613ab7 SHA512 97e58bd7e00089bcdee7fa6e749a6c5b72cf5d63f776d56b6000703371091129ac52ab58601256429362d12c88a4ba7cd0d3d196d5cee2d6d2701a73963a9358 WHIRLPOOL 170909e7e4ce710b6a372fb2532516cc2b2c3e02187ef2e0a60944a25f41aedb7a970e818b1b0968f693c461c85be842bfced4d63e3de2ae615625dbadb9f295 diff --git a/dev-go/delve/delve-1.0.0_rc1.ebuild b/dev-go/delve/delve-1.0.0_rc1.ebuild new file mode 100644 index 000000000000..c40dbf6b380f --- /dev/null +++ b/dev-go/delve/delve-1.0.0_rc1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/derekparker/delve" + +if [[ ${PV} == *9999 ]]; then + inherit golang-vcs +else + EGIT_COMMIT="v${PV/_rc/-rc.}" + DELVE_SHA="f609169" + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="A source-level debugger for the Go programming language" +HOMEPAGE="http://github.com/derekparker/delve" + +LICENSE="MIT" +SLOT="0" +IUSE="" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +RESTRICT="test" + +src_compile() { + GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go build -ldflags="-X main.Build=${DELVE_SHA}" -o "bin/dlv" ./cmd/dlv || die +} + +src_install() { + dodoc README.md CHANGELOG.md + dobin bin/dlv +} |