dev-ruby/ecma-re-validator: add 0.2.1
authorHans de Graaff <graaff@gentoo.org>
Wed, 8 Apr 2020 06:17:48 +0000 (08:17 +0200)
committerHans de Graaff <graaff@gentoo.org>
Wed, 8 Apr 2020 06:18:08 +0000 (08:18 +0200)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-ruby/ecma-re-validator/Manifest
dev-ruby/ecma-re-validator/ecma-re-validator-0.2.1.ebuild [new file with mode: 0644]

index a9362864bbf661d634689db7056abef2c5bd8421..c9116309da80fc3dad7ee2d88d4f1df0e570f74b 100644 (file)
@@ -1 +1,2 @@
 DIST ecma-re-validator-0.2.0.gem 865792 BLAKE2B c41b01dc36f3000331085666f235b0adc749516b19028ee78ef56c68c00b7ab9105d4bfcfa9b061cd1f63987054a33a7e31cc3957be17182245120d679f5b6f3 SHA512 5e2ff7c2e8b8d5a8749d87f1678b235e69f197b9af95787f59cfff492ff3d8b8e2bc45a0e3da83d92ffa646e9b1b12ef5c4cab324d6e29a0c1f53e211d00aba9
+DIST ecma-re-validator-0.2.1.gem 8704 BLAKE2B a93ec88ca352883722db386e29d0d747b97d311c263a6ef331f99890e0c52aed0e28686beedebde9a06829cdd29e35c95ccb3a6c4352535cc990b135a963b850 SHA512 0a86a5f5b100cfd8442697aa32b0ae93c552d21e3d9af7d7dc3368315d90038fc6923aed475ae4a3ccdd1a0dc5bb9d470e0c34831389dcad539a9e6fa8883908
diff --git a/dev-ruby/ecma-re-validator/ecma-re-validator-0.2.1.ebuild b/dev-ruby/ecma-re-validator/ecma-re-validator-0.2.1.ebuild
new file mode 100644 (file)
index 0000000..749fb88
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+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-1.2:1"
+
+all_ruby_prepare() {
+       sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
+}