Gentoo Archives: gentoo-commits

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