git: a8fdb5112647 - main - databases/rubygem-red-plasma: Add rubygem-red-plasma 8.0.0

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

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

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

    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
---
 databases/Makefile                     |  1 +
 databases/rubygem-red-plasma/Makefile  | 22 ++++++++++++++++++++++
 databases/rubygem-red-plasma/distinfo  |  3 +++
 databases/rubygem-red-plasma/pkg-descr | 12 ++++++++++++
 4 files changed, 38 insertions(+)

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