diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-02-21 17:18:29 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-02-21 17:18:29 +0100 |
commit | b105e1be12333b2e9da2eead7488cca7ee3ec49e (patch) | |
tree | 2c16645daa13afcc0a9a97d75172a1a6664e7f97 /dev-go/glide | |
parent | dev-go/delve: Version bump to 1.0.0 (diff) | |
download | gentoo-b105e1be12333b2e9da2eead7488cca7ee3ec49e.tar.gz gentoo-b105e1be12333b2e9da2eead7488cca7ee3ec49e.tar.bz2 gentoo-b105e1be12333b2e9da2eead7488cca7ee3ec49e.zip |
dev-go/glide: Version bump to 0.13.1
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-go/glide')
-rw-r--r-- | dev-go/glide/Manifest | 1 | ||||
-rw-r--r-- | dev-go/glide/glide-0.13.1.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-go/glide/Manifest b/dev-go/glide/Manifest index 4737dd8cd74a..2207a220f522 100644 --- a/dev-go/glide/Manifest +++ b/dev-go/glide/Manifest @@ -1 +1,2 @@ DIST glide-0.12.3.tar.gz 244609 BLAKE2B 49cac9d6cf5b8130c6dcded4eaa6b2160bb5f66120743b8f8225e1dbc4ee465ddb9b0c3fee9aba22c47c11cd11ee37329f255c92b180b3a189f5971afd7e4a41 SHA512 525bd73ed4941428dd2ad06fb5ecf87faa555eb48025a7f9ff57b4b4913b6f1a4202d9875d017080b3e96aee7b3d467c03a815e1845d0686223208f960ef9a99 +DIST glide-0.13.1.tar.gz 269877 BLAKE2B f1b654d04984ace4c2971c785784b9b60fc4d3777540c6bb22e78d799b5995b764fe7f91091dfd36a8d45dd4580bac7347cce7015e9ee53b45ccf646aa2bd4fd SHA512 bd3962a8c1ca528ba1eb9310e150576531131f0aa1fd3944bf0cdf764a7d73c91d8824f287554264b124aac2d8e3b7622ab44e0d919235f8b0ef640d3f0f087e diff --git a/dev-go/glide/glide-0.13.1.ebuild b/dev-go/glide/glide-0.13.1.ebuild new file mode 100644 index 000000000000..ea72460755a3 --- /dev/null +++ b/dev-go/glide/glide-0.13.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/Masterminds/glide" + +if [[ ${PV} == *9999 ]]; then + inherit golang-vcs +else + SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="Vendor Package Managment for Golang" +HOMEPAGE="https://github.com/Masterminds/glide" + +LICENSE="MIT" +SLOT="0" +IUSE="" + +RESTRICT="test" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +src_compile() { + GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go build -ldflags="-X main.version=${PV}" -o "bin/glide" glide.go || die +} + +src_install() { + dodoc README.md CHANGELOG.md + dobin bin/glide +} |