forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-go/glide: Version bump to 0.13.1
Package-Manager: Portage-2.3.24, Repoman-2.3.6
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |