aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-10-09 15:19:09 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-10-09 15:37:44 +0000
commitf8ad92bbf73b0384fae054c65aa3d1481578db47 (patch)
treeef84659851b47e49780ad1393a7fcf5426675119
parent931bf48dd48f6f6c605c89273237587ab33fa46a (diff)
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
-rw-r--r--databases/Makefile1
-rw-r--r--databases/rubygem-red-gandiva/Makefile22
-rw-r--r--databases/rubygem-red-gandiva/distinfo3
-rw-r--r--databases/rubygem-red-gandiva/pkg-descr12
4 files changed, 38 insertions, 0 deletions
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