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

Contents of /dev-ruby/ohai/ohai-6.14.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Aug 14 13:16:05 2012 UTC (20 months ago) by hollow
Branch: MAIN
Changes since 1.1: +11 -5 lines
remove ruby herd from my packages so flameeyes stops nagging that somebody touched his package (no pun intended); also: readd ruby19 support

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

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-6.14.0-r1.ebuild,v 1.1 2012/08/13 21:33:55 flameeyes 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