commit: dc3354ee480ff12193177f365c5fa2f85c5190ef Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Thu Apr 11 17:06:41 2019 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Thu Apr 11 17:46:10 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc3354ee
dev-ruby/webrobots: cleanup Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-ruby/webrobots/webrobots-0.1.2.ebuild | 34 ------------------------------- 1 file changed, 34 deletions(-) diff --git a/dev-ruby/webrobots/webrobots-0.1.2.ebuild b/dev-ruby/webrobots/webrobots-0.1.2.ebuild deleted file mode 100644 index d03f6eac6e8..00000000000 --- a/dev-ruby/webrobots/webrobots-0.1.2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby22 ruby23 ruby24" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_DOCDIR="rdoc" -RUBY_FAKEGEM_EXTRADOC="README.rdoc" - -inherit ruby-fakegem - -DESCRIPTION="A library to help write robots.txt compliant web robots" -HOMEPAGE="https://github.com/knu/webrobots" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" -IUSE="" - -ruby_add_rdepend ">=dev-ruby/nokogiri-1.4.4" - -ruby_add_bdepend "test? ( dev-ruby/shoulda dev-ruby/test-unit:2 dev-ruby/webmock )" - -all_ruby_prepare() { - sed -i -e '/bundler/,/end/d' Rakefile test/helper.rb || die - - # Avoid tests for live websites requirering a network connection. - sed -i -e '/robots.txt in the real world/,/^ end/ s:^:#:' test/test_webrobots.rb || die -} - -each_ruby_test() { - ruby-ng_testrb-2 -Ilib test/test_*.rb -}