summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-23 12:44:48 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-24 07:37:12 +0100
commit00a86810cb92ba481ad2ddcd90340e3236b69b3f (patch)
treee838dffba38f776747959660b0cf6b63853729c6 /dev-ruby/ecma-re-validator
parentdev-ruby/unf: EAPI 8 (diff)
downloadgentoo-00a86810cb92ba481ad2ddcd90340e3236b69b3f.tar.gz
gentoo-00a86810cb92ba481ad2ddcd90340e3236b69b3f.tar.bz2
gentoo-00a86810cb92ba481ad2ddcd90340e3236b69b3f.zip
dev-ruby/ecma-re-validator: add ruby30
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ecma-re-validator')
-rw-r--r--dev-ruby/ecma-re-validator/ecma-re-validator-0.3.0-r1.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-ruby/ecma-re-validator/ecma-re-validator-0.3.0-r1.ebuild b/dev-ruby/ecma-re-validator/ecma-re-validator-0.3.0-r1.ebuild
new file mode 100644
index 000000000000..b1ca08da6fcf
--- /dev/null
+++ b/dev-ruby/ecma-re-validator/ecma-re-validator-0.3.0-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Validate a regular expression string against what ECMA-262 can actually do"
+HOMEPAGE="https://github.com/gjtorikian/ecma-re-validator"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/regexp_parser:2"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
+}