From 00a86810cb92ba481ad2ddcd90340e3236b69b3f Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Tue, 23 Nov 2021 12:44:48 +0100 Subject: dev-ruby/ecma-re-validator: add ruby30 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff --- .../ecma-re-validator-0.3.0-r1.ebuild | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dev-ruby/ecma-re-validator/ecma-re-validator-0.3.0-r1.ebuild (limited to 'dev-ruby/ecma-re-validator') 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 +} -- cgit v1.2.3-65-gdbad