summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-01-13 07:52:20 +0100
committerHans de Graaff <graaff@gentoo.org>2022-01-13 07:57:08 +0100
commit360d2038c3b354b20e9ac7c1dceb1203fdcaded9 (patch)
tree61d0c09e95b35676252f056c416dd9e06ebee101 /dev-ruby/ecma-re-validator
parentdev-ruby/simpleidn: add ruby30 (diff)
downloadgentoo-360d2038c3b354b20e9ac7c1dceb1203fdcaded9.tar.gz
gentoo-360d2038c3b354b20e9ac7c1dceb1203fdcaded9.tar.bz2
gentoo-360d2038c3b354b20e9ac7c1dceb1203fdcaded9.zip
dev-ruby/ecma-re-validator: add 0.4.0
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/Manifest1
-rw-r--r--dev-ruby/ecma-re-validator/ecma-re-validator-0.4.0.ebuild25
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-ruby/ecma-re-validator/Manifest b/dev-ruby/ecma-re-validator/Manifest
index 3b3329d6007f..00cedf1fedd1 100644
--- a/dev-ruby/ecma-re-validator/Manifest
+++ b/dev-ruby/ecma-re-validator/Manifest
@@ -1 +1,2 @@
DIST ecma-re-validator-0.3.0.gem 8704 BLAKE2B 86358302c5f55c03ec5b30b360364cba04eedd9ac89461a3938e6365d118dcf9220b104605e05fe7340ac1b0c542af11ffa0931b6ce61ab4390d3cc68953a4fd SHA512 f1b0cadb3f2a6f9b488095a8bbc1863aeb7d40a9c2b5604fa7217505eea58db29eac9d03bd362a92589e1c277f83d13cb901b7ffc591c49a5cee0d2162b03156
+DIST ecma-re-validator-0.4.0.gem 8704 BLAKE2B 5dae210ec7409ac2b114203b2e764d1b6cdbc798ee2246588af8455df312fad1c2002e0ef68ceac77cfe293d28d259f5e23314865ec70789e0e09e8f4767c6e9 SHA512 2aa8500bf5a487e3278bac58e29fa188c310ef85b5635f9bc3ac0bda6df36cf9533f9715ac716378405d0d1e61081a532aab3d9faed757ee0a4bb5bf2ef2419f
diff --git a/dev-ruby/ecma-re-validator/ecma-re-validator-0.4.0.ebuild b/dev-ruby/ecma-re-validator/ecma-re-validator-0.4.0.ebuild
new file mode 100644
index 000000000000..7d61c97d30ae
--- /dev/null
+++ b/dev-ruby/ecma-re-validator/ecma-re-validator-0.4.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 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
+}