diff options
author | 2021-07-02 09:19:56 +0200 | |
---|---|---|
committer | 2021-07-02 09:23:12 +0200 | |
commit | eb29ad297f6b7f92d528c603242f1fbb17e2a3cb (patch) | |
tree | 4bb23ee4923e23e4a61428cf2e9532129233c045 /dev-ruby/webrobots | |
parent | dev-ruby/webrobots: amd64 stable (diff) | |
download | gentoo-eb29ad297f6b7f92d528c603242f1fbb17e2a3cb.tar.gz gentoo-eb29ad297f6b7f92d528c603242f1fbb17e2a3cb.tar.bz2 gentoo-eb29ad297f6b7f92d528c603242f1fbb17e2a3cb.zip |
dev-ruby/webrobots: cleanup
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/webrobots')
-rw-r--r-- | dev-ruby/webrobots/webrobots-0.1.2-r1.ebuild | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/dev-ruby/webrobots/webrobots-0.1.2-r1.ebuild b/dev-ruby/webrobots/webrobots-0.1.2-r1.ebuild deleted file mode 100644 index 251bfeabb860..000000000000 --- a/dev-ruby/webrobots/webrobots-0.1.2-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby23 ruby24 ruby25 ruby26" - -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-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 dev-ruby/vcr )" - -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 -} |