From cb8e93004fce6744f74aa4303ef2ff0f1ac09ff2 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Fri, 22 Jul 2016 08:46:07 +0200 Subject: dev-ruby/rspec: cleanup Package-Manager: portage-2.2.28 --- dev-ruby/rspec/rspec-1.3.2-r1.ebuild | 79 ------------------------------------ 1 file changed, 79 deletions(-) delete mode 100644 dev-ruby/rspec/rspec-1.3.2-r1.ebuild (limited to 'dev-ruby') diff --git a/dev-ruby/rspec/rspec-1.3.2-r1.ebuild b/dev-ruby/rspec/rspec-1.3.2-r1.ebuild deleted file mode 100644 index 599badac08c..00000000000 --- a/dev-ruby/rspec/rspec-1.3.2-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -USE_RUBY="ruby19 ruby20" - -RUBY_FAKEGEM_TASK_TEST="spec" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc TODO.txt Ruby1.9.rdoc Upgrade.rdoc" - -RUBY_FAKEGEM_BINWRAP="spec" - -RUBY_FAKEGEM_GEMSPEC="rspec.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" -HOMEPAGE="http://rspec.rubyforge.org/" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" -IUSE="" - -# it's actually optional, but tests fail if it's not installed and -# some other package might fail tests, so require it anyway. -ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.2" - -RDEPEND="!=dev-ruby/hoe-2.0.0 - dev-ruby/zentest - >=dev-ruby/syntax-1.0 - >=dev-ruby/fakefs-0.2.1 )" -ruby_add_bdepend "test? ( ~dev-ruby/test-unit-1.2.3 )" - -all_ruby_prepare() { - # Avoid dependency on git. - sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die - - # Replace reference to /tmp to our temporary directory to avoid - # sandbox-related failure. - sed -i \ - -e "s:/tmp:${T}:" \ - spec/spec/runner/command_line_spec.rb || die - - # Avoid unneeded dependency on bundler - sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die - - # Avoid the formatter specs since they require output files for each - # ruby version and these are not present for any current ruby - # version. - rm spec/spec/runner/formatter/{html,text_mate}_formatter_spec.rb || die - - # Drop heckle dependency. - rm spec/spec/runner/heckler_spec.rb spec/spec/runner/heckle_runner_spec.rb || die - sed -i -e '381,398 s:^:#:' spec/spec/runner/option_parser_spec.rb || die - - # Avoid a spec that may fail on unimportant whitespace differences. - sed -e '/Diff in context format/,/^end/ s:^:#:' \ - -i spec/spec/expectations/differs/default_spec.rb || die - - # Remove broken spec.opts related tests. These were always broken - # because they don't set up state properly, but only with - # >=fakefs-0.4.2 this started throwing exceptions, bug 340385. - sed -i -e '/implicitly loading spec/,/^ end/ s:^:#:' spec/spec/runner/option_parser_spec.rb || die - -} - -src_test() { - chmod 0755 "${HOME}" || die "Failed to fix permissions on home" - ruby-ng_src_test -} -- cgit v1.2.1