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: Mon, 22 Feb 2021 06:49:28 +0000 (UTC)	[thread overview]
Message-ID: <1613976488.126b5dcd239549833a1c92a11c56cf0448d9f294.graaff@gentoo> (raw)

commit:     126b5dcd239549833a1c92a11c56cf0448d9f294
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 22 06:47:05 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 06:48:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=126b5dcd

dev-ruby/webrobots: add ruby27

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

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

diff --git a/dev-ruby/webrobots/webrobots-0.1.2-r2.ebuild b/dev-ruby/webrobots/webrobots-0.1.2-r2.ebuild
new file mode 100644
index 00000000000..0a5a7570983
--- /dev/null
+++ b/dev-ruby/webrobots/webrobots-0.1.2-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+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
+}


             reply	other threads:[~2021-02-22  6:49 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-22  6:49 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-17  7:07 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/webrobots/ 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-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-06-03  5:35 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=1613976488.126b5dcd239549833a1c92a11c56cf0448d9f294.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