Gentoo Archives: gentoo-commits

From: "Manuel Rueger (mrueg)" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/facter: facter-1.7.5-r1.ebuild ChangeLog
Date: Sun, 02 Mar 2014 21:58:48
Message-Id: 20140302215844.E33162004C@flycatcher.gentoo.org
1 mrueg 14/03/02 21:58:44
2
3 Modified: ChangeLog
4 Added: facter-1.7.5-r1.ebuild
5 Log:
6 Make tests work.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key )
9
10 Revision Changes Path
11 1.90 dev-ruby/facter/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?rev=1.90&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?rev=1.90&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?r1=1.89&r2=1.90
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v
20 retrieving revision 1.89
21 retrieving revision 1.90
22 diff -u -r1.89 -r1.90
23 --- ChangeLog 14 Feb 2014 07:10:58 -0000 1.89
24 +++ ChangeLog 2 Mar 2014 21:58:44 -0000 1.90
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/facter
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v 1.89 2014/02/14 07:10:58 prometheanfire Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v 1.90 2014/03/02 21:58:44 mrueg Exp $
30 +
31 +*facter-1.7.5-r1 (02 Mar 2014)
32 +
33 + 02 Mar 2014; Manuel RĂ¼ger <mrueg@g.o> +facter-1.7.5-r1.ebuild:
34 + Make tests work.
35
36 *facter-1.7.5 (14 Feb 2014)
37
38
39
40
41 1.1 dev-ruby/facter/facter-1.7.5-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/facter-1.7.5-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/facter-1.7.5-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: facter-1.7.5-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/facter-1.7.5-r1.ebuild,v 1.1 2014/03/02 21:58:44 mrueg Exp $
51
52 EAPI=5
53
54 USE_RUBY="ruby19 jruby"
55 RUBY_FAKEGEM_TASK_DOC=""
56 RUBY_FAKEGEM_RECIPE_TEST="rspec"
57 RUBY_FAKEGEM_EXTRADOC="README.md"
58 RUBY_FAKEGEM_BINWRAP="facter"
59
60 inherit ruby-fakegem
61
62 DESCRIPTION="A cross-platform Ruby library for retrieving facts from operating systems"
63 HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
64
65 LICENSE="Apache-2.0"
66 SLOT="0"
67 IUSE="+dmi +pciutils"
68 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
69
70 CDEPEND="
71 sys-apps/net-tools
72 sys-apps/lsb-release
73 dmi? ( sys-apps/dmidecode )
74 pciutils? ( sys-apps/pciutils )"
75
76 RDEPEND+=" ${CDEPEND}"
77 DEPEND+=" test? ( ${CDEPEND} )"
78
79 #RUBY_PATCHES=( ${P}-fix-proc-self-status.patch )
80
81 ruby_add_bdepend "test? ( >=dev-ruby/mocha-0.10.5:0.10 )"
82
83 all_ruby_prepare() {
84 # Provide explicit path since /sbin is not in the default PATH on
85 # Gentoo.
86 sed -i -e 's:arp -an:/sbin/arp -an:' lib/facter/util/ec2.rb spec/unit/util/ec2_spec.rb || die
87
88 # Ensure the correct version of mocha is used without using bundler.
89 sed -i -e '1igem "mocha", "~>0.10.5"' spec/spec_helper.rb || die
90
91 sed -i -e '1irequire "rspec-expectations"' spec/puppetlabs_spec/matchers.rb || die
92 }
93
94 all_ruby_install() {
95 all_fakegem_install
96
97 # Create the directory for custom facts.
98 keepdir /etc/facter/facts.d
99 }