summaryrefslogtreecommitdiff
path: root/dev-ruby/webrobots
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/webrobots
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/webrobots')
-rw-r--r--dev-ruby/webrobots/Manifest7
-rw-r--r--dev-ruby/webrobots/metadata.xml12
-rw-r--r--dev-ruby/webrobots/webrobots-0.1.1-r2.ebuild34
-rw-r--r--dev-ruby/webrobots/webrobots-0.1.2.ebuild34
4 files changed, 87 insertions, 0 deletions
diff --git a/dev-ruby/webrobots/Manifest b/dev-ruby/webrobots/Manifest
new file mode 100644
index 000000000000..950530950a25
--- /dev/null
+++ b/dev-ruby/webrobots/Manifest
@@ -0,0 +1,7 @@
+DIST webrobots-0.1.1.gem 17408 SHA256 568c5e5a149c5e7fbd5065522bb986ddd8f147e8586818ab7e79d6a02e8496ca SHA512 f303c238620d17cb64064d11eb352d2afb32529f7092609484e5e232ccbc903683f89116a0e5232605b6d0286a4a76b82e71e44884a7b77d12125f3b3c6c5a34 WHIRLPOOL e7fa930ccebb17b0d785c3a4d0257d6fcd255816913b7a8e1f3c8ec4cd1a0e42d9040c30e6a3b4e28114dfc106f60c6161f6f4055686c0c6688bc781d6772b00
+DIST webrobots-0.1.2.gem 24064 SHA256 ebbcaa2cb4930fa1b83206f432c5cb64746507b2dcf50ea1301569a4d662cda6 SHA512 8b2a27a1758e613bced16b59a2b1708f468921388882d7ea483c7b6cbb5173fa24032f4db271734820225c5e90d3f30d07c5fb682d0d807c637f535ef7256097 WHIRLPOOL d353c46d54a26410b5bea9bd706e977e15b0a20af44d3764dd668ae86dd1fc9d6cbc2d94d91b5955f547dfc3589457f5654a706b53a2d7a702bb45a604edf1cf
+EBUILD webrobots-0.1.1-r2.ebuild 926 SHA256 b8595ebe087db876a649b24734dbfb7111939bc23400d44cf0b589512c779d02 SHA512 c0e7bb8b3945594d9270baf6e2b3620e396fcd29970f3ce1e16990a277710a3936c35872a1ec2f40dffe66a796c52329b025c3a5c42c0c21e7885954b9f6771e WHIRLPOOL b8b37978fd89467ed090a4b9bc20bf1e295aa3673fa0983731207016872672b3d5cb3e6789a5479417fb7f7abaef357452fd6fcf1b10aa1cba356708cc89d700
+EBUILD webrobots-0.1.2.ebuild 938 SHA256 a005b9c023748a57533a4055192826f93f6fe98ebdab554c1656090f4e6d3fd1 SHA512 1872257b35933f9e50679e1b13e828a51cf0de55549722bd3c9b2f50d599e3fca2fa837524ede29824156be02a481649f8ae8d7318bb9eace5bb04dada490f5a WHIRLPOOL 07b11b934c3b7da0a43810435c4d6b95faf58716796a2c8b4248679540f46a02bdef0ad0d1d788612d54778f6ebd56442492567879c53f78d70a8286a561b881
+MISC ChangeLog 3964 SHA256 8ba67868755e6d7d72a8e1d6c205d6b933187f21a1eba414686386908af9288f SHA512 fd5470f27af8fee1cbe73436dbb716d4e6fc2306968eba29f00aee54c09df1883f83d5e381760159c8038ace430b368087e7c14a03e22b62d5065d6b74da5ee4 WHIRLPOOL dbd6a83bea7295c58b7f96db73d42cf4808930e143b45c4a985916a8136153a7c75332176592128f3f7f6919b062bcfb66b1d19435143bc1dd6571091c6f19d8
+MISC ChangeLog-2015 2879 SHA256 9c2d2e2da2c5aa6cfd0fdd251a941f345708ea6d1cc308a051a617c30d3193e0 SHA512 361c2db192c4f0b07f10c5c1d191e7daf97a5b2fa5be7a708c7293b3737385299b26faeae16750633e2a1189811f1c2755f407f9c01f949bcf782c296c351a45 WHIRLPOOL 0b215e91a3d80bd27596ec8c99e47e536441f3d9526b888416f664e53932822bbc3e53f83c50c054ce2e7673c99102c425801a5aef265448da68b44c1cdd06a5
+MISC metadata.xml 380 SHA256 f6e46e6d37206b4daff30a06769b20e45103310b8d4fa60cfef97659432ceb36 SHA512 0c68a9a014ac9459f1ed9639517189109e50cd101e8bc7c21ed2a3631e22ee7a7fc31c7f4518463170a63d710cb4b1e03a1bffa1275ca8e6629afe89cfa31b44 WHIRLPOOL 0f835fc7600bd5709ab692f031e7d800eaa0d692b2679c24c3451cb84727cb6e09bcc58546d0e27a402ecf41cf7b6f892f1dd81425b4375604738a49a0cadba4
diff --git a/dev-ruby/webrobots/metadata.xml b/dev-ruby/webrobots/metadata.xml
new file mode 100644
index 000000000000..dc2b266475d2
--- /dev/null
+++ b/dev-ruby/webrobots/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="rubygems">webrobots</remote-id>
+ <remote-id type="github">knu/webrobots</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/webrobots/webrobots-0.1.1-r2.ebuild b/dev-ruby/webrobots/webrobots-0.1.1-r2.ebuild
new file mode 100644
index 000000000000..2fa1e1e8da14
--- /dev/null
+++ b/dev-ruby/webrobots/webrobots-0.1.1-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+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="http://rubygems.org/gems/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 )"
+
+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
+}
diff --git a/dev-ruby/webrobots/webrobots-0.1.2.ebuild b/dev-ruby/webrobots/webrobots-0.1.2.ebuild
new file mode 100644
index 000000000000..fc6b65152697
--- /dev/null
+++ b/dev-ruby/webrobots/webrobots-0.1.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+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 ~ppc64 ~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 )"
+
+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
+}