summaryrefslogtreecommitdiff
blob: 516566aba0fe98dfbd024339b25f2a07cec85acd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hub/hub-1.10.4.ebuild,v 1.2 2013/01/11 22:35:01 ottxor Exp $

EAPI="5"

USE_RUBY="ruby18 ruby19"
RUBY_FAKEGEM_TASK_DOC=
RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md"
RUBY_S="*-${PN}-*"

inherit ruby-fakegem

ruby_add_bdepend "test? ( dev-ruby/webmock dev-util/cucumber )"

DESCRIPTION="command-line wrapper for git that makes you better at GitHub"
HOMEPAGE="http://defunkt.io/hub/"
SRC_URI="mirror://github/defunkt/${PN}/tarball/v${PV} -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=">=dev-vcs/git-1.7.3"

pkg_postinst() {
	einfo "You may want to add 'alias git=hub' to your .bashrc"
}