Remove old version, drop non-ruby18 support from stable candidate -r1 and add -r2...
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Sat, 22 May 2010 20:08:27 +0000 (20:08 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Sat, 22 May 2010 20:08:27 +0000 (20:08 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64

dev-ruby/httpclient/ChangeLog
dev-ruby/httpclient/httpclient-2.1.5.2-r1.ebuild
dev-ruby/httpclient/httpclient-2.1.5.2-r2.ebuild [new file with mode: 0644]
dev-ruby/httpclient/httpclient-2.1.5.2.ebuild [deleted file]

index 900ecb6c0843c3585b72d6bbbbd640ba6fc3dc3f..3a3b24198464483bfe6a1300f773d8f940390e2a 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for dev-ruby/httpclient
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/ChangeLog,v 1.11 2010/05/22 15:19:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/ChangeLog,v 1.12 2010/05/22 20:08:27 flameeyes Exp $
+
+*httpclient-2.1.5.2-r2 (22 May 2010)
+
+  22 May 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+  -httpclient-2.1.5.2.ebuild, httpclient-2.1.5.2-r1.ebuild,
+  +httpclient-2.1.5.2-r2.ebuild:
+  Remove old version, drop non-ruby18 support from stable candidate -r1 and
+  add -r2 with all of them.
 
   22 May 2010; Diego E. Pettenò <flameeyes@gentoo.org>
   httpclient-2.1.5.2-r1.ebuild:
index 30fe5e2855858818a99c42596d65783e7ed13d25..ce17ba86f38a5273734440df861fcef3a08a769d 100644 (file)
@@ -1,10 +1,10 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/httpclient-2.1.5.2-r1.ebuild,v 1.2 2010/05/22 15:19:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/httpclient-2.1.5.2-r1.ebuild,v 1.3 2010/05/22 20:08:27 flameeyes Exp $
 
 EAPI=2
 
-USE_RUBY="ruby18 ruby19 jruby"
+USE_RUBY="ruby18"
 
 RUBY_FAKEGEM_TASK_TEST="-Ilib test"
 RUBY_FAKEGEM_TASK_DOC="-Ilib doc"
@@ -25,12 +25,9 @@ SLOT="0"
 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
 IUSE=""
 
-RDEPEND="!dev-ruby/http-access2"
+RDEPEND="${RDEPEND}
+       !dev-ruby/http-access2"
 
 # tests are known to fail, but at least they fail for all
 # implementations in the same way.
 ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
-
-# JRuby-specific dependency
-USE_RUBY="jruby" \
-       ruby_add_rdepend ruby_targets_jruby dev-ruby/jruby-openssl
diff --git a/dev-ruby/httpclient/httpclient-2.1.5.2-r2.ebuild b/dev-ruby/httpclient/httpclient-2.1.5.2-r2.ebuild
new file mode 100644 (file)
index 0000000..71504b1
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/httpclient-2.1.5.2-r2.ebuild,v 1.1 2010/05/22 20:08:27 flameeyes Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_TEST="-Ilib test"
+RUBY_FAKEGEM_TASK_DOC="-Ilib 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="http://dev.ctor.org/http-access2/"
+SRC_URI="http://dev.ctor.org/download/${P}.tar.gz"
+
+LICENSE="Ruby"
+SLOT="0"
+
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="${RDEPEND}
+       !dev-ruby/http-access2"
+
+# tests are known to fail, but at least they fail for all
+# implementations in the same way.
+ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
+
+# JRuby-specific dependency
+USE_RUBY="jruby" ruby_add_rdepend dev-ruby/jruby-openssl
diff --git a/dev-ruby/httpclient/httpclient-2.1.5.2.ebuild b/dev-ruby/httpclient/httpclient-2.1.5.2.ebuild
deleted file mode 100644 (file)
index 9f6867a..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/httpclient-2.1.5.2.ebuild,v 1.1 2009/08/23 07:47:49 graaff Exp $
-
-inherit ruby
-
-DESCRIPTION="'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby"
-HOMEPAGE="http://dev.ctor.org/http-access2/"
-SRC_URI="http://dev.ctor.org/download/${P}.tar.gz"
-LICENSE="Ruby"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
-IUSE=""
-USE_RUBY="1.8"
-
-S="${WORKDIR}/${P}"
-
-RDEPEND="!dev-ruby/http-access2"
-
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-       sed -i -e "s%^SITELIBDIR = %SITELIBDIR = \"${D}\" + %" install.rb
-}
-
-src_compile() { :; }
-
-src_install() {
-       my_sitedir=$(ruby -rrbconfig -e 'print Config::CONFIG["sitedir"]')
-       mkdir -p "${D}/${my_sitedir}/1.8"
-       ruby install.rb
-       erubydoc
-}