commit:     20b6b445f4ad39cd095aefce13714179788fe01b
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 18 05:09:03 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Apr 18 05:09:20 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20b6b445

dev-ruby/parser: add ruby25

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/parser/Manifest              |  1 +
 dev-ruby/parser/parser-2.5.1.0.ebuild | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest
index 354dae7c673..d0feae5f7f5 100644
--- a/dev-ruby/parser/Manifest
+++ b/dev-ruby/parser/Manifest
@@ -2,3 +2,4 @@ DIST parser-2.4.0.2.gem 591360 BLAKE2B 
77a832e444e70853fe2aab27c0dfc99536aeafac7
 DIST parser-2.5.0.0.gem 601600 BLAKE2B 
d863de5b898e1110f3b1121afd83aa11b5c116c494a45c4ba4fba82a89605acbbf0e52db6f7dd9b7d65c49ddd00a3af8c716f2f348a7bfe50b39c55a95dd7adf
 SHA512 
51ad3b7d56d0f25385ab6ff8510857b7c8a689c65087be68441a4699a12371717de9360f568804fc818c0fde8535f1c92067532ef7a4d751b183d61aac3ddfe2
 DIST parser-2.5.0.2.gem 604672 BLAKE2B 
ec4a20218e0707a9791b173a7b7b1f33845e20b23c591bb9d5a51883f9b105fff136ae3808f62fddbf43ce57b0b6b13c0fe80af5496dda655074900a3790b108
 SHA512 
5ea67f986af8b31eca601fc812d64edfde14843f92cc79d72333cd581d20f53661f621ac513e71db6320ede8ac696778266138e66cddb3cbfe1b61684538953d
 DIST parser-2.5.0.5.gem 605184 BLAKE2B 
2847079ee7195f47f7d18519cdd9e52b1ab9e9371fd3593d78ab841d8b38d985609ec326a0e75688012d583569cf311428ec39f8e2b52725943966c848693487
 SHA512 
e3c2aa9026d45dde45923f215b2de4f3f588e779bdfac30c334b6c1bf2c54c44858179cba34cfb46d0353714c813d03da10f33ec660a1c4c0b06df9ec8a1efe6
+DIST parser-2.5.1.0.gem 652800 BLAKE2B 
56411c34da273d8d02d05eb0dee470cf9afd3ed563d02fc8614cc93cb62f0a1e12cfcd02da95b9ed93acfc69a75ebef2b2b25cd885a69ecac31e3c2b4b37bee5
 SHA512 
252a20b1b578c4c4b0704001aa7b38ef94e5cc24f3eff34d3afcd661e4f5ce2aa25d2113e42a7d0c8e22583451d3e8067429782be12789cb9465262d7bd1839e

diff --git a/dev-ruby/parser/parser-2.5.1.0.ebuild 
b/dev-ruby/parser/parser-2.5.1.0.ebuild
new file mode 100644
index 00000000000..2033169ac32
--- /dev/null
+++ b/dev-ruby/parser/parser-2.5.1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+
+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
+}

Reply via email to