/[gentoo-x86]/dev-ruby/ohai/ohai-0.6.12.ebuild
Gentoo

Contents of /dev-ruby/ohai/ohai-0.6.12.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Sep 5 13:35:53 2013 UTC (7 months, 1 week ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Cleanup old.

(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ohai/ohai-0.6.12.ebuild,v 1.4 2012/08/14 13:16:05 hollow Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ruby19"
7
8 RUBY_FAKEGEM_TASK_DOC=""
9 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
10
11 RUBY_FAKEGEM_TASK_TEST="spec"
12
13 inherit ruby-fakegem
14
15 DESCRIPTION="Ohai profiles your system and emits JSON"
16 HOMEPAGE="http://wiki.opscode.com/display/chef/Ohai"
17 SRC_URI="https://github.com/opscode/${PN}/tarball/${PV} -> ${P}.tgz"
18 RUBY_S="opscode-${PN}-*"
19
20 LICENSE="Apache-2.0"
21 SLOT="0"
22 KEYWORDS="~amd64 ~x86"
23 IUSE=""
24
25 # specs have issues with multiple ruby versions
26 RESTRICT="test"
27
28 ruby_add_rdepend "
29 dev-ruby/ipaddress
30 dev-ruby/yajl-ruby
31 dev-ruby/mixlib-cli
32 dev-ruby/mixlib-config
33 dev-ruby/mixlib-log
34 >=dev-ruby/systemu-2.2.0"
35
36 all_ruby_prepare() {
37 rm Gemfile || die
38 # Be more lenient to work with versions of systemu that we have in
39 # the tree.
40 sed -i -e 's/~> 2.2.0/>= 2.2.0/' ohai.gemspec || die
41 }
42
43 all_ruby_install() {
44 all_fakegem_install
45
46 doman docs/man/man1/ohai.1
47 }

  ViewVC Help
Powered by ViewVC 1.1.20