summaryrefslogtreecommitdiff
blob: be1da6bedbbdef3bb4c034756075e60d940e2576 (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
43
44
45
46
47
48
49
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/rudy/rudy-0.9.8.016-r1.ebuild,v 1.1 2013/11/30 08:16:49 graaff Exp $

EAPI=5

USE_RUBY="ruby18 ruby19"

RESTRICT=test
RUBY_FAKEGEM_TASK_TEST=""

RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc examples/authorize.rb examples/gem-test.rb
	examples/solaris.rb examples/windows.rb"

RUBY_FAKEGEM_EXTRAINSTALL="Rudyfile"

inherit ruby-fakegem eutils versionator

DESCRIPTION="Not your grandparents' EC2 deployment tool"
HOMEPAGE="http://solutious.com/"

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

if [[ "$(get_version_component_range 4)" == "001" ]]; then
	MY_PV="$(get_version_component_range 1-3)"
else
	MY_PV="${PV}"
fi

SRC_URI="http://github.com/solutious/${PN}/tarball/v${MY_PV} -> ${PN}-git-${PV}.tgz"
RUBY_S="solutious-${PN}-*"

ruby_add_rdepend '
	>=dev-ruby/amazon-ec2-0.9.10
	>=dev-ruby/highline-1.5.1
	>=dev-ruby/aws-s3-0.6.1
	>=dev-ruby/storable-0.7.1
	>=dev-ruby/gibbler-0.7.7
	>=dev-ruby/sysinfo-0.7.3
	>=dev-ruby/caesars-0.7.4
	>=dev-ruby/drydock-0.6.9
	>=dev-ruby/annoy-0.5.6
	>=dev-ruby/attic-0.5.2
	>=dev-ruby/rye-0.9.2
	virtual/ruby-ssl'