summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-04-04 08:53:35 +0200
committerHans de Graaff <graaff@gentoo.org>2021-04-04 08:53:52 +0200
commit6ec6b85523e0167c813e2c064536ba77537c6cac (patch)
tree1d052edbe548c05545d05a9b49d331001298083f
parentdev-ruby/minitest-pretty_diff: add ruby30; EAPI=7 (diff)
downloadgentoo-6ec6b85523e0167c813e2c064536ba77537c6cac.tar.gz
gentoo-6ec6b85523e0167c813e2c064536ba77537c6cac.tar.bz2
gentoo-6ec6b85523e0167c813e2c064536ba77537c6cac.zip
dev-ruby/mechanize: add 2.8.0
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/mechanize/Manifest1
-rw-r--r--dev-ruby/mechanize/mechanize-2.8.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/mechanize/Manifest b/dev-ruby/mechanize/Manifest
index 0dc70f1155b..ef04e803cda 100644
--- a/dev-ruby/mechanize/Manifest
+++ b/dev-ruby/mechanize/Manifest
@@ -1 +1,2 @@
DIST mechanize-2.7.7.gem 139264 BLAKE2B 9a60b65fce16058e24e40ec50433653975b41210d3e26a560f6c3627c3de363c24fc0bf3325548dba87c9aaebebbe7fe9bd972c422989e5968e0447cec13fc94 SHA512 759bc6b2da8e0288edbe484b2ced02ce6ef49686a7a4c4ab0065e0f88799d23bc536a0ef160703726e83136857e893135a222aa295974e12f2b6988ecfbe7530
+DIST mechanize-2.8.0.gem 140800 BLAKE2B bfe02e8c640e0bd870cff12377b560cba62ee78bc41149813c678496282364db7aa5954e4d25321545fa8f48b4f067f0f01aa0332e5a118ce409fa935a49f906 SHA512 364b1e38e38d825ef89963ab25d463dbf51fd2423a0df1dceb137cdb58660f123b7c4652cb053fe1d0d21df229a108a5cb6c1fdf2489dd7f0747c6581e4f89a8
diff --git a/dev-ruby/mechanize/mechanize-2.8.0.ebuild b/dev-ruby/mechanize/mechanize-2.8.0.ebuild
new file mode 100644
index 00000000000..e9587243998
--- /dev/null
+++ b/dev-ruby/mechanize/mechanize-2.8.0.ebuild
@@ -0,0 +1,41 @@
+# 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_EXTRADOC="CHANGELOG.md EXAMPLES.rdoc GUIDE.rdoc README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby library used for automating interaction with websites"
+HOMEPAGE="https://github.com/sparklemotion/mechanize"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend ">=dev-ruby/hoe-3.7
+ test? ( dev-ruby/minitest:5 )"
+
+ruby_add_rdepend "
+ >=dev-ruby/addressable-2.7:0
+ >=dev-ruby/domain_name-0.5.20190701:0
+ >=dev-ruby/http-cookie-1.0.3:0
+ dev-ruby/mime-types:3
+ >=dev-ruby/net-http-digest_auth-1.4.1:0
+ || ( dev-ruby/net-http-persistent:4 dev-ruby/net-http-persistent:3 )
+ >=dev-ruby/nokogiri-1.11.2:0
+ >=dev-ruby/rubyntlm-0.6.3:0
+ >=dev-ruby/webrick-1.7:0
+ >=dev-ruby/webrobots-0.1.2 =dev-ruby/webrobots-0.1*
+"
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc examples/*
+}