summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-01-17 06:25:54 +0100
committerHans de Graaff <graaff@gentoo.org>2019-01-17 06:25:54 +0100
commitae78f8d8946f028eb15a033e7826ce2fe4d64033 (patch)
tree059f7b7e6b2ef4c79597bedd11aa3a4d14ab5ecb /dev-ruby/parser/parser-2.6.0.0.ebuild
parentdev-ruby/ast: add ruby26 (diff)
downloadgentoo-ae78f8d8946f028eb15a033e7826ce2fe4d64033.tar.gz
gentoo-ae78f8d8946f028eb15a033e7826ce2fe4d64033.tar.bz2
gentoo-ae78f8d8946f028eb15a033e7826ce2fe4d64033.zip
dev-ruby/parser: add 2.6.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/parser/parser-2.6.0.0.ebuild')
-rw-r--r--dev-ruby/parser/parser-2.6.0.0.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/parser/parser-2.6.0.0.ebuild b/dev-ruby/parser/parser-2.6.0.0.ebuild
new file mode 100644
index 000000000000..9d79fb015bf3
--- /dev/null
+++ b/dev-ruby/parser/parser-2.6.0.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="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
+}