From 75e230b730e5e942170a0d9fe6403c1f839be180 Mon Sep 17 00:00:00 2001 From: Michael Perlov Date: Sun, 7 Oct 2018 22:44:29 +0300 Subject: dev-go/go-protobuf: version bump to 1.2.0 Closes: https://github.com/gentoo/gentoo/pull/10100 Package-Manager: Portage-2.3.50, Repoman-2.3.11 Signed-off-by: Michael Perlov Signed-off-by: Zac Medico --- dev-go/go-protobuf/Manifest | 2 ++ dev-go/go-protobuf/go-protobuf-1.2.0.ebuild | 31 +++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 dev-go/go-protobuf/go-protobuf-1.2.0.ebuild (limited to 'dev-go') diff --git a/dev-go/go-protobuf/Manifest b/dev-go/go-protobuf/Manifest index 79c8e0e6a9cf..a2e22f93ba85 100644 --- a/dev-go/go-protobuf/Manifest +++ b/dev-go/go-protobuf/Manifest @@ -1,2 +1,4 @@ +DIST github.com-google-go-genproto-af9cb2a35e7f169ec875002c1829c9b315cddc04.tar.gz 2323831 BLAKE2B a614c74b60f8e347b47c8686807228ea76b021a918fc732b69293c8b59c1bc5396e320cbce6db87ab43b9a4fd649d19779874934bdd667f7cabf03165439c54a SHA512 a6524f31e8c4775195c245ffbe54c7f770591d46663ea86b8120ffd8efb3cf9269569fbf457b0d0272dc47177ccf3b413e858c2b437ee9892b5ac6698d07ed4d DIST go-protobuf-0_pre20150809.tar.gz 151982 BLAKE2B dc7722108d09f94395c204a3adb8cce46978daa73319012964863536e8e4d3eaaff1878097dab0a96cc94ebc66c1b2f8cc0f49e931c104392bd7d083f2f1af8f SHA512 04802b8d74ccaa17f9fc030badd0e74b6e47233ca5f1faab7c49f25bef2f06efd97aa4bf3f4783a7815958354744ddb9fee96d183aebbb03864069b0cc569564 DIST go-protobuf-0_pre20160216.tar.gz 198638 BLAKE2B 21b1780d9e792263eaa1babbefff855fc506177b56d907650968ae96e13c6624982511cbeb3b2bf002ad724ab454e4450f6d7649b55297fb2756b528f9789283 SHA512 d7f446ce7b3f78d646abccdbcb92c423fcca99a51275b55f2a357b5e44c2a6b6d7ea59a39b654daa36e59aa39d3b094ed3fb3d6f53c789a4396fceaecbd5ace5 +DIST go-protobuf-1.2.0.tar.gz 332565 BLAKE2B 6916341aaa30f593c9a27363d4d73c548d0f7a629adffeab927078bb3ebc64f59a5c568b7bb7999c7505d526ce0ead0c9163908080f24ecd6c7b94ed2db28335 SHA512 a0f596ee96f7501ee47da75ea234c1e29c0abb2c3fda731acd601a55880502ae90d70f6d3da9c9a35e493fd1bcb69971c062e16b1e49a0996137950dac2effac diff --git a/dev-go/go-protobuf/go-protobuf-1.2.0.ebuild b/dev-go/go-protobuf/go-protobuf-1.2.0.ebuild new file mode 100644 index 000000000000..00647dff8767 --- /dev/null +++ b/dev-go/go-protobuf/go-protobuf-1.2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_SRC="github.com/golang/protobuf" +EGO_PN=${EGO_SRC}/... +EGO_VENDOR=( + "google.golang.org/genproto af9cb2a35e7f169ec875002c1829c9b315cddc04 github.com/google/go-genproto" +) + +inherit golang-build golang-vcs-snapshot + +DESCRIPTION="Go support for Google's protocol buffers" +HOMEPAGE="https://github.com/golang/protobuf" +SRC_URI="https://${EGO_SRC}/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${EGO_VENDOR_URI}" +LICENSE="BSD" +SLOT="0/${PVR}" +KEYWORDS="~amd64" +IUSE="" +DEPEND="" +RDEPEND="" + +src_install() { + rm -rf src/${EGO_SRC}/.git* || die + golang-build_src_install + rm -rf "${D%/}$(get_golibdir_gopath)/src/${EGO_SRC}/vendor" || die + + dobin bin/* +} -- cgit v1.2.3-65-gdbad