summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/parser/Manifest1
-rw-r--r--dev-ruby/parser/parser-2.7.0.2.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest
index 90be6404b957..e7ed1997cff2 100644
--- a/dev-ruby/parser/Manifest
+++ b/dev-ruby/parser/Manifest
@@ -1,3 +1,4 @@
DIST parser-2.6.5.0.gem 710144 BLAKE2B 72ae2ddd179b3d05ed94ff43d80940cf3b9e04445e4ee713284b35db016a50266891761fb84e2f56d9abe4fe41b7d6813b468cc618801561883b9178311001e6 SHA512 ffa73aba17be57ba8fe685213b5c009a4ba5e72dd165b63ec49f83562e4f501bd1c20e40893e7ea3e977f47aa10d1afd055578a031d8ec9cd0b5ad081c43ea39
DIST parser-2.7.0.0.gem 724480 BLAKE2B 8b9b3c88a8acf96f7befaea0eebf379ad5b0ce5cc75c001075062cf3e7360ed75e713256ec74445edd9d1c7137b0cd65257f6c6d6d6146ab593424d75b278de9 SHA512 5e48df4e6f5f13314da8a23391752561bad90bef20be7d8fd3758b6b996cfa5d43485938cd74ae862948da0a5bdc32df54030d812929c4f0a31890364686ed46
DIST parser-2.7.0.1.gem 724480 BLAKE2B 6c9322cb594d6db3795e179061c69ffdcb56ea12e78e7075034cfb637cd621da646d9297e66f2a5ed27cb64f69efe6057794e558f5077618a3fc112e878a196c SHA512 34fdfbe9c5424e9383233d5d949d08dbe5b275765dec76c54ece2822d8610bde8c3cb862744fcae0f0a82e30b3e3dad0bf1a208b04f5759187cd7a717eff243b
+DIST parser-2.7.0.2.gem 724480 BLAKE2B 073d15bbeb34f831dcd6f6e2c0ef26ee95bb4865316c6917376ad05e5b97d7f6d0dd3bff404de57f3579d189bba46854d36686fc3131c118c62d1226f2afb30f SHA512 914564fc334c30f61f043e246be8b64cb2ca385e5fb2096d38e4644055b0f246b52f82f318fc499b538669ba5d5a6ea0fe03bdecb7b9e8d4e58806d4bfcee81e
diff --git a/dev-ruby/parser/parser-2.7.0.2.ebuild b/dev-ruby/parser/parser-2.7.0.2.ebuild
new file mode 100644
index 000000000000..d6aeb4fdf8d0
--- /dev/null
+++ b/dev-ruby/parser/parser-2.7.0.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_TASK_TEST="test"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_VERSION="${PV/_pre/.pre.}"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A production-ready Ruby parser written in pure Ruby"
+HOMEPAGE="https://github.com/whitequark/parser"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? (
+ dev-ruby/minitest:5
+ dev-ruby/racc
+ dev-ruby/cliver )"
+ruby_add_rdepend "=dev-ruby/ast-2.4*"
+
+all_ruby_prepare() {
+ sed -i -e "/[Bb]undler/d" Rakefile || die
+ sed -i -e '/simplecov/ s:^:#:' test/helper.rb || die
+}