aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-19 15:45:37 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-19 17:15:01 +0000
commit31353a2c88269b652b8f215386526f9ed0441cde (patch)
tree1c44c66435e3495820cfcc14427e27a7fcc4dff8
parenta4aa52f32fd11ef437de85eaa55657d118fd73a9 (diff)
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.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-io-stream/Makefile18
-rw-r--r--devel/rubygem-io-stream/distinfo3
-rw-r--r--devel/rubygem-io-stream/pkg-descr2
4 files changed, 24 insertions, 0 deletions
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.