dev-go/protoc-gen-go-grpc - 1.2.0 (pentoo)

Search

Install

Install this version:

emerge -a =dev-go/protoc-gen-go-grpc-1.2.0

Package Information

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
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
1.2.0 8 amd64 x86 0/1.2.0
View Raw Ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

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
	https://github.com/pentoo/pentoo-golang-dist/releases/download/${P}/${P}-deps.tar.xz
"
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() {
	GOBIN="${S}/bin" ego install ./... ||
		die "compile failed"
}

src_install() {
	dobin bin/protoc-gen-go-grpc
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-go/protoc-gen-go-grpc | euse -E <flag> -p dev-go/protoc-gen-go-grpc | euse -D <flag> -p dev-go/protoc-gen-go-grpc

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

test? ( dev-libs/protobuf )

Manifest for 1.2.0

Type File Size Source URLs
DIST protoc-gen-go-grpc-1.2.0-deps.tar.xz 931500 bytes https://github.com/pentoo/pentoo-golang-dist/releases/download/protoc-gen-go-grpc-1.2.0/protoc-gen-go-grpc-1.2.0-deps.tar.xz
DIST protoc-gen-go-grpc-1.2.0.tar.gz 1391270 bytes https://github.com/grpc/grpc-go/archive/refs/tags/cmd/protoc-gen-go-grpc/v1.2.0.tar.gz