Version bump.
authorHans de Graaff <graaff@gentoo.org>
Mon, 17 Oct 2011 06:35:21 +0000 (06:35 +0000)
committerHans de Graaff <graaff@gentoo.org>
Mon, 17 Oct 2011 06:35:21 +0000 (06:35 +0000)
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64

dev-ruby/httpclient/ChangeLog
dev-ruby/httpclient/Manifest
dev-ruby/httpclient/httpclient-2.2.2.ebuild [new file with mode: 0644]

index ad82ff0d93cfeb30d9de25d0e1a551b339ac32bb..4132e8fb59964915015219595ea2599305d94feb 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-ruby/httpclient
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/ChangeLog,v 1.27 2011/08/07 17:57:09 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/ChangeLog,v 1.28 2011/10/17 06:35:21 graaff Exp $
+
+*httpclient-2.2.2 (17 Oct 2011)
+
+  17 Oct 2011; Hans de Graaff <graaff@gentoo.org> +httpclient-2.2.2.ebuild:
+  Version bump.
 
   07 Aug 2011; Raúl Porcel <armin76@gentoo.org> httpclient-2.1.5.2-r1.ebuild,
   httpclient-2.1.6.1.ebuild, httpclient-2.2.1.ebuild:
index dd7ef90c6f836be30fd200351559717445b3244c..ed72f8dc54419b06f2699f212bc61a7c80b13f12 100644 (file)
@@ -1,18 +1,20 @@
 -----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
 
 DIST httpclient-2.1.5.2.tar.gz 222819 RMD160 0fdc37bb6dbf518f864f295c3cbf277d5c8852f3 SHA1 754d3063e93279dfa2240064634af92e59e653a1 SHA256 48cae202b8cd00862b16aafb36023481cce63698de9d8e041c696f7e5ba8e601
 DIST httpclient-2.1.6.1.tar.gz 253500 RMD160 bd66389b6c0c5dbf51129a8e3986640dc7c3854c SHA1 f420e20b7c6ac10e8eabce0d9bcf436e8e588da8 SHA256 b79b6dc73ce859dffae96fe138d9163e1c801ffa7604f0afe2c5dcc321edb6d7
 DIST httpclient-2.2.1.tgz 256894 RMD160 285bb6991d9b3ab995e948d472237ec2a9ce8dcb SHA1 7086bc6b2589dc83226f6632e1d2f4c7df90c92b SHA256 b3861f355030439b07aaaf8c3ea1c58802e3bdf9c048f6a50b9d16ad8c8f60ae
+DIST httpclient-2.2.2.tgz 271508 RMD160 1b68f1fa9608f3c86593edd2bd60df146d6650de SHA1 67f9614338cb6b113be604465c5cd5f7a8764c13 SHA256 0c73fcf16a51785a4ff945b06fd698fcaf9b4dc58f486d18560c575209374e07
 EBUILD httpclient-2.1.5.2-r1.ebuild 903 RMD160 f26a8d793f899f9ac8e16789abb377171f8fc805 SHA1 28ceb7c8fb31e32f479c6f7fcc67ae2c8aa5d0bc SHA256 7e678fe5bca21376f4033af63f549561234c64f8da512e603d9eb8764e7ad5d0
 EBUILD httpclient-2.1.6.1.ebuild 1103 RMD160 01878c220317926e0082e78a73aa494ce42c8ef0 SHA1 169f3c6b808c4dd31a609460bd6b2dc1239da4b4 SHA256 b8a5f4b178bad4822ed608559aab46b3dc580bd14eae8c2f04ff33a3b1497b1b
 EBUILD httpclient-2.2.1.ebuild 1257 RMD160 a1d1a267d952d982566cffbe8d9e83951ba1a5c9 SHA1 2b8b54ca2ac121fba868258cfab268c39a62fe76 SHA256 5b5e4c80e557ba3f94346fa7b9103856a7081f9c0f9fb322369c30d7c1d1bfd4
-MISC ChangeLog 3860 RMD160 6c2ce6f2949bf37616ab51b3aa8b866b287cc16a SHA1 7f8ad8e77a9710a307842205eb7d34b4ce85a240 SHA256 19d1cd6a7bd7b4ab941c98707a9fb4d05f7b7c28fce03eba603c22ccb0f65412
+EBUILD httpclient-2.2.2.ebuild 1429 RMD160 6865adcdc6ff0173d087b7be968b14c367f2c3c7 SHA1 acef36251c0be5d41f1311fcc584f30d2f4919d1 SHA256 8e9d19adb674d2c7db9862e26036c86fe4043b7b3630c7ea3e83964d1cb6a364
+MISC ChangeLog 3985 RMD160 e76b23de9f94be4fb9b13f8beb93914d264453c6 SHA1 76b3656a1bba20bd4788fad21e8315731c58bb23 SHA256 9ae0b465abb7537ee8c5d99ea1d217e326f02a645f5947482ba1b4788bad7879
 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEUEARECAAYFAk4+0fwACgkQuQc30/atMkAtBQCfQ3AAC1ulUeqgH9pDH68NkM8d
-5uwAmLf4xXECBDrIgALV9SK0FCKWmF4=
-=8AZh
+iF4EAREIAAYFAk6bzLUACgkQiIP6VqMIqNcvZwD/Wo2OVtV4xYZQx5ETKfoFEBhh
+gTByPDgMAtPHUQ3Pp04A/1fACxHJyG0I8FhG6Xz7TY5sPvdcGglF6pLWOqANZr4x
+=nCGt
 -----END PGP SIGNATURE-----
diff --git a/dev-ruby/httpclient/httpclient-2.2.2.ebuild b/dev-ruby/httpclient/httpclient-2.2.2.ebuild
new file mode 100644 (file)
index 0000000..99cf828
--- /dev/null
@@ -0,0 +1,54 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/httpclient-2.2.2.ebuild,v 1.1 2011/10/17 06:35:21 graaff Exp $
+
+EAPI=4
+
+USE_RUBY="ruby18 ree18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_TEST="-Ilib test"
+RUBY_FAKEGEM_TASK_DOC="doc"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+
+RUBY_FAKEGEM_EXTRADOC="README.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby"
+HOMEPAGE="https://github.com/nahi/httpclient"
+SRC_URI="https://github.com/nahi/httpclient/tarball/v${PV} -> ${P}.tgz"
+RUBY_S="nahi-httpclient-*"
+
+LICENSE="Ruby"
+SLOT="0"
+
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="${RDEPEND}
+       !dev-ruby/http-access2"
+
+ruby_add_rdepend "virtual/ruby-ssl"
+
+ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
+
+all_ruby_prepare () {
+       rm Gemfile || die
+       sed -i -e '/[bB]undler/s:^:#:' Rakefile || die
+}
+
+each_ruby_prepare() {
+       # Don't run two tests that are known to fail with jruby. This is a
+       # bug in jruby that won't be fixed until jruby 1.7.
+       # https://github.com/nahi/httpclient/issues/61
+       case ${RUBY} in
+               *jruby)
+                       sed -i -e '/test_get_gzipped_content/,/end/s:^:#:' \
+                               -e '/test_socket_local/,/^  end/s:^:#:' \
+                               test/test_httpclient.rb
+                       ;;
+               *)
+                       ;;
+       esac
+}