public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/betagarden:master commit in: dev-vcs/hub/
Date: Tue, 18 Nov 2014 15:07:14 +0000 (UTC)	[thread overview]
Message-ID: <1416294332.be7599ebca00e6a4c3ad611ef63166ca18978248.jlec@gentoo> (raw)

commit:     be7599ebca00e6a4c3ad611ef63166ca18978248
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  7 07:04:41 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Nov 18 07:05:32 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=be7599eb

dev-vcs/hub: Install additional files

Package-Manager: portage-2.2.14_rc1

---
 dev-vcs/hub/ChangeLog       |  5 ++++-
 dev-vcs/hub/hub-9999.ebuild | 33 ++++++++++++++++++++++++++++-----
 2 files changed, 32 insertions(+), 6 deletions(-)

diff --git a/dev-vcs/hub/ChangeLog b/dev-vcs/hub/ChangeLog
index 2914a87..3b5f320 100644
--- a/dev-vcs/hub/ChangeLog
+++ b/dev-vcs/hub/ChangeLog
@@ -1,7 +1,10 @@
 # ChangeLog for dev-vcs/hub
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/hub/ChangeLog,v 1.3 2013/05/31 23:14:44 ottxor Exp $
 
+  07 Oct 2014; Justin Lecher <jlec@gentoo.org> hub-9999.ebuild:
+  Install additional files
+
   25 Dec 2013; Justin Lecher <jlec@gentoo.org> hub-9999.ebuild:
   Update to current HEAD
 

diff --git a/dev-vcs/hub/hub-9999.ebuild b/dev-vcs/hub/hub-9999.ebuild
index f9d8a75..c0c8614 100644
--- a/dev-vcs/hub/hub-9999.ebuild
+++ b/dev-vcs/hub/hub-9999.ebuild
@@ -1,16 +1,21 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/hub/hub-1.10.6.ebuild,v 1.1 2013/05/31 23:14:44 ottxor Exp $
 
 EAPI="5"
 
-USE_RUBY="ruby18 ruby19"
+USE_RUBY="ruby19"
 RUBY_FAKEGEM_TASK_DOC=
 RUBY_FAKEGEM_EXTRADOC="README.md"
 
-inherit git-r3 readme.gentoo ruby-fakegem
+inherit bash-completion-r1 git-r3 readme.gentoo ruby-fakegem
 
-ruby_add_bdepend "test? ( dev-ruby/webmock dev-util/cucumber )"
+ruby_add_bdepend "
+	test? (
+		dev-ruby/webmock
+		dev-util/cucumber
+		virtual/ruby-minitest
+	)"
 
 DESCRIPTION="command-line wrapper for git that makes you better at GitHub"
 HOMEPAGE="http://defunkt.io/hub/"
@@ -20,7 +25,7 @@ EGIT_REPO_URI="https://github.com/github/hub.git"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS=""
-RDEPEND=">=dev-vcs/git-1.7.3"
+RDEPEND="dev-vcs/git"
 
 DOC_CONTENTS="You may want to add 'alias git=hub' to your .{csh,bash}rc"
 
@@ -31,7 +36,25 @@ src_unpack() {
 	git-r3_src_unpack
 }
 
+all_ruby_prepare() {
+	sed -i -e 's/Minitest/MiniTest/g' test/*.rb || die
+}
+
 src_install() {
 	ruby-ng_src_install
 	readme.gentoo_create_doc
+
+	cd "${S}"/all/${P} || die
+
+	doman man/${PN}.1
+
+	insinto /usr/share/${PN}/
+	doins -r git-hooks
+
+	# Broken with autoloader
+	# https://github.com/github/hub/issues/592
+	#newbashcomp etc/hub.bash_completion.sh ${PN}
+
+	insinto /usr/share/zsh/site-functions
+	newins etc/hub.zsh_completion ${PN}
 }


             reply	other threads:[~2014-11-18 15:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 15:07 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-02-11  8:33 [gentoo-commits] proj/betagarden:master commit in: dev-vcs/hub/ Justin Lecher
2016-02-11  8:33 Justin Lecher
2014-12-21 13:26 Justin Lecher
2014-11-22 15:01 Justin Lecher
2014-11-19  8:15 Justin Lecher
2013-12-25 15:45 Justin Lecher
2013-12-07 18:01 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1416294332.be7599ebca00e6a4c3ad611ef63166ca18978248.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox