summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-01-16 08:29:48 +0100
committerHans de Graaff <graaff@gentoo.org>2024-01-16 08:30:10 +0100
commitd2e6a685bc6d6d1d01cfff4937fd9f4d0e4a9044 (patch)
tree9c684a6fc7b67929564006e7f6593c1bf8bd4c7e /dev-ruby/mechanize
parentdev-ruby/capistrano: enable ruby33 (diff)
downloadgentoo-d2e6a685bc6d6d1d01cfff4937fd9f4d0e4a9044.tar.gz
gentoo-d2e6a685bc6d6d1d01cfff4937fd9f4d0e4a9044.tar.bz2
gentoo-d2e6a685bc6d6d1d01cfff4937fd9f4d0e4a9044.zip
dev-ruby/mechanize: add 2.9.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/mechanize')
-rw-r--r--dev-ruby/mechanize/Manifest1
-rw-r--r--dev-ruby/mechanize/mechanize-2.9.2.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-ruby/mechanize/Manifest b/dev-ruby/mechanize/Manifest
index de1a26351712..3f2fc6e9c234 100644
--- a/dev-ruby/mechanize/Manifest
+++ b/dev-ruby/mechanize/Manifest
@@ -1 +1,2 @@
DIST mechanize-2.9.1.gem 143872 BLAKE2B 0e5d9f8e2f6eadf8de1f252518646b58117e1151be595edb5827a69b1bc83ce063690fe41ea3ec38a66565d44cb46141e4a0b34c878308c69dbc1249304d6f0a SHA512 6525cf8ea31c36fb20f5d83bebdb647942f24ddee979a832343ea964de11e31421e4f68943c1b15c9bb519b9b11cda9ab2a1c10ceca412e1854b5b20dda7ac78
+DIST mechanize-2.9.2.gem 144384 BLAKE2B 8271f86ad29f720f196941cf151690a7ee76600d5045c0ff672dedbb8cf852c954fa4b765d158525a1deee14f508915c03b4ab1a50d0a02655b037492dfb3fdb SHA512 1b7ef1acf41dc2080d64ca3052380b988403cb64ee748a1d052153c8e3bc167f3fe98f7d2c80a706906ca1a5abab5209a87ebda04cd8a068d8be8e8223a23829
diff --git a/dev-ruby/mechanize/mechanize-2.9.2.ebuild b/dev-ruby/mechanize/mechanize-2.9.2.ebuild
new file mode 100644
index 000000000000..ae70fa37dc68
--- /dev/null
+++ b/dev-ruby/mechanize/mechanize-2.9.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+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 ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+# PATCHES=(
+# "${FILESDIR}/${P}-libxml2-1.patch"
+# "${FILESDIR}/${P}-libxml2-2.patch"
+# )
+
+ruby_add_bdepend ">=dev-ruby/hoe-3.7
+ test? ( dev-ruby/minitest:5 )"
+
+ruby_add_rdepend "
+ >=dev-ruby/addressable-2.8: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/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*
+"
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test -e '$VERBOSE=true; Dir["test/**/test_*.rb"].each{|f| require f}' || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc examples/*
+}