mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 18:27:07 -08:00
dev-ruby/travis: cleanup
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST travis-1.10.0.gem 197632 BLAKE2B 0639f797789d1676f71b6354ed77e3e403865cca37e5e04c62e4cfd40d44e26e8e93ea0dbf39843811cccb7960e43b186d61d64f681d2eafe95de890d9fd66a7 SHA512 025e8cdf48100ff20d85925a6285993bda0d1651e145d554c2ec987c4557e2d3bc49da6529af4c577fcd9b88600549b3c12cff49b824d7fcb93a96a0c572603c
|
||||
DIST travis-1.9.1.gem 198144 BLAKE2B f207b99bd2bc044ddfedf15a4ce5d35fffa77d8a07504f0122fc1463a441bfa33de40b9dad67490bc44a69aa2ce6e7307bda4df11491015b4c5c81d9fb2daa67 SHA512 1489a1378fcbfcd70ce48f1f7b00bbc457503eabf192bd76feaf9896c63ef6ea77c67c077c8c940b11f6c11cf9b28b752db309b060727e1dc36b1ef1b5b4b514
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
newbashcomp "assets/travis.sh" "travis"
|
||||
}
|
||||
Reference in New Issue
Block a user