Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
Re: NEW: net/ruby-grpc
To:
ports@openbsd.org
Date:
Tue, 8 Jul 2025 16:35:20 +0200

Download raw body.

Thread
On Tue Jul 08, 2025 at 10:48:37AM +0100, Stuart Henderson wrote:
> On 2025/07/01 06:49, Rafael Sadowski wrote:
> > OK to import ruby34-grpc-1.73.0?
> > 
> > Comment:
> > RPCs from Ruby using gRPC
> > 
> > Description:
> > gRPC is a modern, open source, high-performance remote procedure call (RPC)
> > framework that can run anywhere. gRPC enables client and server applications to
> > communicate transparently, and simplifies the building of connected systems.
> > 
> > Maintainer: Rafael Sadowski <rsadowski@openbsd.org>
> > 
> > WWW: https://grpc.io/
> > 
> > 
> 
> 
> ERROR:  Could not find a valid gem 'google-protobuf' (>= 3.25, < 5.0) (required by '/pobj/grpc-1.73.0-ruby34/grpc-1.73.0.gem' (>= 0)) in any repository

Thanks Stuart, I already commit the missing build dependency.

I'm a bit rusty in importing py-, ruby- flavors. Did I miss to add
the flavor in the Makefile?


Index: devel/Makefile
===================================================================
RCS file: /cvs/ports/devel/Makefile,v
diff -u -p -r1.2503 Makefile
--- devel/Makefile	4 Jul 2025 17:25:49 -0000	1.2503
+++ devel/Makefile	8 Jul 2025 14:28:37 -0000
@@ -1616,7 +1616,8 @@
      SUBDIR += py-progressbar
      SUBDIR += py-prompt_toolkit
      SUBDIR += py-propcache
-     SUBDIR += py-protobuf
+     SUBDIR += py-protobuf,ruby33
+     SUBDIR += py-protobuf,ruby34
      SUBDIR += py-ptyprocess
      SUBDIR += py-pure_eval
      SUBDIR += py-puremagic
Index: net/Makefile
===================================================================
RCS file: /cvs/ports/net/Makefile,v
diff -u -p -r1.1432 Makefile
--- net/Makefile	4 Jul 2025 07:48:24 -0000	1.1432
+++ net/Makefile	8 Jul 2025 14:28:48 -0000
@@ -670,8 +670,10 @@
      SUBDIR += ruby-connection_pool
      SUBDIR += ruby-eventmachine,ruby33
      SUBDIR += ruby-eventmachine,ruby34
-     SUBDIR += ruby-googleapis-common-protos-types
-     SUBDIR += ruby-grpc
+     SUBDIR += ruby-googleapis-common-protos-types,ruby33
+     SUBDIR += ruby-googleapis-common-protos-types,ruby34
+     SUBDIR += ruby-grpc,ruby33
+     SUBDIR += ruby-grpc,ruby34
      SUBDIR += ruby-msgpack,ruby33
      SUBDIR += ruby-msgpack,ruby34
      SUBDIR += ruby-net-telnet