summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-05-31 17:41:48 -0500
committerWilliam Hubbs <williamh@gentoo.org>2023-05-31 17:43:18 -0500
commit5874f0036b4c530a67c52fea1bd0fd1e280d897f (patch)
tree3cfc7088bc76b04b6bbe20bf7d57e715223358d1 /dev-go/protobuf-go
parentdev-python/requests-credssp: enable py3.12 (diff)
downloadgentoo-5874f0036b4c530a67c52fea1bd0fd1e280d897f.tar.gz
gentoo-5874f0036b4c530a67c52fea1bd0fd1e280d897f.tar.bz2
gentoo-5874f0036b4c530a67c52fea1bd0fd1e280d897f.zip
dev-go/protobuf-go: new package, add 1.30.0
This is the go support for Google's protocol buffers. Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-go/protobuf-go')
-rw-r--r--dev-go/protobuf-go/Manifest2
-rw-r--r--dev-go/protobuf-go/metadata.xml8
-rw-r--r--dev-go/protobuf-go/protobuf-go-1.30.0.ebuild24
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-go/protobuf-go/Manifest b/dev-go/protobuf-go/Manifest
new file mode 100644
index 000000000000..3d11e2f353a7
--- /dev/null
+++ b/dev-go/protobuf-go/Manifest
@@ -0,0 +1,2 @@
+DIST protobuf-go-1.30.0-deps.tar.xz 565680 BLAKE2B 711bdcd31c7986dd63a47db946d84081087c9a815b41c7239e8da312ca20faa7fbb8e4b03c59819c7403ff99e2eb691c436a3c03c7065c5ff99f513c90fc5d34 SHA512 73fffe68233c25b19edd0f22c0b1fb3e769a72a74ce00dcf5c1614ae2ec1f450e41283709791bbf0b31d08c462dc51ac08c07fece957aaec7850de66833c3648
+DIST protobuf-go-1.30.0.tar.gz 1298988 BLAKE2B 8ab6a105e691eacc60b6dc8ab872298469fcd38aad2fe7f5373761b2fa8e6208499db1b7eaccc40e5159dfcc2d1e4c9b5b5cbd81cb85787f88bcf93f355aa263 SHA512 379860dda3ccff3d6687520d92320a7543562cea104634a17abe5733c2d028116d2740434b33e39e7b263b9468806da7fe15af40c8e23c490c67fd9f9db8b770
diff --git a/dev-go/protobuf-go/metadata.xml b/dev-go/protobuf-go/metadata.xml
new file mode 100644
index 000000000000..3b2a9c591010
--- /dev/null
+++ b/dev-go/protobuf-go/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>williamh@gentoo.org</email>
+<name>William Hubbs</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-go/protobuf-go/protobuf-go-1.30.0.ebuild b/dev-go/protobuf-go/protobuf-go-1.30.0.ebuild
new file mode 100644
index 000000000000..614b5698d2ee
--- /dev/null
+++ b/dev-go/protobuf-go/protobuf-go-1.30.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Go support for Google's protocol buffers"
+HOMEPAGE="http://protobuf.dev"
+SRC_URI="https://github.com/protocolbuffers/protobuf-go/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/protobuf"
+
+src_compile() {
+ ego build ./cmd/protoc-gen-go
+}
+
+src_install() {
+dobin protoc-gen-go
+}