aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-10-09 15:19:11 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-10-09 15:37:44 +0000
commita8fdb51126473913372b6e5bbfca0abaf8a86136 (patch)
tree2040e9302dadd4a5464de22f29f4b24e856540c8 /databases
parent2bf4d6ef198869f432d7fd541bc9fb13d78c589b (diff)
downloadports-a8fdb51126473913372b6e5bbfca0abaf8a86136.tar.gz
ports-a8fdb51126473913372b6e5bbfca0abaf8a86136.zip
databases/rubygem-red-plasma: Add rubygem-red-plasma 8.0.0
Red Plasma is the Ruby bindings of Plasma. Red Plasma is based on GObject Introspection. Plasma is an in-memory object store and cache for big data. GObject Introspection is a middleware for language bindings of C library. GObject Introspection can generate language bindings automatically at runtime. Red Plasma uses Plasma GLib and gobject-introspection gem to generate Ruby bindings of Plasma. See also: https://github.com/apache/arrow/tree/master/ruby/red-plasma
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/rubygem-red-plasma/Makefile22
-rw-r--r--databases/rubygem-red-plasma/distinfo3
-rw-r--r--databases/rubygem-red-plasma/pkg-descr12
4 files changed, 38 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 951c6f0b8d38..dc2660b3d7dc 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -986,6 +986,7 @@
SUBDIR += rubygem-red-arrow-dataset
SUBDIR += rubygem-red-gandiva
SUBDIR += rubygem-red-parquet
+ SUBDIR += rubygem-red-plasma
SUBDIR += rubygem-redis
SUBDIR += rubygem-redis-actionpack
SUBDIR += rubygem-redis-actionpack-rails5
diff --git a/databases/rubygem-red-plasma/Makefile b/databases/rubygem-red-plasma/Makefile
new file mode 100644
index 000000000000..3b82afa8bd09
--- /dev/null
+++ b/databases/rubygem-red-plasma/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= red-plasma
+PORTVERSION= 8.0.0
+CATEGORIES= databases rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Ruby bindings of Plasma
+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-plasma/distinfo b/databases/rubygem-red-plasma/distinfo
new file mode 100644
index 000000000000..c8453648ddc6
--- /dev/null
+++ b/databases/rubygem-red-plasma/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1665073082
+SHA256 (rubygem/red-plasma-8.0.0.gem) = 6bcf669af1a789182dd2e039b0775ddf5b3e02aef53a2190d4972a2b5fa9c461
+SIZE (rubygem/red-plasma-8.0.0.gem) = 12288
diff --git a/databases/rubygem-red-plasma/pkg-descr b/databases/rubygem-red-plasma/pkg-descr
new file mode 100644
index 000000000000..07b3ac172ca8
--- /dev/null
+++ b/databases/rubygem-red-plasma/pkg-descr
@@ -0,0 +1,12 @@
+Red Plasma is the Ruby bindings of Plasma. Red Plasma is based on GObject
+Introspection.
+
+Plasma is an in-memory object store and cache for big data.
+
+GObject Introspection is a middleware for language bindings of C library.
+GObject Introspection can generate language bindings automatically at runtime.
+
+Red Plasma uses Plasma GLib and gobject-introspection gem to generate Ruby
+bindings of Plasma.
+
+See also: https://github.com/apache/arrow/tree/master/ruby/red-plasma