diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-06-06 05:22:47 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-06-06 05:22:47 +0000 |
commit | e09bae21600f6e1711195c9087424d2214725b8e (patch) | |
tree | 33f81c7cff33f4a46134226d5cbd8a839e101b38 /dev-ruby | |
parent | Version bump. (diff) | |
download | gentoo-2-e09bae21600f6e1711195c9087424d2214725b8e.tar.gz gentoo-2-e09bae21600f6e1711195c9087424d2214725b8e.tar.bz2 gentoo-2-e09bae21600f6e1711195c9087424d2214725b8e.zip |
Cleanup.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ammeter/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/ammeter/ammeter-0.2.9-r1.ebuild | 67 | ||||
-rw-r--r-- | dev-ruby/ammeter/ammeter-0.2.9.ebuild | 54 |
3 files changed, 5 insertions, 122 deletions
diff --git a/dev-ruby/ammeter/ChangeLog b/dev-ruby/ammeter/ChangeLog index 5e977fe76578..65cf6441dfa8 100644 --- a/dev-ruby/ammeter/ChangeLog +++ b/dev-ruby/ammeter/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/ammeter # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ammeter/ChangeLog,v 1.18 2015/03/11 16:57:09 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ammeter/ChangeLog,v 1.19 2015/06/06 05:22:47 graaff Exp $ + + 06 Jun 2015; Hans de Graaff <graaff@gentoo.org> -ammeter-0.2.9.ebuild, + -ammeter-0.2.9-r1.ebuild: + Cleanup. 11 Mar 2015; Agostino Sarubbo <ago@gentoo.org> ammeter-1.1.2.ebuild: Add ~x86, wrt bug #510614 diff --git a/dev-ruby/ammeter/ammeter-0.2.9-r1.ebuild b/dev-ruby/ammeter/ammeter-0.2.9-r1.ebuild deleted file mode 100644 index 4888f2ade66e..000000000000 --- a/dev-ruby/ammeter/ammeter-0.2.9-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ammeter/ammeter-0.2.9-r1.ebuild,v 1.3 2014/12/28 09:34:00 graaff Exp $ - -EAPI=5 -USE_RUBY="ruby19 ruby20 ruby21" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_RECIPE_TEST="rspec" - -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" -IUSE="test" - -ruby_add_rdepend " - >=dev-ruby/activesupport-3.0 - >=dev-ruby/railties-3.0 - >=dev-ruby/rspec-2.2 - >=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:,.*$::' \ - -e '/rspec/ 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 -} - -each_ruby_test() { - ${RUBY} -S bundle exec ${RUBY} -S rspec-2 spec || die -} diff --git a/dev-ruby/ammeter/ammeter-0.2.9.ebuild b/dev-ruby/ammeter/ammeter-0.2.9.ebuild deleted file mode 100644 index 8d7e0baf138a..000000000000 --- a/dev-ruby/ammeter/ammeter-0.2.9.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ammeter/ammeter-0.2.9.ebuild,v 1.2 2014/05/26 05:32:33 mrueg Exp $ - -EAPI=5 -USE_RUBY="ruby19" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_TASK_TEST="spec" - -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" - -ruby_add_rdepend " - >=dev-ruby/activesupport-3.0 - >=dev-ruby/railties-3.0 - >=dev-ruby/rspec-2.2 - >=dev-ruby/rspec-rails-2.2 -" - -ruby_add_bdepend " - test? ( - >=dev-ruby/rails-3.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 - )" - -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 -} |