diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-07-18 14:10:34 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-07-18 14:10:34 +0000 |
commit | ced6bb535e2ecc6a9bbc1750559e7cbd8f20a20b (patch) | |
tree | 8b617d70bf35198d4ba9ab8c2c289898e2bc7646 /dev-ruby/webrobots | |
parent | x86 stable per bug 372027 (diff) | |
download | gentoo-2-ced6bb535e2ecc6a9bbc1750559e7cbd8f20a20b.tar.gz gentoo-2-ced6bb535e2ecc6a9bbc1750559e7cbd8f20a20b.tar.bz2 gentoo-2-ced6bb535e2ecc6a9bbc1750559e7cbd8f20a20b.zip |
Initial import. New dependency of dev-ruby/mechanize.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/webrobots')
-rw-r--r-- | dev-ruby/webrobots/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/webrobots/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ruby/webrobots/webrobots-0.0.10.ebuild | 30 |
3 files changed, 45 insertions, 0 deletions
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 <graaff@gentoo.org> +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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> 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 +} |