public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/webrobots/
Date: Sun,  3 Jun 2018 05:35:51 +0000 (UTC)	[thread overview]
Message-ID: <1528003891.3e8a3b48c726b99015a0411cd1a59d6367c7f9d8.graaff@gentoo> (raw)

commit:     3e8a3b48c726b99015a0411cd1a59d6367c7f9d8
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  3 05:31:31 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jun  3 05:31:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e8a3b48

dev-ruby/webrobots: add ruby25 and missing vcr dependency

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-ruby/webrobots/webrobots-0.1.2-r1.ebuild | 34 ++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/dev-ruby/webrobots/webrobots-0.1.2-r1.ebuild b/dev-ruby/webrobots/webrobots-0.1.2-r1.ebuild
new file mode 100644
index 00000000000..413984e979a
--- /dev/null
+++ b/dev-ruby/webrobots/webrobots-0.1.2-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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 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
+}


             reply	other threads:[~2018-06-03  5:36 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-03  5:35 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-03  6:07 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/webrobots/ Hans de Graaff
2024-01-17  7:07 Hans de Graaff
2023-08-26  9:41 Hans de Graaff
2023-07-24 11:03 Jakov Smolić
2023-06-21  5:12 Hans de Graaff
2022-07-29  5:38 Hans de Graaff
2022-03-27  9:54 Hans de Graaff
2021-07-02  7:23 Hans de Graaff
2021-07-02  7:23 Hans de Graaff
2021-02-22  6:49 Hans de Graaff
2021-01-06 18:32 Fabian Groffen
2019-05-04 19:14 Hans de Graaff
2019-04-11 17:46 Hans de Graaff
2019-04-11 17:46 Hans de Graaff
2018-03-25 19:45 Sergei Trofimovich
2018-01-24 16:43 Hans de Graaff
2018-01-21 19:37 Hans de Graaff
2017-08-23  6:14 Hans de Graaff
2016-12-16 21:06 Hans de Graaff
2016-11-25 14:49 Hans de Graaff
2016-04-21  5:17 Hans de Graaff
2016-04-21  5:17 Hans de Graaff
2016-04-10 13:54 Manuel Rüger
2016-03-13  6:41 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1528003891.3e8a3b48c726b99015a0411cd1a59d6367c7f9d8.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox