diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-11-26 09:16:13 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-11-26 09:16:58 +0100 |
commit | 954d757ad6b6d71ac8901716b100fe3dd45fd6f5 (patch) | |
tree | cd6d81b25d7cc65b4b0f128daf2784d4ab15b2fa /dev-ruby | |
parent | dev-ruby/typed-array: cleanup (diff) | |
download | gentoo-954d757ad6b6d71ac8901716b100fe3dd45fd6f5.tar.gz gentoo-954d757ad6b6d71ac8901716b100fe3dd45fd6f5.tar.bz2 gentoo-954d757ad6b6d71ac8901716b100fe3dd45fd6f5.zip |
dev-ruby/travis: drop unused typhoeus dep
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/travis/travis-1.10.0-r1.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/travis/travis-1.10.0-r1.ebuild b/dev-ruby/travis/travis-1.10.0-r1.ebuild new file mode 100644 index 000000000000..4d0f2532bcc7 --- /dev/null +++ b/dev-ruby/travis/travis-1.10.0-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="assets" + +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" + +DEPEND+="test? ( dev-vcs/git )" +RDEPEND+="dev-vcs/git" + +ruby_add_bdepend " + test? ( >dev-ruby/rack-test-0.6 dev-ruby/rspec-its ) + >dev-ruby/sinatra-1.3 +" + +ruby_add_rdepend " + dev-ruby/faraday:1 + dev-ruby/faraday_middleware:1 + >=dev-ruby/gh-0.17 + dev-ruby/highline:2 + >=dev-ruby/json-2.3:2 + >=dev-ruby/launchy-2.1 + >dev-ruby/pusher-client-0.4 +" + +all_ruby_prepare() { + if use test ; then + git init --quiet . || die + git remote add origin "${HOMEPAGE}" || die + touch .travis.yml || die + fi + + # Remove failing spec where cause is not fully clear. + # May be related to highline compatibility issues. + rm spec/cli/login_spec.rb || die + + # Remove failing specs where $params keys are reset somewhere. + rm -f spec/cli/{cancel,restart}_spec.rb || die + + sed -i -e 's/json_pure/json/' ../metadata || die +} + +all_ruby_install() { + all_fakegem_install + + newbashcomp "assets/travis.sh" "travis" +} |