summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-05-07 05:05:28 +0000
committerHans de Graaff <graaff@gentoo.org>2013-05-07 05:05:28 +0000
commit7f5b541ba08ae33ccfda5c79cdbd23800c175927 (patch)
tree5e0ec48af969cdd496b3ff71a103a543840e811c /dev-ruby/mechanize
parent4.8.0 p1.3: Fixes bug #465894 (wine memcopy breakage) and a couple of wrong (diff)
downloadhistorical-7f5b541ba08ae33ccfda5c79cdbd23800c175927.tar.gz
historical-7f5b541ba08ae33ccfda5c79cdbd23800c175927.tar.bz2
historical-7f5b541ba08ae33ccfda5c79cdbd23800c175927.zip
Version bump.
Package-Manager: portage-2.1.11.62/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/mechanize')
-rw-r--r--dev-ruby/mechanize/ChangeLog10
-rw-r--r--dev-ruby/mechanize/Manifest11
-rw-r--r--dev-ruby/mechanize/files/mechanize-2.6.0-libxml290.patch34
-rw-r--r--dev-ruby/mechanize/mechanize-2.6.0.ebuild41
4 files changed, 90 insertions, 6 deletions
diff --git a/dev-ruby/mechanize/ChangeLog b/dev-ruby/mechanize/ChangeLog
index 31b8f7f02bdb..27e8d529eb2c 100644
--- a/dev-ruby/mechanize/ChangeLog
+++ b/dev-ruby/mechanize/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/mechanize
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mechanize/ChangeLog,v 1.36 2012/11/25 19:15:44 tomka Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mechanize/ChangeLog,v 1.37 2013/05/07 05:05:20 graaff Exp $
+
+*mechanize-2.6.0 (07 May 2013)
+
+ 07 May 2013; Hans de Graaff <graaff@gentoo.org> +mechanize-2.6.0.ebuild,
+ +files/mechanize-2.6.0-libxml290.patch:
+ Version bump.
25 Nov 2012; Thomas Kahle <tomka@gentoo.org> mechanize-2.5.1.ebuild:
marked ~x86 per bug 432830
diff --git a/dev-ruby/mechanize/Manifest b/dev-ruby/mechanize/Manifest
index e59f8248596d..c02582e505f4 100644
--- a/dev-ruby/mechanize/Manifest
+++ b/dev-ruby/mechanize/Manifest
@@ -1,17 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX mechanize-2.6.0-libxml290.patch 1096 SHA256 fa4e546eb43244f9baf0ee7bb2fb9d7fa21c0a680322e669fc339aa846f23bcd SHA512 332453cdc8eb238fa48dc0b3556bdbabd42edfcbbd3c5371f02e653b9de2d30b05827bd7a4ad20e8cdc6f4ea0007f39cf0b2a6b467c0f797e70b01936badcde3 WHIRLPOOL d9172e7fdd380a2bb4ca90f23cdaa2a8406b87d9eb787aecab755ee6b0437beb8117d5ed6dcd060d4543d3333bd166a4d457f1e32fb05767abaefa1eee04c603
DIST mechanize-1.0.0.gem 85504 SHA256 dbc88a239ebd873d5c1336f4a9ca6593df05fc9cbce4e55075f67e80067aa5d4 SHA512 cd7033b7af561d91a9aee00aff00db9888fd1eaed6108a6119b0fed24f8b797c9dac9b80d271313c723202fc054255ea6ca2a66b0571d2db88a95c26e3c7d10f WHIRLPOOL 0192cea1e0ea846c7d8ea294122a18a3f047f53a3fd3c64fa26d3c16c8b00deaefd51f26f6f0796988798e230896ad586c06f2f521164683c5d3c4948f8c8637
DIST mechanize-2.5.1.gem 130048 SHA256 2d798d4212e9be15caf491f7f2cb39d4c4ecf8ca8be6167cf3b060045a7275b2 SHA512 3839c73f591f0bfdbcfa18dc12c5ab441b16bca7f684d8090d51b93f9dfca727f7999c441488bfdda41cc6c446f24e8834b11d75423e43effd1d11e9bf42c175 WHIRLPOOL 2e70f48354d0e2d01cdecd4c7b0284c5614ce221cb344297f7f5997e752a64006868d96c43f68fda5bbd89f4d167d2df86e5331727b76a50eb35709e85eea51b
+DIST mechanize-2.6.0.gem 131584 SHA256 0c5c3af20d1800623a5ab3d4fb40e94d4d2e83ab1b2e30fc9f5ebee0765f160d SHA512 5cd3264159c029851a755e943af86d54cadb7076cc0db3394b5d381db9e7d5e760507e68b7fdba6e425e59c0703c20d02d451394346c8f5c7816921dead38d00 WHIRLPOOL 6a5dc87b630be97d55e18feeaae29ebe2a511cecec72f35ed42f71658f005411f2a59894bd83c34a77b97c53cb3d5887b4b023142421cc27b781e9320850c87f
EBUILD mechanize-1.0.0-r1.ebuild 862 SHA256 b274c5361ca7c3137712a2e21808e3c203c9ea63c6ca9b20fce1dc6f3f114817 SHA512 b0089c431eb712c24db0e6b3e58d5eb66c8a7ce18c72896dd9a6f96c2e20a5c40ca98f18cc02a4ab2412e13661d8b9d3d8cbdef85b93d314c2454806638eb5af WHIRLPOOL 5ccf4d5f2c361e00293167b28503e7a9553d767bcdce3c23ad20eb105d33c3e8e39e4a555299d2ee1642f7863d135dcb34dd546adf1f4dee5aecfef34667dc61
EBUILD mechanize-1.0.0.ebuild 849 SHA256 98712ceb5f2838e8335cc8cc9290dc4bc1865b4f76568e3d11d2f03ad88120a9 SHA512 8d0ad738325a8e7e981802435edcc72dc5fac6b62854dcda9a54914a57163ba8f4e2000cc390db39369009d9ae5c3046bf464e2d73fe02edfc2d194568012178 WHIRLPOOL 1a3957407a8ec1cdd7094b8f2b97758492ea2a3edbc61eebd7e4f3a9a44f196b9b1b50057abe878e32c0a1656bcc8c3a85e0dfb7cd25fbadfc1ee38ba6f6fa68
EBUILD mechanize-2.5.1.ebuild 1102 SHA256 3e7fa9e0c67329a5f227440a5cdfd87598c2656b7416a9d70c2127f30090082c SHA512 2be334dbe8abeb5630aaa6ea262ecf41c3d4cde72900a698e14911410972f19d68d4c9114f8528991d673fbbc15660836c5cd145e6e084995de55d11d60f26ee WHIRLPOOL 965fe43f6990379e73b6ce6ce853b5b5cd65c36f674c1dfad8a9ecef1ea6152644b54fab33ef49f4e6c03f6b20157164a99ba64a89f09221cb3d153c61bd3bce
-MISC ChangeLog 5236 SHA256 a99b70b8dd4a67ea58fa872f9f999866e326196f9d8f041d53fa52541a2d0014 SHA512 39b4b200371426b98ac29209e2f77414fa4b7c9e85e8eb1e76952d653b8d2a87de037d485c4a1ae3867956260f6691f6afd520a784346a47d76d847d8e3cbb8d WHIRLPOOL 4c166d0e2455d080709052d975bbb5a5c97dc9df69737b46906832559a6b3f9a53318677297c690351723f68bf04369ec8bdf0896d1d91168cbd2554bf28ad7b
+EBUILD mechanize-2.6.0.ebuild 1142 SHA256 2e3596ba50153e678e076e7d87d8c9974822d0668ee7e7ffa5978c48e6464689 SHA512 ea4469177f123bdcbc538de5a5bbc44403203c6336a3010daef9502ee5e7412a8b771a00f544f335f020464bf4edb7a25bd52d42a4e042c76dc52bc4092ab5e2 WHIRLPOOL ff273d7f2c35342b9f7e1f7e2c5a8fb05c6679cd0ea69f9ec3fa9dddb80bd549b355eba3efa4ed3b675d0651eb8141ec7c60e797cf5594dfa9c7dec157e50edb
+MISC ChangeLog 5403 SHA256 a966424fa04d3e639973e9cd0870c89fa0585be6216672544c15e529e9584757 SHA512 6a70b769190b4b1c41c29f2e6277bf05a29f8090e213f2dba95a8afb937bfc1ff8220e6e1f1a7a45316ac50e7d019221febe8d8abfb05a069940342dc1661710 WHIRLPOOL c9d74eb0164ac633474f70fcbf445ae4a2e3daa1a0dfac7aa96f2e238fc5a8577c3fd20f500427c46dc266ecf34d93091d7757de7f89b7bd560ec8a8d7a0fd2e
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iF4EAREIAAYFAlCybmEACgkQid6yGVZcMrxbCQD/f27yj7rwCVcFmTU3I5XyCZo/
-RuPbEEzTSlMCo2RzGF8A/2ggDwL+RPDyrpN+vE8qbjCLAo+0iVmR+bpP1ikNQWbT
-=8D72
+iF4EAREIAAYFAlGIi5gACgkQiIP6VqMIqNdGfwD/X8r1AkvN3ciwhevgO0JRiuHZ
+I8XI/gNJgSxDjp8WtBUA/jkqR9IJdOST/EtIBtU94eMT/HUBxzbJFSy/Y7xEkqvm
+=1EkG
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/mechanize/files/mechanize-2.6.0-libxml290.patch b/dev-ruby/mechanize/files/mechanize-2.6.0-libxml290.patch
new file mode 100644
index 000000000000..0b5409f582bb
--- /dev/null
+++ b/dev-ruby/mechanize/files/mechanize-2.6.0-libxml290.patch
@@ -0,0 +1,34 @@
+commit 43f3b631484a2c0178e6699584471dedd598eca3
+Author: Lee Jarvis <ljjarvis@gmail.com>
+Date: Mon May 6 19:39:25 2013 +0100
+
+ Ensure we prefix xpath with // for searching entire document
+
+ Tests prior to this commit passed because libxml2 was not so
+ strict. Since upgrading to 2.9.0 this issue has been revealed.
+ The former test should have been written with this in mind.
+
+ Steps to reproduce (on OSX with Homebrew installed):
+
+ gem uninstall nokogiri
+ brew install libxml2
+ LDFLAGS="-L/usr/local/opt/libxml2/lib" \
+ CPPFLAGS="-I/usr/local/opt/libxml2/include" \
+ gem install nokogiri
+
+ closes #308
+
+diff --git a/test/test_mechanize_xml_file.rb b/test/test_mechanize_xml_file.rb
+index 58eb67c..bbe486c 100644
+--- a/test/test_mechanize_xml_file.rb
++++ b/test/test_mechanize_xml_file.rb
+@@ -23,7 +23,7 @@ class TestMechanizeXmlFile < Mechanize::TestCase
+ end
+
+ def test_at
+- assert_equal 'Perl', @xml.at('language[2]').text
++ assert_equal 'Perl', @xml.at('//language[2]').text
+ end
+
+ end
+\ No newline at end of file
diff --git a/dev-ruby/mechanize/mechanize-2.6.0.ebuild b/dev-ruby/mechanize/mechanize-2.6.0.ebuild
new file mode 100644
index 000000000000..8e43109c1630
--- /dev/null
+++ b/dev-ruby/mechanize/mechanize-2.6.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mechanize/mechanize-2.6.0.ebuild,v 1.1 2013/05/07 05:05:20 graaff Exp $
+
+EAPI=5
+
+# jruby → dropped since net-http-persistent does not support jruby.
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_TASK_DOC="redocs"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc EXAMPLES.rdoc GUIDE.rdoc README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby library used for automating interaction with websites."
+HOMEPAGE="http://mechanize.rubyforge.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RUBY_PATCHES=( ${P}-libxml290.patch )
+
+ruby_add_bdepend ">=dev-ruby/hoe-2.3.3"
+ruby_add_rdepend ">=dev-ruby/nokogiri-1.4.4-r1
+ >=dev-ruby/net-http-digest_auth-1.1.1
+ >=dev-ruby/net-http-persistent-2.5.2
+ >=dev-ruby/mime-types-1.17.2
+ >=dev-ruby/ntlm-http-0.1.1
+ >=dev-ruby/webrobots-0.0.9
+ >=dev-ruby/domain_name-0.5.1"
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc examples/* || die
+}