commit: 0a44399eeccaf125ddfafdd2671b2eb6a22a80e8 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Mon Nov 14 06:28:19 2016 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Mon Nov 14 06:28:19 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a44399e
dev-ruby/samuel: cleanup Package-Manager: portage-2.3.0 dev-ruby/samuel/samuel-0.3.3-r1.ebuild | 44 ---------------------------------- 1 file changed, 44 deletions(-) diff --git a/dev-ruby/samuel/samuel-0.3.3-r1.ebuild b/dev-ruby/samuel/samuel-0.3.3-r1.ebuild deleted file mode 100644 index c53d3cc..00000000 --- a/dev-ruby/samuel/samuel-0.3.3-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -USE_RUBY="ruby20" - -RUBY_FAKEGEM_TASK_DOC="" - -inherit ruby-fakegem - -DESCRIPTION="An automatic logger for HTTP requests in Ruby" -HOMEPAGE="https://github.com/chrisk/samuel" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" -IUSE="" - -ruby_add_bdepend " - test? ( - >=dev-ruby/shoulda-2.11.3 - >=dev-ruby/fakeweb-1.3 - >=dev-ruby/httpclient-2.2.3 - dev-ruby/mocha:0.13 - dev-ruby/test-unit:2 - )" - -all_ruby_prepare() { - # Remove references to bundler - sed -i -e '/[Bb]undler/d' test/test_helper.rb || die - rm Gemfile* - - # Change the default port from 8000 to 64888 to sidestep Issue #10. - # https://github.com/chrisk/samuel/issues/10 - sed -i -e 's:8000:64888:g' test/*.rb || die - - # Require an old enough version of mocha. - sed -i -e '1igem "mocha", "~> 0.13.0"' test/test_helper.rb || die - - # Use the test-unit gem to make jruby compatible with newer mocha. - sed -i -e '1igem "test-unit"' test/test_helper.rb || die -}
