diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-07-05 23:46:08 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-07-05 23:46:08 +0000 |
commit | f5c3b5983e5906c17f9950a353917076e6ea5e33 (patch) | |
tree | f020c373687830a6af94233b1796038500c505c9 /dev-ruby/faraday | |
parent | Version bump. (diff) | |
download | historical-f5c3b5983e5906c17f9950a353917076e6ea5e33.tar.gz historical-f5c3b5983e5906c17f9950a353917076e6ea5e33.tar.bz2 historical-f5c3b5983e5906c17f9950a353917076e6ea5e33.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/faraday')
-rw-r--r-- | dev-ruby/faraday/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/faraday/faraday-0.8.1.ebuild | 48 |
2 files changed, 54 insertions, 2 deletions
diff --git a/dev-ruby/faraday/ChangeLog b/dev-ruby/faraday/ChangeLog index 18b601c4b349..658dae6da3e6 100644 --- a/dev-ruby/faraday/ChangeLog +++ b/dev-ruby/faraday/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/faraday # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/faraday/ChangeLog,v 1.14 2012/05/17 10:48:42 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/faraday/ChangeLog,v 1.15 2012/07/05 23:43:13 flameeyes Exp $ + +*faraday-0.8.1 (05 Jul 2012) + + 05 Jul 2012; Diego E. Pettenò <flameeyes@gentoo.org> +faraday-0.8.1.ebuild: + Version bump. 17 May 2012; Thomas Kahle <tomka@gentoo.org> faraday-0.8.0.ebuild: marked ~x86 per bug 396547 @@ -68,4 +73,3 @@ +faraday-0.4.3.ebuild, +files/faraday-0.4.3-gentoo.patch, +metadata.xml: Initial import of the faraday library. Patch sent upstream for 0.4.4 release. - diff --git a/dev-ruby/faraday/faraday-0.8.1.ebuild b/dev-ruby/faraday/faraday-0.8.1.ebuild new file mode 100644 index 000000000000..7e311b3eac9c --- /dev/null +++ b/dev-ruby/faraday/faraday-0.8.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/faraday/faraday-0.8.1.ebuild,v 1.1 2012/07/05 23:43:13 flameeyes Exp $ + +EAPI=4 + +USE_RUBY="ruby18 ruby19 ree18" + +RUBY_FAKEGEM_TASK_TEST="test" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem eutils + +DESCRIPTION="HTTP/REST API client library with pluggable components" +HOMEPAGE="http://github.com/technoweenie/faraday" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/multipart-post-1.1.3" +USE_RUBY="ruby18 ree18" ruby_add_rdepend "dev-ruby/system_timer" +ruby_add_bdepend "test? ( + >=dev-ruby/test-unit-2.4 + >=dev-ruby/webmock-1.7 + dev-ruby/sinatra + )" + +all_ruby_prepare() { + # Remove bundler support. + rm Gemfile || die + sed -i -e '/[Bb]undler/d' test/helper.rb config.ru || die +} + +each_ruby_prepare() { + case "${RUBY}" in + */ruby18|*/ree18) + # add a dependency on system_timer for Ruby 1.8 as upstream suggests for + # proper timeouts + sed -i -e '/^end/i s.add_dependency "system_timer"' ${RUBY_FAKEGEM_GEMSPEC} || die + ;; + esac +} |