From 35402dfd43058658be1ae3f9549b2e1b7b029cf6 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Fri, 8 Dec 2017 11:14:25 +0100 Subject: [PATCH] dev-ruby/rspec-rails: drop x86 for rails 4.2 cleanup Package-Manager: Portage-2.3.13, Repoman-2.3.3 --- dev-ruby/rspec-rails/Manifest | 1 - .../rspec-rails/rspec-rails-2.14.2.ebuild | 44 --------------- dev-ruby/rspec-rails/rspec-rails-3.5.2.ebuild | 54 ------------------- 3 files changed, 99 deletions(-) delete mode 100644 dev-ruby/rspec-rails/rspec-rails-2.14.2.ebuild delete mode 100644 dev-ruby/rspec-rails/rspec-rails-3.5.2.ebuild diff --git a/dev-ruby/rspec-rails/Manifest b/dev-ruby/rspec-rails/Manifest index 78c46c6c0412..03ea8df17b18 100644 --- a/dev-ruby/rspec-rails/Manifest +++ b/dev-ruby/rspec-rails/Manifest @@ -1,4 +1,3 @@ -DIST rspec-rails-2.14.2.tar.gz 75049 BLAKE2B 6b3fb32b85b050bcaf7f83cf489ba551bf0b718b0d6a14cd1ad352c6d8ba3633a82c75d8316d2e76e351e3f222b7b61bc37f03d3f385173fd608b354458a2fef SHA512 2dcc568c578f3201dbdc6a757c84d0e689c3f221fe7cbd57849524680e40150c972436a2c6fcc1220e99c9d2e6c97c62bb6d4c5c59e9d6890a67caceb94ed5cd DIST rspec-rails-2.99.0.tar.gz 78448 BLAKE2B 242df5d1540de8516bec8f6fbf1c2072278489add524b526f6f125e55401c7fa6c80d8a6ef11faa7d908765b25c43ca826c8cc1aa71ed2599706ba8793105f6e SHA512 0453450cf5a5435dc4f870ae7a37a299c6b17a4df04de730c14ca3d070808c9a9a70a6f485a1d0c6f4f8ddf3def6e4710ae5842e9e8f0b59c10b2177299670f4 DIST rspec-rails-3.5.2.tar.gz 123642 BLAKE2B 7580846be34bfdf542f2c15f83e4dcdea98929b5d2feb04c645b905497522f5ee050ada800ceab975204c9671e8833b9c3fb978e4b55d6cc75b2291a96a1fd60 SHA512 4f7f03c740d7215591f9ac4fc9fb77f8d747b6446a831580518db2974b07806eab8ed29ade78afbdd981236f3c64b0d933f04be7cccf72c5e57fb85795dc7df4 DIST rspec-rails-3.6.0.tar.gz 127171 BLAKE2B 05a9e486840f724b15bf61bb72b870a27fca47ce28d242b9613e15f006293865d8c25e964896195b5fadbf7b73267ea7d1c6e6e3d17fb7016928b951dc28ae40 SHA512 f093c96d2d0c5b75ca055bfd1e7dfb990a66288a84293c6b3bd4622dfad52716b4b60553eb83878fb566c2e4d8b25b91da2071727ef54e6dd8aa11babeb80f81 diff --git a/dev-ruby/rspec-rails/rspec-rails-2.14.2.ebuild b/dev-ruby/rspec-rails/rspec-rails-2.14.2.ebuild deleted file mode 100644 index 828faf404fa8..000000000000 --- a/dev-ruby/rspec-rails/rspec-rails-2.14.2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby21 ruby22" - -RUBY_FAKEGEM_RECIPE_TEST="rspec" - -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="2" -KEYWORDS="~amd64 ~x86" -IUSE="" - -SUBVERSION="$(get_version_component_range 1-2)" - -ruby_add_rdepend ">=dev-ruby/activesupport-3.0 - >=dev-ruby/activemodel-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/mocha-0.10* >=dev-ruby/capybara-2.0.0 >=dev-ruby/ammeter-0.2.5 ~dev-ruby/rspec-rails-${PV} )" - -all_ruby_prepare() { - # Remove .rspec options to avoid dependency on newer rspec when - # bootstrapping. - rm .rspec || die - - # Remove specs that no longer work with Rails 4.1 due to changed naming. - rm spec/generators/rspec/install/install_generator_spec.rb || die -} diff --git a/dev-ruby/rspec-rails/rspec-rails-3.5.2.ebuild b/dev-ruby/rspec-rails/rspec-rails-3.5.2.ebuild deleted file mode 100644 index 57ccea0f52c1..000000000000 --- a/dev-ruby/rspec-rails/rspec-rails-3.5.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby20 ruby21 ruby22" - -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 ~x86" -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 -} -- 2.26.2