summaryrefslogtreecommitdiff
path: root/dev-go/protoc-gen-go-grpc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-24 22:46:42 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-24 22:46:42 +0000
commit29a92294bff9673260732fdd5b48ea83ae827e62 (patch)
tree9802696a2a0e4794c7c3601b4d52206b7bfecab5 /dev-go/protoc-gen-go-grpc
parent3e3f7d6d13889dd7c4311a93222a83f73d5cae60 (diff)
dev-go/protoc-gen-go-grpc : new package (pentoo import)
Diffstat (limited to 'dev-go/protoc-gen-go-grpc')
-rw-r--r--dev-go/protoc-gen-go-grpc/Manifest9
-rw-r--r--dev-go/protoc-gen-go-grpc/protoc-gen-go-grpc-1.2.0.ebuild43
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-go/protoc-gen-go-grpc/Manifest b/dev-go/protoc-gen-go-grpc/Manifest
new file mode 100644
index 00000000..42dadaaf
--- /dev/null
+++ b/dev-go/protoc-gen-go-grpc/Manifest
@@ -0,0 +1,9 @@
+DIST github.com%2Fgolang%2Fprotobuf%2F@v%2Fv1.5.0.mod 129 BLAKE2B 15d140a0b2b22d6c9886ee9e517f923fda26ee8179755702a8eebf1ae8cf75be48e8d28a1df1bf875a7bfd499075d83a541c9716601856abe0e7c850a3ec68fd SHA512 467a3f6fb4c941cd55d8d4b2d6a2015966c60a8614691539c88c4bf0da2f8022055be8561cddd0e60b118f74f010be5998dd128b7b136f14edd2674e5650db2a
+DIST github.com%2Fgoogle%2Fgo-cmp%2F@v%2Fv0.5.5.mod 105 BLAKE2B ffd22df03c1b351fb766a97818d46cc6aebeef365632d5263c90cf45a4acffdf5811da10ea2cd4747bc9691f74661c0b655961a065ed15a0194eeb4d1d12ca9b SHA512 cb203760fc6ca9c9d64811cf1342752faa5a95f27934c298407dc865f9561081210dd1b82b15ee2f5337b70d4c55d102d8884b5b9a5f70d9cbf85227a32b9713
+DIST github.com%2Fgoogle%2Fgo-cmp%2F@v%2Fv0.5.5.zip 130974 BLAKE2B 6e4efb8abb584c3839c7b1ab80c8060c125b695bddddd44c57f72c0fbf9de85d40595ecff57f57ddb533e34dbe72a95e0e8043d91d462d68818699f194766e90 SHA512 9cff1690cb177e70b1d67ddd305e4317e3d1ef2825f5f3ed4639210f7f2ee6e89ff03970495757b922f16fade5fafae5cc14c8da2b95694faa3fa48c63f3313d
+DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20191204190536-9bdfabe68543.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05
+DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20191204190536-9bdfabe68543.zip 22282 BLAKE2B 68df6b35d9043f23df13432b80074544f46833467294955ae5706713055d0cc9ababda892853c14e99c80a3571fd4a807a019a098fdd2ca695ba90c577ead5c4 SHA512 c72b8b73f89624889a2874c1b2445cb82f0e545fccf6a7761a278f3f659eb19f5f1c8585641b8f89f2bcfc3817ad2c0e267751cfeeab949e287e43af5df57e28
+DIST google.golang.org%2Fprotobuf%2F@v%2Fv1.26.0-rc.1.mod 83 BLAKE2B 0e4901ba1d4e31ef22f0f978ee7b7d926ac2cd3a1cb5d8d8a81a33e02f9dc81aad6508280d65659862c3a9bc0667c334cb6cd8c0c532d5fdb3735a415c2a5eca SHA512 a7b2aad691925341e3d1f6d1d1453b68386902a4e2e1c0deb406bc157d04328c5519a01ce938a33a6e358cbd9dc0c2f862c9822bde5314d2eb9d416d7bf789d2
+DIST google.golang.org%2Fprotobuf%2F@v%2Fv1.27.1.mod 123 BLAKE2B 73f875413489557d8f0bbcd665c06356b900f87e2cd9ef0ee5aba218a3a910842912d36dc9e653afa538c99cc723d28327a8bec6eac1f6bd93277d70fa891339 SHA512 d618524aca1cb3e525060bb66b0c8f06c9ad6be5389be228d265dbcdb368442f4f0a7e98f8c9082916b2579d77e627a550904f0b1c058b7d5e45eb7ceb77c2e0
+DIST google.golang.org%2Fprotobuf%2F@v%2Fv1.27.1.zip 1572746 BLAKE2B 372a55a68ec03bf9367368d85088a51267228a63a1fc04777dc435a5e9a6c46495f5dae27f82f3f5cf6effa41d6bc9c0a49fe1678f94d435b2516b952d24a484 SHA512 0a27f0189b04291bcd96a52a84e4ebbac6424c02e1d899655d0ecf1592150290144f5e6c8ef81c6a2f0c43db5cbda7d383119a027ef9aed8cf5e623495001077
+DIST protoc-gen-go-grpc-1.2.0.tar.gz 1391270 BLAKE2B ce8b048e3415a49d9febcf64e0855b2f541a02d0565095a882f22b3b8706efc240d297f91cc222e7beca34248441731bcae6b8fc20391f5c3ce4c2bf79f21956 SHA512 4e575833348f1a8046ec85fadabfccfcc2945a4677d85cbbc0651a39b4f70965e84003742fd9ec1ffcba8dccdef1a6f96223231cebf70b705c6a012e61cac89d
diff --git a/dev-go/protoc-gen-go-grpc/protoc-gen-go-grpc-1.2.0.ebuild b/dev-go/protoc-gen-go-grpc/protoc-gen-go-grpc-1.2.0.ebuild
new file mode 100644
index 00000000..53143eb1
--- /dev/null
+++ b/dev-go/protoc-gen-go-grpc/protoc-gen-go-grpc-1.2.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit go-module
+
+EGO_PN="github.com/grpc/grpc-go/cmd/protoc-gen-go-grpc"
+
+EGO_SUM=(
+ "github.com/golang/protobuf v1.5.0/go.mod"
+ "github.com/google/go-cmp v0.5.5"
+ "github.com/google/go-cmp v0.5.5/go.mod"
+ "golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543"
+ "golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod"
+ "google.golang.org/protobuf v1.26.0-rc.1/go.mod"
+ "google.golang.org/protobuf v1.27.1"
+ "google.golang.org/protobuf v1.27.1/go.mod"
+ )
+go-module_set_globals
+
+
+DESCRIPTION="This tool generates Go language bindings of services in protobuf definition files for gRPC"
+HOMEPAGE="https://pkg.go.dev/google.golang.org/grpc/cmd/protoc-gen-go-grpc"
+SRC_URI="https://github.com/grpc/grpc-go/archive/refs/tags/cmd/protoc-gen-go-grpc/v${PV}.tar.gz -> ${P}.tar.gz
+ ${EGO_SUM_SRC_URI}"
+LICENSE="BSD"
+SLOT="0/${PVR}"
+KEYWORDS="amd64 x86"
+IUSE="test"
+DEPEND="test? ( dev-libs/protobuf )"
+RDEPEND=""
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}/grpc-go-cmd-protoc-gen-go-grpc-v${PV}/cmd/protoc-gen-go-grpc"
+src_compile() {
+ env GOBIN="${S}/bin" go install ./... ||
+ die "compile failed"
+}
+
+src_install() {
+ dobin bin/protoc-gen-go-grpc
+}