From b8fb4bd85e7f5705c816422dc14cefb5dccdf035 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Wed, 8 Feb 2017 07:00:49 +0100 Subject: [PATCH] dev-ruby/parser: add 2.4.0.0 Package-Manager: portage-2.3.3 --- dev-ruby/parser/Manifest | 1 + dev-ruby/parser/parser-2.4.0.0.ebuild | 33 +++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 dev-ruby/parser/parser-2.4.0.0.ebuild diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest index 9509750d88974..84f30bcc677a2 100644 --- a/dev-ruby/parser/Manifest +++ b/dev-ruby/parser/Manifest @@ -1,2 +1,3 @@ DIST parser-2.3.3.0.gem 544768 SHA256 79c0d8a275fe67394920d085f92bf4cb4986ee1a95a891704dd1747d366cd899 SHA512 c28cbc23e10458d449707a4c26dc56dcba06425ada92785c004580c9e4f5ae4367d2f594dcdaeaad3f7995588959899a45263c5a337e7299b96b5c702d41c1d4 WHIRLPOOL e1240bddb255927f8b8dc64a736d6edd4c64d477b4187fa39a80ccb70d3871dc21595a6569181f79051e1eace113eaec7d6ff6f64aaf481c6ab2f3fcca7b515b DIST parser-2.3.3.1.gem 544768 SHA256 78212b3e2bbd7fd52ab0b47af41a3998dce29d0ec32b391aea6f666c4df2f4da SHA512 7b55b61da5b03153500a57bbd6afdb61c09a8c70b2af7bdf637d7c191b9781e601f2450dbcd31200de4b0bac655b9915a14d05d77b981dc0c4e80d0f020a3623 WHIRLPOOL 8af0b20c2c168bee125224fbdb5ee8961e9153c7ddd370a176c88f0df4f1a5063c5a038191f2cb684fbf318d56c6deb947cf3ed38dd57f9fe0a6c9e7cad84246 +DIST parser-2.4.0.0.gem 545280 SHA256 98a50996e8277c1215c4a193cdd3e0d44fd5810db14251b0774273a1d074198c SHA512 5407fafe58f11476fe6abba0f3aabd136c3653a79f9d369a56eb5965024509a5c9bdd99a65adf2c15437d5c97cba9cc13fe51a4e06a48cd0320aa697400983e2 WHIRLPOOL 63f27c59a2e2d211fe1c1fa2ce890bc0a2a17deff151c7b9227f1f5adf3061d2a7ac3cecf6ba915f614b75dfa4f0ad14e2ff9f44569ef46c5d2b891474eaad5e diff --git a/dev-ruby/parser/parser-2.4.0.0.ebuild b/dev-ruby/parser/parser-2.4.0.0.ebuild new file mode 100644 index 0000000000000..2b4df5d529ecb --- /dev/null +++ b/dev-ruby/parser/parser-2.4.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23" + +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.2:0" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e "/simplecov/,+35d" test/helper.rb || die +}