commit: d8d68c7150a6a03b3951b0768e8b792d434b2a41 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sat Jun 11 05:44:38 2022 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat Jun 11 05:44:38 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8d68c71
dev-ruby/travis: add 1.11.1 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/travis/Manifest | 1 + dev-ruby/travis/travis-1.11.1.ebuild | 56 ++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-ruby/travis/Manifest b/dev-ruby/travis/Manifest index 212a737ee37f..4365b5553a51 100644 --- a/dev-ruby/travis/Manifest +++ b/dev-ruby/travis/Manifest @@ -1,2 +1,3 @@ DIST travis-1.10.0.gem 197632 BLAKE2B 0639f797789d1676f71b6354ed77e3e403865cca37e5e04c62e4cfd40d44e26e8e93ea0dbf39843811cccb7960e43b186d61d64f681d2eafe95de890d9fd66a7 SHA512 025e8cdf48100ff20d85925a6285993bda0d1651e145d554c2ec987c4557e2d3bc49da6529af4c577fcd9b88600549b3c12cff49b824d7fcb93a96a0c572603c DIST travis-1.11.0.gem 196096 BLAKE2B 2ea09d88fd45d6fd304746a96cc063c0525c8af8df6be2a0ba5c7ad06909055af23ea506f89f246f657c5a8920c429dd3aebc639f78cd1d0acb5bb03e4894434 SHA512 b6db17b149a54f7ab3c5b79439b1385386bbfe0350816d303e7c74c0494be08451fdb14550cba7fb54df3a643a530f1434bb1ee0c3e28c492ac6e8f3baf3d558 +DIST travis-1.11.1.gem 196096 BLAKE2B 22adbde1fb3407e5fdfd088552dd156e7162911266b363b017a5a32213e19d990b725884e5e268e2f30d22591c93d189a835b5f1fec17dd3610eb354d6008511 SHA512 7f639deba8edb34f1d03e1917901f6289f52e3e838315c74b416006fa478ad1f19a1b4511876feb0ab22c06ab203a525490463612292728c12fc9d5894a37ad4 diff --git a/dev-ruby/travis/travis-1.11.1.ebuild b/dev-ruby/travis/travis-1.11.1.ebuild new file mode 100644 index 000000000000..11c5fa18fe0b --- /dev/null +++ b/dev-ruby/travis/travis-1.11.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 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 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" +}