aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-19 15:45:36 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-19 17:15:01 +0000
commita4aa52f32fd11ef437de85eaa55657d118fd73a9 (patch)
tree6c53d704888959b41238fa7931d533af68628a48
parent5e904a5e9d0d04755dea145d08a6e5351124fef8 (diff)
devel/rubygem-io-endpoint: Add rubygem-io-endpoint 0.10.3
IO::Endpoint provides a separation of concerns interface for IO endpoints. This allows you to write code which is agnostic to the underlying IO implementation.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-io-endpoint/Makefile18
-rw-r--r--devel/rubygem-io-endpoint/distinfo3
-rw-r--r--devel/rubygem-io-endpoint/pkg-descr2
4 files changed, 24 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3015c8fcfcad..b6f71b86877c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7155,6 +7155,7 @@
SUBDIR += rubygem-instance_storage
SUBDIR += rubygem-interact
SUBDIR += rubygem-io-console
+ SUBDIR += rubygem-io-endpoint
SUBDIR += rubygem-io-event
SUBDIR += rubygem-io-like
SUBDIR += rubygem-io-nonblock
diff --git a/devel/rubygem-io-endpoint/Makefile b/devel/rubygem-io-endpoint/Makefile
new file mode 100644
index 000000000000..bba6cf973d57
--- /dev/null
+++ b/devel/rubygem-io-endpoint/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= io-endpoint
+PORTVERSION= 0.10.3
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Provide a separation of concerns interface for IO endpoints
+WWW= https://socketry.github.io/io-endpoint/ \
+ https://github.com/socketry/io-endpoint
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/license.md
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-io-endpoint/distinfo b/devel/rubygem-io-endpoint/distinfo
new file mode 100644
index 000000000000..964b442b4ecf
--- /dev/null
+++ b/devel/rubygem-io-endpoint/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1715842494
+SHA256 (rubygem/io-endpoint-0.10.3.gem) = 2c9a469cfd600e6e69996b37108941bb1921fe753bcc1c5127fd090fb7297ea5
+SIZE (rubygem/io-endpoint-0.10.3.gem) = 15872
diff --git a/devel/rubygem-io-endpoint/pkg-descr b/devel/rubygem-io-endpoint/pkg-descr
new file mode 100644
index 000000000000..bff07e816ead
--- /dev/null
+++ b/devel/rubygem-io-endpoint/pkg-descr
@@ -0,0 +1,2 @@
+IO::Endpoint provides a separation of concerns interface for IO endpoints. This
+allows you to write code which is agnostic to the underlying IO implementation.