git: 31353a2c8826 - main - devel/rubygem-io-stream: Add rubygem-io-stream 0.4.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 19 May 2024 17:23:26 UTC
The branch main has been updated by sunpoet:

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

commit 31353a2c88269b652b8f215386526f9ed0441cde
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-19 15:45:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-19 17:15:01 +0000

    devel/rubygem-io-stream: Add rubygem-io-stream 0.4.0
    
    IO::Stream provides a buffered stream implementation for Ruby, independent of
    the underlying IO.
---
 devel/Makefile                    |  1 +
 devel/rubygem-io-stream/Makefile  | 18 ++++++++++++++++++
 devel/rubygem-io-stream/distinfo  |  3 +++
 devel/rubygem-io-stream/pkg-descr |  2 ++
 4 files changed, 24 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index b6f71b86877c..c32cf4c58d96 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7159,6 +7159,7 @@
     SUBDIR += rubygem-io-event
     SUBDIR += rubygem-io-like
     SUBDIR += rubygem-io-nonblock
+    SUBDIR += rubygem-io-stream
     SUBDIR += rubygem-io-wait
     SUBDIR += rubygem-io-wait01
     SUBDIR += rubygem-iobuffer
diff --git a/devel/rubygem-io-stream/Makefile b/devel/rubygem-io-stream/Makefile
new file mode 100644
index 000000000000..ae0c2f42ea31
--- /dev/null
+++ b/devel/rubygem-io-stream/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	io-stream
+PORTVERSION=	0.4.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Provide a generic stream wrapper for IO instances
+WWW=		https://socketry.github.io/io-stream/ \
+		https://github.com/socketry/io-stream
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/license.md
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-io-stream/distinfo b/devel/rubygem-io-stream/distinfo
new file mode 100644
index 000000000000..fa8bbecf777f
--- /dev/null
+++ b/devel/rubygem-io-stream/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1715842496
+SHA256 (rubygem/io-stream-0.4.0.gem) = f2dcb9f3a39a2ec9670e3d70f8df156eb31f4b73411b0c645f92f9791df346e5
+SIZE (rubygem/io-stream-0.4.0.gem) = 14336
diff --git a/devel/rubygem-io-stream/pkg-descr b/devel/rubygem-io-stream/pkg-descr
new file mode 100644
index 000000000000..42292d10aae0
--- /dev/null
+++ b/devel/rubygem-io-stream/pkg-descr
@@ -0,0 +1,2 @@
+IO::Stream provides a buffered stream implementation for Ruby, independent of
+the underlying IO.