From e8d7e6d17cf2a2555a1f1bf86eba852d69acce48 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 23 Aug 2020 08:17:11 +0200 Subject: dev-ruby/astrolabe: add ruby27 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Hans de Graaff --- dev-ruby/astrolabe/astrolabe-1.3.1-r1.ebuild | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 dev-ruby/astrolabe/astrolabe-1.3.1-r1.ebuild (limited to 'dev-ruby/astrolabe') diff --git a/dev-ruby/astrolabe/astrolabe-1.3.1-r1.ebuild b/dev-ruby/astrolabe/astrolabe-1.3.1-r1.ebuild new file mode 100644 index 000000000000..09912a68a210 --- /dev/null +++ b/dev-ruby/astrolabe/astrolabe-1.3.1-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="An object-oriented AST extension for Parser" +HOMEPAGE="https://github.com/yujinakayama/astrolabe" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/parser-2.2.0_pre3" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + # Fix Specs until RSpec3 is available + sed -i -e "/mocks.verify_partial_doubles/ s/^/#/" spec/spec_helper.rb || die + sed -i -e "s/is_expected.to/should/" spec/astrolabe/node_spec.rb || die +} -- cgit v1.2.3-65-gdbad