summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-12-27 07:08:51 +0100
committerHans de Graaff <graaff@gentoo.org>2019-12-27 07:21:53 +0100
commit2bc9857a5ee576108f3fa80fad84308701ac5883 (patch)
treebd8ebac8171d4eb27590cfc0b2456a8d24142798 /dev-ruby/parser
parentdev-ruby/bacon: add ruby27 (diff)
downloadgentoo-2bc9857a5ee576108f3fa80fad84308701ac5883.tar.gz
gentoo-2bc9857a5ee576108f3fa80fad84308701ac5883.tar.bz2
gentoo-2bc9857a5ee576108f3fa80fad84308701ac5883.zip
dev-ruby/parser: add 2.7.0.0
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/parser')
-rw-r--r--dev-ruby/parser/Manifest1
-rw-r--r--dev-ruby/parser/parser-2.7.0.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest
index 6ca8758d0c8b..a701ffe5ccfc 100644
--- a/dev-ruby/parser/Manifest
+++ b/dev-ruby/parser/Manifest
@@ -1,3 +1,4 @@
DIST parser-2.6.4.0.gem 708608 BLAKE2B dd511be4a82b6659d4b21071b7e12660e19e42879783739be5643a1f39d5823059b862980d133fff79b72c95193edaeaa0f99f20584f48bc0289ac8d0859f418 SHA512 f4652dcacc00cb26030ceab39bef1a0cff4802824834d32628b4d33c715a5e833422fed61d26c6c498c465cd34f32e3bfefb17b08b2604749cc929910b96b1f9
DIST parser-2.6.4.1.gem 708608 BLAKE2B ac921f4fba29adb8cfed93a5525f87ba877a271ccf308f839655dbde1e6ca77507da4c9baa8b9a5e2e207e7723561cb9c6a6ad9fc7fe282c032052e4532c1f66 SHA512 2d239872043ad3b9d156aa65d2225f374c5cc77a3920826926699dd8c86653c095881ee51473a401c44494636bf6252a875a7a3fcfee7258739f86b113e9900b
DIST parser-2.6.5.0.gem 710144 BLAKE2B 72ae2ddd179b3d05ed94ff43d80940cf3b9e04445e4ee713284b35db016a50266891761fb84e2f56d9abe4fe41b7d6813b468cc618801561883b9178311001e6 SHA512 ffa73aba17be57ba8fe685213b5c009a4ba5e72dd165b63ec49f83562e4f501bd1c20e40893e7ea3e977f47aa10d1afd055578a031d8ec9cd0b5ad081c43ea39
+DIST parser-2.7.0.0.gem 724480 BLAKE2B 8b9b3c88a8acf96f7befaea0eebf379ad5b0ce5cc75c001075062cf3e7360ed75e713256ec74445edd9d1c7137b0cd65257f6c6d6d6146ab593424d75b278de9 SHA512 5e48df4e6f5f13314da8a23391752561bad90bef20be7d8fd3758b6b996cfa5d43485938cd74ae862948da0a5bdc32df54030d812929c4f0a31890364686ed46
diff --git a/dev-ruby/parser/parser-2.7.0.0.ebuild b/dev-ruby/parser/parser-2.7.0.0.ebuild
new file mode 100644
index 000000000000..1ec9261115c9
--- /dev/null
+++ b/dev-ruby/parser/parser-2.7.0.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 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
+}