commit:     ae364fa7992f930352637c99501d37d4261e884a
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 24 23:30:55 2016 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Feb 29 20:21:17 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae364fa7

dev-ruby/travis: install bash-comp as well

Package-Manager: portage-2.2.26

 dev-ruby/travis/{travis-1.8.2.ebuild => travis-1.8.2-r1.ebuild} | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/travis/travis-1.8.2.ebuild 
b/dev-ruby/travis/travis-1.8.2-r1.ebuild
similarity index 84%
rename from dev-ruby/travis/travis-1.8.2.ebuild
rename to dev-ruby/travis/travis-1.8.2-r1.ebuild
index c786ee4..6b1eb28 100644
--- a/dev-ruby/travis/travis-1.8.2.ebuild
+++ b/dev-ruby/travis/travis-1.8.2-r1.ebuild
@@ -7,7 +7,7 @@ USE_RUBY="ruby20 ruby21"
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_RECIPE_TEST="rspec"
 
-inherit ruby-fakegem
+inherit bash-completion-r1 ruby-fakegem
 
 DESCRIPTION="Travis CI Client (CLI and Ruby library) "
 HOMEPAGE="https://github.com/travis-ci/travis.rb";
@@ -33,3 +33,9 @@ ruby_add_rdepend "
        >dev-ruby/pusher-client-0.4
        >=dev-ruby/typhoeus-0.6.8
 "
+
+all_ruby_install() {
+       all_fakegem_install
+
+       newbashcomp "assets/travis.sh" "travis"
+}

Reply via email to