summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-10-27 08:22:54 +0200
committerHans de Graaff <graaff@gentoo.org>2018-10-27 09:28:27 +0200
commitc6a9dc487e4f9b5491c71fbbe12aa0c203aa98cf (patch)
tree7464656fdf6833c033437017b3c83a988bdfa44e /dev-ruby/ecma-re-validator
parentwww-apps/nanoc: cleanup (diff)
downloadgentoo-c6a9dc487e4f9b5491c71fbbe12aa0c203aa98cf.tar.gz
gentoo-c6a9dc487e4f9b5491c71fbbe12aa0c203aa98cf.tar.bz2
gentoo-c6a9dc487e4f9b5491c71fbbe12aa0c203aa98cf.zip
dev-ruby/ecma-re-validator: initial import of 0.1.2
Dependency for forthcoming dev-ruby/json_schema. Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
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.1.2.ebuild26
-rw-r--r--dev-ruby/ecma-re-validator/metadata.xml11
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/ecma-re-validator/Manifest b/dev-ruby/ecma-re-validator/Manifest
new file mode 100644
index 000000000000..0f7b0821e247
--- /dev/null
+++ b/dev-ruby/ecma-re-validator/Manifest
@@ -0,0 +1 @@
+DIST ecma-re-validator-0.1.2.gem 824832 BLAKE2B 0ccc81114611b85bf799644dd6f28f75397c3f4223a4eed03206e75b0478a9c4d6ea8807e5b8bc9f06771d51543210fa93fc355d791f7d91bce0f255860bd353 SHA512 4f00dcc940dc13f91b823ce9538239c3d545e79027f8ebc45b258fc807d1dcedeaa128070f666c6c57d50715d76908f45ca7bd639ee5a7bfdd6617f713f2c0fb
diff --git a/dev-ruby/ecma-re-validator/ecma-re-validator-0.1.2.ebuild b/dev-ruby/ecma-re-validator/ecma-re-validator-0.1.2.ebuild
new file mode 100644
index 000000000000..cdf35343dec1
--- /dev/null
+++ b/dev-ruby/ecma-re-validator/ecma-re-validator-0.1.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+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-0.2:0"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
+}
diff --git a/dev-ruby/ecma-re-validator/metadata.xml b/dev-ruby/ecma-re-validator/metadata.xml
new file mode 100644
index 000000000000..9c24bda51219
--- /dev/null
+++ b/dev-ruby/ecma-re-validator/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="rubygems">ecma-re-validator</remote-id>
+ </upstream>
+</pkgmetadata>