summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-10-31 07:34:28 +0100
committerHans de Graaff <graaff@gentoo.org>2020-10-31 08:59:21 +0100
commit6ffec70077036104ec0e2021704515b7f4b2337f (patch)
tree82ef371b24634cc4de17889ceeb6b4983273084c /dev-ruby/travis
parentdev-ruby/zeitwerk: add 2.4.1 (diff)
downloadgentoo-6ffec70077036104ec0e2021704515b7f4b2337f.tar.gz
gentoo-6ffec70077036104ec0e2021704515b7f4b2337f.tar.bz2
gentoo-6ffec70077036104ec0e2021704515b7f4b2337f.zip
dev-ruby/travis: add 1.10.0
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/travis')
-rw-r--r--dev-ruby/travis/Manifest1
-rw-r--r--dev-ruby/travis/travis-1.10.0.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-ruby/travis/Manifest b/dev-ruby/travis/Manifest
index 4722f226abea..19413f1f7d33 100644
--- a/dev-ruby/travis/Manifest
+++ b/dev-ruby/travis/Manifest
@@ -1 +1,2 @@
+DIST travis-1.10.0.gem 197632 BLAKE2B 0639f797789d1676f71b6354ed77e3e403865cca37e5e04c62e4cfd40d44e26e8e93ea0dbf39843811cccb7960e43b186d61d64f681d2eafe95de890d9fd66a7 SHA512 025e8cdf48100ff20d85925a6285993bda0d1651e145d554c2ec987c4557e2d3bc49da6529af4c577fcd9b88600549b3c12cff49b824d7fcb93a96a0c572603c
DIST travis-1.9.1.gem 198144 BLAKE2B f207b99bd2bc044ddfedf15a4ce5d35fffa77d8a07504f0122fc1463a441bfa33de40b9dad67490bc44a69aa2ce6e7307bda4df11491015b4c5c81d9fb2daa67 SHA512 1489a1378fcbfcd70ce48f1f7b00bbc457503eabf192bd76feaf9896c63ef6ea77c67c077c8c940b11f6c11cf9b28b752db309b060727e1dc36b1ef1b5b4b514
diff --git a/dev-ruby/travis/travis-1.10.0.ebuild b/dev-ruby/travis/travis-1.10.0.ebuild
new file mode 100644
index 000000000000..754de9bbe9ec
--- /dev/null
+++ b/dev-ruby/travis/travis-1.10.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 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
+ dev-ruby/typhoeus:0
+"
+
+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"
+}