From ced6bb535e2ecc6a9bbc1750559e7cbd8f20a20b Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 18 Jul 2011 14:10:34 +0000 Subject: Initial import. New dependency of dev-ruby/mechanize. (Portage version: 2.1.10.3/cvs/Linux x86_64) --- dev-ruby/webrobots/ChangeLog | 10 ++++++++++ dev-ruby/webrobots/metadata.xml | 5 +++++ dev-ruby/webrobots/webrobots-0.0.10.ebuild | 30 ++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 dev-ruby/webrobots/ChangeLog create mode 100644 dev-ruby/webrobots/metadata.xml create mode 100644 dev-ruby/webrobots/webrobots-0.0.10.ebuild (limited to 'dev-ruby/webrobots') diff --git a/dev-ruby/webrobots/ChangeLog b/dev-ruby/webrobots/ChangeLog new file mode 100644 index 000000000000..0017739fe26e --- /dev/null +++ b/dev-ruby/webrobots/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/webrobots +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/webrobots/ChangeLog,v 1.1 2011/07/18 14:10:34 graaff Exp $ + +*webrobots-0.0.10 (18 Jul 2011) + + 18 Jul 2011; Hans de Graaff +webrobots-0.0.10.ebuild, + +metadata.xml: + Initial import. New dependency of dev-ruby/mechanize. + diff --git a/dev-ruby/webrobots/metadata.xml b/dev-ruby/webrobots/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/webrobots/metadata.xml @@ -0,0 +1,5 @@ + + + +ruby + diff --git a/dev-ruby/webrobots/webrobots-0.0.10.ebuild b/dev-ruby/webrobots/webrobots-0.0.10.ebuild new file mode 100644 index 000000000000..0fe1be219d49 --- /dev/null +++ b/dev-ruby/webrobots/webrobots-0.0.10.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/webrobots/webrobots-0.0.10.ebuild,v 1.1 2011/07/18 14:10:34 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby18 ree18" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A library to help write robots.txt compliant web robots." +HOMEPAGE="http://rubygems.org/gems/webrobots" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.4.4" + +ruby_add_bdepend "test? ( dev-ruby/shoulda virtual/ruby-test-unit )" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/bundler/,/end/d' Rakefile test/helper.rb || die + sed -i -e '/rcovtask/,/end/d' \ + -e '/jeweler/,/RubygemsDotOrgTasks/d' Rakefile || die +} -- cgit v1.2.3-65-gdbad