git: 7ccc5ccc3c07 - main - devel/rubygem-error_highlight: Add rubygem-error_highlight 0.3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:42:33 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7ccc5ccc3c0784666feabc8e229aa051a76da337
commit 7ccc5ccc3c0784666feabc8e229aa051a76da337
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 12:45:49 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:36:39 +0000
devel/rubygem-error_highlight: Add rubygem-error_highlight 0.3.0
Ruby 3.1 will ship with this gem and it will automatically be required when a
Ruby process starts up. No special setup is required.
This gem works only on MRI and requires Ruby 3.1 or later because it depends on
MRI's internal APIs that are available since 3.1.
WWW: https://github.com/ruby/error_highlight
---
devel/Makefile | 1 +
devel/rubygem-error_highlight/Makefile | 24 ++++++++++++++++++++++++
devel/rubygem-error_highlight/distinfo | 3 +++
devel/rubygem-error_highlight/pkg-descr | 7 +++++++
4 files changed, 35 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 2362a5f30749..268290925ba9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6305,6 +6305,7 @@
SUBDIR += rubygem-equatable
SUBDIR += rubygem-erb
SUBDIR += rubygem-errand
+ SUBDIR += rubygem-error_highlight
SUBDIR += rubygem-et-orbi
SUBDIR += rubygem-etc
SUBDIR += rubygem-event_emitter
diff --git a/devel/rubygem-error_highlight/Makefile b/devel/rubygem-error_highlight/Makefile
new file mode 100644
index 000000000000..3dcb77a42549
--- /dev/null
+++ b/devel/rubygem-error_highlight/Makefile
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= error_highlight
+PORTVERSION= 0.3.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Enhance Exception\#message
+
+LICENSE= BSD2CLAUSE RUBY
+LICENSE_COMB= dual
+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt
+
+BROKEN_RUBY26= yes
+BROKEN_RUBY27= yes
+BROKEN_RUBY30= yes
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-error_highlight/distinfo b/devel/rubygem-error_highlight/distinfo
new file mode 100644
index 000000000000..0795e54cb3a1
--- /dev/null
+++ b/devel/rubygem-error_highlight/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1647264416
+SHA256 (rubygem/error_highlight-0.3.0.gem) = de94ce0faaf5ec7b78e2a466ed741fa180a4af7865a0c3e5d4599ff5eff96188
+SIZE (rubygem/error_highlight-0.3.0.gem) = 10752
diff --git a/devel/rubygem-error_highlight/pkg-descr b/devel/rubygem-error_highlight/pkg-descr
new file mode 100644
index 000000000000..8b85597dc636
--- /dev/null
+++ b/devel/rubygem-error_highlight/pkg-descr
@@ -0,0 +1,7 @@
+Ruby 3.1 will ship with this gem and it will automatically be required when a
+Ruby process starts up. No special setup is required.
+
+This gem works only on MRI and requires Ruby 3.1 or later because it depends on
+MRI's internal APIs that are available since 3.1.
+
+WWW: https://github.com/ruby/error_highlight