From 99abbc5e5a6ecd3fc981b45646fd8cb5d320377b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Feb 2018 19:58:07 +0000 Subject: gentoo resync : 24.02.2018 --- dev-go/glide/Manifest | 2 ++ dev-go/glide/glide-0.13.1.ebuild | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 dev-go/glide/glide-0.13.1.ebuild (limited to 'dev-go/glide') diff --git a/dev-go/glide/Manifest b/dev-go/glide/Manifest index 26d8ef07a687..aa84329dd4c2 100644 --- a/dev-go/glide/Manifest +++ b/dev-go/glide/Manifest @@ -1,3 +1,5 @@ DIST glide-0.12.3.tar.gz 244609 BLAKE2B 49cac9d6cf5b8130c6dcded4eaa6b2160bb5f66120743b8f8225e1dbc4ee465ddb9b0c3fee9aba22c47c11cd11ee37329f255c92b180b3a189f5971afd7e4a41 SHA512 525bd73ed4941428dd2ad06fb5ecf87faa555eb48025a7f9ff57b4b4913b6f1a4202d9875d017080b3e96aee7b3d467c03a815e1845d0686223208f960ef9a99 +DIST glide-0.13.1.tar.gz 269877 BLAKE2B f1b654d04984ace4c2971c785784b9b60fc4d3777540c6bb22e78d799b5995b764fe7f91091dfd36a8d45dd4580bac7347cce7015e9ee53b45ccf646aa2bd4fd SHA512 bd3962a8c1ca528ba1eb9310e150576531131f0aa1fd3944bf0cdf764a7d73c91d8824f287554264b124aac2d8e3b7622ab44e0d919235f8b0ef640d3f0f087e EBUILD glide-0.12.3.ebuild 731 BLAKE2B 6b68224a93db60e30ca7dd8363c66d0b95dcb5ad995df1a3e1b3f8f1d5db2b27cd95bcb7ae078a46466be412361558cbcf03b57201aaf7d1d133fb2d7099cc91 SHA512 9b279c4a04dc87285c09f47db09ceff0d0bd8b5ff0ba8ea1ee015c2b2ebd14de009b4b442ad325f3afef55a41d975d2dbd5b71432ec89a7767cc0dc313f2f36a +EBUILD glide-0.13.1.ebuild 714 BLAKE2B a17018a3b93dce83372294d70143b227f05a2522459621a9b4d66c31b820929751181354f8ab6928224bcdf23c9d729f9cc37bc2309f75601b295b56037955aa SHA512 4e0e7f90cae4a4abb95defa751d80c5e814f87c0951ce0b1d25f12eb1faecaa1a06700200d6e82d0033e38783dd40e3af340038709cfd91ca88d028c481f9ac8 MISC metadata.xml 249 BLAKE2B 5eac9f5bb2daed523b7aa709aeddddd19a7ed15baed35c969ecc75bc1b225591f4eb9d48e42303b0352c1f751d0324e09554a3d278bf9aae091f6395472c3a77 SHA512 ee4b58b4fe77b2ade45e556d4185ac3fc5299339005d7595988d4a149494234f3cd00aba4cd54d8169e2280afcb82b74bf3b67d39471e28dd69d115cb33dfae8 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 +} -- cgit v1.2.3