git: f8ad92bbf73b - main - databases/rubygem-red-gandiva: Add rubygem-red-gandiva 8.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Oct 2022 15:38:58 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f8ad92bbf73b0384fae054c65aa3d1481578db47

commit f8ad92bbf73b0384fae054c65aa3d1481578db47
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-09 15:19:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-09 15:37:44 +0000

    databases/rubygem-red-gandiva: Add rubygem-red-gandiva 8.0.0
    
    Red Gandiva is the Ruby bindings of Gandiva. Red Gandiva is based on GObject
    Introspection.
    
    Gandiva is a toolset for compiling and evaluating expressions on Arrow data.
    
    GObject Introspection is a middleware for language bindings of C library.
    GObject Introspection can generate language bindings automatically at runtime.
    
    Red Gandiva uses Gandiva GLib and gobject-introspection gem to generate Ruby
    bindings of Gandiva.
    
    See also: https://github.com/apache/arrow/tree/master/ruby/red-gandiva
---
 databases/Makefile                      |  1 +
 databases/rubygem-red-gandiva/Makefile  | 22 ++++++++++++++++++++++
 databases/rubygem-red-gandiva/distinfo  |  3 +++
 databases/rubygem-red-gandiva/pkg-descr | 12 ++++++++++++
 4 files changed, 38 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index e21e58916f73..086a6af075d3 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -984,6 +984,7 @@
     SUBDIR += rubygem-rbase
     SUBDIR += rubygem-red-arrow
     SUBDIR += rubygem-red-arrow-dataset
+    SUBDIR += rubygem-red-gandiva
     SUBDIR += rubygem-redis
     SUBDIR += rubygem-redis-actionpack
     SUBDIR += rubygem-redis-actionpack-rails5
diff --git a/databases/rubygem-red-gandiva/Makefile b/databases/rubygem-red-gandiva/Makefile
new file mode 100644
index 000000000000..1453be0f0547
--- /dev/null
+++ b/databases/rubygem-red-gandiva/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	red-gandiva
+PORTVERSION=	8.0.0
+CATEGORIES=	databases rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Ruby bindings of Gandiva
+WWW=		https://arrow.apache.org/
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS=	rubygem-rake>=0:devel/rubygem-rake
+LIB_DEPENDS=	libarrow-glib.so:databases/arrow-glib
+RUN_DEPENDS=	rubygem-red-arrow>=${PORTVERSION}<${PORTVERSION}_99:databases/rubygem-red-arrow
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-red-gandiva/distinfo b/databases/rubygem-red-gandiva/distinfo
new file mode 100644
index 000000000000..5eaecce62047
--- /dev/null
+++ b/databases/rubygem-red-gandiva/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1665073078
+SHA256 (rubygem/red-gandiva-8.0.0.gem) = 27f0d23af26464fa3f4a8ed1d024e4ec88417f1b7bdae074ea08ac1e240c24a9
+SIZE (rubygem/red-gandiva-8.0.0.gem) = 14336
diff --git a/databases/rubygem-red-gandiva/pkg-descr b/databases/rubygem-red-gandiva/pkg-descr
new file mode 100644
index 000000000000..6a8f6d04230a
--- /dev/null
+++ b/databases/rubygem-red-gandiva/pkg-descr
@@ -0,0 +1,12 @@
+Red Gandiva is the Ruby bindings of Gandiva. Red Gandiva is based on GObject
+Introspection.
+
+Gandiva is a toolset for compiling and evaluating expressions on Arrow data.
+
+GObject Introspection is a middleware for language bindings of C library.
+GObject Introspection can generate language bindings automatically at runtime.
+
+Red Gandiva uses Gandiva GLib and gobject-introspection gem to generate Ruby
+bindings of Gandiva.
+
+See also: https://github.com/apache/arrow/tree/master/ruby/red-gandiva