commit: e70eb01e89c2b3747fb295af83c529a0e9b636f0
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 17 00:21:10 2016 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Mar 17 00:21:10 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e70eb01e
dev-ruby/ammeter: Remove old
Package-Manager: portage-2.2.28
dev-ruby/ammeter/Manifest | 1 -
dev-ruby/ammeter/ammeter-1.1.2.ebuild | 72 -----------------------------------
2 files changed, 73 deletions(-)
diff --git a/dev-ruby/ammeter/Manifest b/dev-ruby/ammeter/Manifest
index 9cf4ac1..f4f1c5c 100644
--- a/dev-ruby/ammeter/Manifest
+++ b/dev-ruby/ammeter/Manifest
@@ -1,2 +1 @@
-DIST ammeter-1.1.2.gem 18432 SHA256
99c55552b25ad39598b7f45d24fa849853cff4abcef235d35fa6f8ffd427b1d5 SHA512
af723c7e4111862678902dfdba734b34c9893b6cd5a8dab754c24b41baf672bafab1044a2928f61d5078e82055ccfe2c05a060b1f8e4f4da164147ffd8241f6a
WHIRLPOOL
21b38bf2a1781f664761e5c822ca1ab6c8346d6020b863cdbff3ed0238a618989aa66b2642207b8a3deee74fb6d521169a397ebc10a41e4b4a2d6cf06baf8c8c
DIST ammeter-1.1.3.gem 18432 SHA256
7161be2080f78b5c41dbeb92ae1f0db450634493795c6b962e68d611ce03086a SHA512
57428515435dc50e6feaf64f647c64d28ea345360e8ef324d4b6c10902658bf30685902e862e4526be105291620aa191e134a80762abbc9625062c485fb45cf0
WHIRLPOOL
dad6a009244daaa646ff333fae92f18fe5a09d24cd77ecea15aa87253a72a329f7676e0b578fa009b05ea3a3493897daa55e09e668147bfeecc67df6f5c2bc23
diff --git a/dev-ruby/ammeter/ammeter-1.1.2.ebuild
b/dev-ruby/ammeter/ammeter-1.1.2.ebuild
deleted file mode 100644
index 8278e4d..0000000
--- a/dev-ruby/ammeter/ammeter-1.1.2.ebuild
+++ /dev/null
@@ -1,72 +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 ruby21"
-
-RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_EXTRADOC="README.md"
-
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Write specs for your Rails 3+ generators"
-HOMEPAGE="https://github.com/alexrothenberg/ammeter"
-LICENSE="MIT"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-# Restrict tests since they now require the specific rspec version to be
-# provided in an environment variable.
-RESTRICT="test"
-
-ruby_add_rdepend "
- >=dev-ruby/activesupport-3.0
- >=dev-ruby/railties-3.0
- >=dev-ruby/rspec-rails-2.2
-"
-
-# ruby_add_bdepend "
-# test? (
-# >=dev-ruby/rails-3.1
-# <dev-ruby/rails-4.1
-# dev-ruby/uglifier
-# dev-ruby/rake
-# dev-ruby/coffee-rails
-# dev-ruby/sass-rails
-# dev-ruby/jquery-rails
-# dev-util/cucumber
-# dev-util/aruba
-# dev-ruby/sqlite3
-# dev-ruby/bundler
-# )"
-
-all_ruby_prepare() {
- # fix the gemspec; we remove the version dependencies from there, as
- # it requires _older_ versions of its dependencies.. it doesn't
- # really seem to be the case though. Also remove the references to
- # git ls-files to avoid calling it.
- sed -i \
- -e '/git ls-files/d' \
- -e '/\(cucumber\|aruba\)/s:,.*$::' \
- ${RUBY_FAKEGEM_GEMSPEC} || die
-
- # Specs are not compatible with Rails 4.1
- sed -i -e '23i s.add_development_dependency "rails", "<4.1"'
${RUBY_FAKEGEM_GEMSPEC} || die
-
- # Avoid spec that returns a different but valid response on ruby21
- sed -e '/when the file is not there/,/^ end/ s:^:#:' -i
spec/ammeter/rspec/generator/matchers/contain_spec.rb || die
-
- # haml-rails is not packaged
- sed -i -e '/haml-rails/d' ${RUBY_FAKEGEM_GEMSPEC} Gemfile || die
-}
-
-each_ruby_test() {
- RSPEC_VERSION=3.1.0 ${RUBY} -S bundle exec ${RUBY} -S rspec-3 spec ||
die
-}