diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-01-18 17:02:07 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-01-18 17:02:07 +0000 |
commit | d66b59c77f9e0b56c59c663e4db52f0caa11160b (patch) | |
tree | cba1c87ddccc583b26b15754becdc4d646e9392a /dev-ruby | |
parent | Fix dependencies. (diff) | |
download | historical-d66b59c77f9e0b56c59c663e4db52f0caa11160b.tar.gz historical-d66b59c77f9e0b56c59c663e4db52f0caa11160b.tar.bz2 historical-d66b59c77f9e0b56c59c663e4db52f0caa11160b.zip |
Bump to ruby-fakegem, disable three tests (and reported upstream) because they lack the files to use.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/mechanize/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/mechanize/Manifest | 11 | ||||
-rw-r--r-- | dev-ruby/mechanize/mechanize-0.9.3-r1.ebuild | 44 |
3 files changed, 58 insertions, 6 deletions
diff --git a/dev-ruby/mechanize/ChangeLog b/dev-ruby/mechanize/ChangeLog index 6097a413d154..ddf4a2f0ed1c 100644 --- a/dev-ruby/mechanize/ChangeLog +++ b/dev-ruby/mechanize/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/mechanize # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mechanize/ChangeLog,v 1.22 2010/01/04 11:32:25 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mechanize/ChangeLog,v 1.23 2010/01/18 17:02:07 flameeyes Exp $ + +*mechanize-0.9.3-r1 (18 Jan 2010) + + 18 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org> + +mechanize-0.9.3-r1.ebuild: + Bump to ruby-fakegem, disable three tests (and reported upstream) because + they lack the files to use. 04 Jan 2010; Christian Faulhammer <fauli@gentoo.org> mechanize-0.9.3.ebuild: diff --git a/dev-ruby/mechanize/Manifest b/dev-ruby/mechanize/Manifest index 99b0f29c2384..d317dc59e9a5 100644 --- a/dev-ruby/mechanize/Manifest +++ b/dev-ruby/mechanize/Manifest @@ -2,13 +2,14 @@ Hash: SHA1 DIST mechanize-0.9.3.gem 83456 RMD160 25639b0f7ccc3a015e97a7b47c55a777b5cc7631 SHA1 1c03c5a573b7bac5b36c2eb2716c8fa6188fdfcb SHA256 914fffbe1155fcab4df62f8c6de16568d47b9ab76902c5324fa11173690fa04a +EBUILD mechanize-0.9.3-r1.ebuild 1393 RMD160 dddb9f88f520ea75fb32d68e3fdd2dd22ee6a257 SHA1 f1978bd38669f2d6381aaf879e8b8995c9c8be6e SHA256 64baa823a99b99cf6032897dba2adb9f86d636125c915cc986cd0e9d8c79bf04 EBUILD mechanize-0.9.3.ebuild 633 RMD160 e429603e1cfa201f6ddab2a67290a5189b0b42b6 SHA1 bcb6427bd1b263e0fe5bab2a54ffa1a015bcc95f SHA256 d6674575135c235c38196edb731856287fabeaa98ff344a4edc36254d0ac6463 -MISC ChangeLog 3294 RMD160 d3dd0a2e41bc375ef472664be76579d14481cd07 SHA1 2fc4741eeebe4377e154e79591e26999cbaa8ad7 SHA256 a374b350127a76c2c24dbcf4f83b3b27608d0c9c6f30b49dd56342ac193e800b +MISC ChangeLog 3526 RMD160 a7dfefd00616a62afeae177b85b902244e4a729b SHA1 03f56f1a8b8b4088225b37e207062f07992cfb64 SHA256 6fe0a0cbe49c1ec2c9ec54b70f625674af7c6d113f492e92628482c30aef6b1c MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) +Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAktB0c8ACgkQNQqtfCuFneOYZQCeM8vTHemMXez30pIRQ1/UKmPJ -h4wAn1L63XhUKfoAllr9lB/07L6BnDud -=b6jW +iEYEARECAAYFAktUk8YACgkQAiZjviIA2XgMAgCg5b6xmtKKcM+XuXwMvrdKv4iD +QxwAn2u1Sc5pf1hk6wvHL/3xolhqaLJc +=xM8u -----END PGP SIGNATURE----- diff --git a/dev-ruby/mechanize/mechanize-0.9.3-r1.ebuild b/dev-ruby/mechanize/mechanize-0.9.3-r1.ebuild new file mode 100644 index 000000000000..080e4320d48f --- /dev/null +++ b/dev-ruby/mechanize/mechanize-0.9.3-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mechanize/mechanize-0.9.3-r1.ebuild,v 1.1 2010/01/18 17:02:07 flameeyes Exp $ + +EAPI=2 + +USE_RUBY="ruby18 ruby19 jruby" + +RUBY_FAKEGEM_TASK_DOC="redocs" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc EXAMPLES.rdoc FAQ.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 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.2.1" + +all_ruby_prepare() { + # three tests will fail because the needed datafiles are missing + # in the gems, and we cannot use a github tarball because this + # version is not tagged: + # http://github.com/tenderlove/mechanize/issues#issue/24 + # http://github.com/tenderlove/mechanize/issues#issue/23 + sed -i \ + -e '/^ def test_encoding_override_after_parser_was_initialized/, /^ end/ s:^:#:' \ + -e '/^ def test_encoding_override_before_parser_initialized/, /^ end/ s:^:#:' \ + -e '/^ def test_page_gets_charset_from_page/, /^ end/ s:^:#:' \ + test/test_page.rb || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* || die +} |