summaryrefslogtreecommitdiff
blob: 910a7b01844768d66b15a6a17e3b123896d921e9 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

USE_RUBY="ruby18 ruby19"

RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md"

inherit ruby-fakegem

DESCRIPTION="Wrapper for git that makes working with GitHub easier"
HOMEPAGE="http://defunkt.io/hub"
SRC_URI="https://github.com/defunkt/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND=">=dev-vcs/git-1.7.3"
RDEPEND="${DEPEND}"

ruby_add_bdepend "test? (
	dev-ruby/test-unit:2
	dev-ruby/webmock
	)"

# There are optional cucumber tests that require
#	dev-ruby/json
#	dev-ruby/sinatra
#	dev-util/aruba
# but lots of them fails. Disabled for now.
# use RUBY_FAKEGEM_TASK_TEST="test features" to enable them

all_ruby_install() {
	all_fakegem_install

	doman man/${PN}.1
}