git: ea0df28b7897 - main - devel/rubygem-unicode-display_width2: Add rubygem-unicode-display_width2 2.6.0 (copied from rubygem-unicode-display_width)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 13:41:03 UTC
The branch main has been updated by sunpoet:

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

commit ea0df28b7897b2ec30a4cab26c3f5175766d8036
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:18:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 13:37:54 +0000

    devel/rubygem-unicode-display_width2: Add rubygem-unicode-display_width2 2.6.0 (copied from rubygem-unicode-display_width)
    
    - Add PORTSCOUT
---
 devel/Makefile                                 |  1 +
 devel/rubygem-unicode-display_width2/Makefile  | 20 ++++++++++++++++++++
 devel/rubygem-unicode-display_width2/distinfo  |  3 +++
 devel/rubygem-unicode-display_width2/pkg-descr |  3 +++
 4 files changed, 27 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 410241b21105..673bf802c66f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7949,6 +7949,7 @@
     SUBDIR += rubygem-un
     SUBDIR += rubygem-unicode
     SUBDIR += rubygem-unicode-display_width
+    SUBDIR += rubygem-unicode-display_width2
     SUBDIR += rubygem-unicode-emoji
     SUBDIR += rubygem-unicode-version
     SUBDIR += rubygem-unicode_utils
diff --git a/devel/rubygem-unicode-display_width2/Makefile b/devel/rubygem-unicode-display_width2/Makefile
new file mode 100644
index 000000000000..318a29931a79
--- /dev/null
+++ b/devel/rubygem-unicode-display_width2/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	unicode-display_width
+PORTVERSION=	2.6.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	2
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Get the display size of a string
+WWW=		https://github.com/janlelis/unicode-display_width
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE.txt
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^2\.
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-unicode-display_width2/distinfo b/devel/rubygem-unicode-display_width2/distinfo
new file mode 100644
index 000000000000..7916bb9f5042
--- /dev/null
+++ b/devel/rubygem-unicode-display_width2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726741071
+SHA256 (rubygem/unicode-display_width-2.6.0.gem) = 12279874bba6d5e4d2728cef814b19197dbb10d7a7837a869bab65da943b7f5a
+SIZE (rubygem/unicode-display_width-2.6.0.gem) = 13312
diff --git a/devel/rubygem-unicode-display_width2/pkg-descr b/devel/rubygem-unicode-display_width2/pkg-descr
new file mode 100644
index 000000000000..172460e1bb97
--- /dev/null
+++ b/devel/rubygem-unicode-display_width2/pkg-descr
@@ -0,0 +1,3 @@
+An early draft of a way to determine the size of the characters using
+EastAsianWidth.txt, based on the very early draft of a Ruby interface to
+UnicodeData.txt by runpaint.