diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-12-25 18:58:22 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-12-25 18:58:22 +0000 |
commit | b680fbd78ae814717d6e97abc8aa774139de5851 (patch) | |
tree | b4e65732ec34360096870f7059cf79e8888f7ee3 /dev-ruby/faraday | |
parent | "Initial" commit, readding after Qt4 port (diff) | |
download | gentoo-2-b680fbd78ae814717d6e97abc8aa774139de5851.tar.gz gentoo-2-b680fbd78ae814717d6e97abc8aa774139de5851.tar.bz2 gentoo-2-b680fbd78ae814717d6e97abc8aa774139de5851.zip |
Version bump. Also fixes bug 496016.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/faraday')
-rw-r--r-- | dev-ruby/faraday/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/faraday/faraday-0.8.8.ebuild | 51 |
2 files changed, 58 insertions, 2 deletions
diff --git a/dev-ruby/faraday/ChangeLog b/dev-ruby/faraday/ChangeLog index e915017dc81d..215899340b26 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.16 2012/08/05 13:11:26 graaff Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/faraday/ChangeLog,v 1.17 2013/12/25 18:58:22 graaff Exp $ + +*faraday-0.8.8 (25 Dec 2013) + + 25 Dec 2013; Hans de Graaff <graaff@gentoo.org> +faraday-0.8.8.ebuild: + Version bump. Also fixes bug 496016. 05 Aug 2012; Hans de Graaff <graaff@gentoo.org> -faraday-0.4.6.ebuild, -faraday-0.7.4.ebuild, -faraday-0.7.5.ebuild, -faraday-0.8.0.ebuild: diff --git a/dev-ruby/faraday/faraday-0.8.8.ebuild b/dev-ruby/faraday/faraday-0.8.8.ebuild new file mode 100644 index 000000000000..c010c80d2d8a --- /dev/null +++ b/dev-ruby/faraday/faraday-0.8.8.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/faraday/faraday-0.8.8.ebuild,v 1.1 2013/12/25 18:58:22 graaff Exp $ + +EAPI=5 + +USE_RUBY="ruby18 ruby19" + +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/lostisland/faraday" +SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/multipart-post-1.2.0" +USE_RUBY="ruby18" ruby_add_rdepend "dev-ruby/system_timer" +ruby_add_bdepend "test? ( + >=dev-ruby/test-unit-2.4 + dev-ruby/sinatra + dev-ruby/net-http-persistent + dev-ruby/patron + )" + +all_ruby_prepare() { + # Remove bundler support. + rm Gemfile || die + sed -i -e '/[Bb]undler/d' test/helper.rb || die + + # Remove tests for adapters that are not packaged for Gentoo. + rm test/adapters/em_http_test.rb test/adapters/em_synchrony_test.rb test/adapters/excon_test.rb test/adapters/typhoeus_test.rb || die +} + +each_ruby_test() { + each_fakegem_test + + # Sleep some time to allow the sinatra test server to die + einfo "Waiting for test server to stop" + sleep 10 +} |