From effd69d76799e129ca0c3b4cc6b4601ae366caa2 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Mon, 6 Jun 2016 17:53:54 -0600 Subject: dev-ruby/travis: fix deps Fix #1648 gh Gentoo-bug: 578458 Package-Manager: portage-2.2.28 --- dev-ruby/travis/travis-1.8.2-r1.ebuild | 41 ----------------------------- dev-ruby/travis/travis-1.8.2-r2.ebuild | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 41 deletions(-) delete mode 100644 dev-ruby/travis/travis-1.8.2-r1.ebuild create mode 100644 dev-ruby/travis/travis-1.8.2-r2.ebuild (limited to 'dev-ruby/travis') diff --git a/dev-ruby/travis/travis-1.8.2-r1.ebuild b/dev-ruby/travis/travis-1.8.2-r1.ebuild deleted file mode 100644 index 6b1eb288cde3..000000000000 --- a/dev-ruby/travis/travis-1.8.2-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -USE_RUBY="ruby20 ruby21" -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_RECIPE_TEST="rspec" - -inherit bash-completion-r1 ruby-fakegem - -DESCRIPTION="Travis CI Client (CLI and Ruby library) " -HOMEPAGE="https://github.com/travis-ci/travis.rb" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" -RESTRICT="test" - -ruby_add_bdepend " - test? ( >dev-ruby/rack-test-0.6 ) - >dev-ruby/sinatra-1.3 -" - -ruby_add_rdepend " - dev-ruby/backports - >dev-ruby/faraday-0.9 - >=dev-ruby/faraday_middleware-0.9.1 - >dev-ruby/gh-0.13 - >dev-ruby/highline-1.6 - >dev-ruby/launchy-2.1 - >dev-ruby/pusher-client-0.4 - >=dev-ruby/typhoeus-0.6.8 -" - -all_ruby_install() { - all_fakegem_install - - newbashcomp "assets/travis.sh" "travis" -} diff --git a/dev-ruby/travis/travis-1.8.2-r2.ebuild b/dev-ruby/travis/travis-1.8.2-r2.ebuild new file mode 100644 index 000000000000..939013e37a31 --- /dev/null +++ b/dev-ruby/travis/travis-1.8.2-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_GEMSPEC="travis.gemspec" + +inherit bash-completion-r1 ruby-fakegem + +DESCRIPTION="Travis CI Client (CLI and Ruby library) " +HOMEPAGE="https://github.com/travis-ci/travis.rb" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +RESTRICT="test" + +ruby_add_bdepend " + test? ( >dev-ruby/rack-test-0.6 ) + >dev-ruby/sinatra-1.3 +" + +ruby_add_rdepend " + dev-ruby/backports + >dev-ruby/faraday-0.9 + >=dev-ruby/faraday_middleware-0.9.1 + >dev-ruby/gh-0.13 + >dev-ruby/highline-1.6 + >dev-ruby/launchy-2.1 + >dev-ruby/pusher-client-0.4 + >=dev-ruby/typhoeus-0.6.8 +" + +all_ruby_prepare() { + sed -i -e '/typhoeus/s/~> 0.6/>= 0.6/' travis.gemspec || die +} + +all_ruby_install() { + all_fakegem_install + + newbashcomp "assets/travis.sh" "travis" +} -- cgit v1.2.3-65-gdbad