From: Hans de Graaff Date: Sat, 2 Nov 2019 10:02:16 +0000 (+0100) Subject: dev-ruby/rspec-rails: cleanup X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dd0db9e41f1ebe453d18df31ad3c034e46ef264d;p=gentoo.git dev-ruby/rspec-rails: cleanup Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Hans de Graaff --- diff --git a/dev-ruby/rspec-rails/Manifest b/dev-ruby/rspec-rails/Manifest index 7f81f52c744b..921d066356c7 100644 --- a/dev-ruby/rspec-rails/Manifest +++ b/dev-ruby/rspec-rails/Manifest @@ -1,4 +1,3 @@ -DIST rspec-rails-3.7.2.tar.gz 129851 BLAKE2B b37619b4a953fa44ef402a0dea1531837932dc7bc147c08b29bf85dcad61c7ca72b30f28edc391ae05d5040dcc902d6571342bb51559de84ed0c93244deffbec SHA512 a1dbbde3539b09c33d85c9307126df09c508fcf39abc25a6438fb0582ec19049ee1888d7d17d256d33bba08c29792a0ec30dabc37d870a369580a58cb7ef03df DIST rspec-rails-3.8.2.tar.gz 135513 BLAKE2B deae49ce0ce97c78fafe910cb73a196a404711adadb896a13bb40c82ecd6f2fd28129c0267057ce739d648ffe19bdf61799512bac97e9da3be03e0f8dd43d130 SHA512 02d60a0135b4f4b52e2721f9a79363310b60acb8252d4bb44220d37dd346605a6cd3db6525d2d8d77b9471dd91888c9a3dd02e541012f39d0d47c33f38c98bbe DIST rspec-rails-3.8.3.tar.gz 138053 BLAKE2B dab5764d65d484a8a808a2104a3ab093c2ef2e822cacd136996eddb767a972f89df9a459509e701e5541f6b9c42a3b700a4daa816c0391474e004b4558feb2a7 SHA512 210a278cf82c20c4f5ef7faa5e253b9e18609d34467e91cb8728e6116c7cfb15d17fe8941fc15b776bb169e0275df623535b86fc160afe3e49432948f246a165 DIST rspec-rails-3.9.0.tar.gz 142966 BLAKE2B 2f75b1a2e666c8b790be4aeb3add3814558718049a818bdcbd8ff07b5f837727d34628fbba68fd9ff832b864261cac2e545991daa5ad3f3b72304b411801295c SHA512 f0130bbfcc8367a1ef6d8f259ab04a623720068f205c2454117f988c8405885fd19056692b46d0a04d7ba2d0d24692acf8283a77bb5292054f990002fae10af0 diff --git a/dev-ruby/rspec-rails/rspec-rails-3.7.2.ebuild b/dev-ruby/rspec-rails/rspec-rails-3.7.2.ebuild deleted file mode 100644 index bb19436f8e13..000000000000 --- a/dev-ruby/rspec-rails/rspec-rails-3.7.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby22 ruby23 ruby24" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" - -inherit ruby-fakegem versionator - -DESCRIPTION="RSpec's official Ruby on Rails plugin" -HOMEPAGE="http://rspec.info/" -SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="3" -KEYWORDS="~amd64" -IUSE="" - -SUBVERSION="$(get_version_component_range 1-2)" - -ruby_add_rdepend ">=dev-ruby/activesupport-3.0:* - >=dev-ruby/actionpack-3.0:* - >=dev-ruby/railties-3.0:* - =dev-ruby/rspec-${SUBVERSION}*" - -# Depend on the package being already installed for tests, because -# requiring ammeter will load it, and we need a consistent set of rspec -# and rspec-rails for that to work. -ruby_add_bdepend "test? ( - >=dev-ruby/capybara-2.2.0 - >=dev-ruby/ammeter-1.1.2 - ~dev-ruby/rspec-rails-${PV} -)" - -all_ruby_prepare() { - # Remove .rspec options to avoid dependency on newer rspec when - # bootstrapping. - rm -f .rspec || die - - # Avoid bundler-specific specs. - rm -f spec/sanity_check_spec.rb || die - - # Avoid broken controller generator specs for now. - rm -fr spec/generators/rspec || die - - # Avoid loading rspec/rails explicitly since ammeter/init will also - # do this and loading it twice causes an error - sed -i -e '/rspec\/rails/ s:^:#:' spec/spec_helper.rb || die -}