From: | "Matt Thode (prometheanfire)" <prometheanfire@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/facter: facter-2.2.0.ebuild ChangeLog |
Date: | Sat, 30 Aug 2014 02:10:03 |
Message-Id: | 20140830020959.56D5B437E@oystercatcher.gentoo.org |
1 | prometheanfire 14/08/30 02:09:59 |
2 | |
3 | Modified: ChangeLog |
4 | Added: facter-2.2.0.ebuild |
5 | Log: |
6 | bup |
7 | |
8 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3) |
9 | |
10 | Revision Changes Path |
11 | 1.105 dev-ruby/facter/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?rev=1.105&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?rev=1.105&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?r1=1.104&r2=1.105 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v |
20 | retrieving revision 1.104 |
21 | retrieving revision 1.105 |
22 | diff -u -r1.104 -r1.105 |
23 | --- ChangeLog 19 Aug 2014 11:18:06 -0000 1.104 |
24 | +++ ChangeLog 30 Aug 2014 02:09:59 -0000 1.105 |
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.104 2014/08/19 11:18:06 armin76 Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v 1.105 2014/08/30 02:09:59 prometheanfire Exp $ |
30 | + |
31 | +*facter-2.2.0 (30 Aug 2014) |
32 | + |
33 | + 30 Aug 2014; Matthew Thode <prometheanfire@g.o> +facter-2.2.0.ebuild: |
34 | + bup |
35 | |
36 | 19 Aug 2014; Raúl Porcel <armin76@g.o> facter-2.0.2.ebuild, |
37 | facter-2.1.0.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 dev-ruby/facter/facter-2.2.0.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/facter-2.2.0.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/facter-2.2.0.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: facter-2.2.0.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-2.2.0.ebuild,v 1.1 2014/08/30 02:09:59 prometheanfire Exp $ |
51 | |
52 | EAPI=5 |
53 | |
54 | USE_RUBY="ruby19 ruby20 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 +virt" |
68 | #KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
69 | KEYWORDS="~amd64 ~hppa ~sparc ~x86" |
70 | |
71 | CDEPEND=" |
72 | app-emulation/virt-what |
73 | sys-apps/net-tools |
74 | sys-apps/lsb-release |
75 | dmi? ( sys-apps/dmidecode ) |
76 | pciutils? ( sys-apps/pciutils )" |
77 | |
78 | RDEPEND+=" ${CDEPEND}" |
79 | DEPEND+=" test? ( ${CDEPEND} )" |
80 | |
81 | #RUBY_PATCHES=( ${P}-fix-proc-self-status.patch ) |
82 | |
83 | ruby_add_bdepend "test? ( >=dev-ruby/mocha-0.10.5:0.10 )" |
84 | |
85 | all_ruby_prepare() { |
86 | # Provide explicit path since /sbin is not in the default PATH on |
87 | # Gentoo. |
88 | sed -i -e 's:arp -an:/sbin/arp -an:' lib/facter/util/ec2.rb spec/unit/util/ec2_spec.rb || die |
89 | |
90 | # Ensure the correct version of mocha is used without using bundler. |
91 | sed -i -e '1igem "mocha", "~>0.10.5"' spec/spec_helper.rb || die |
92 | |
93 | #removing because tests try to access outside stuffs |
94 | #1) Facter::Util::Loader should load facts on the facter search path only once |
95 | # Failure/Error: Facter::Util::Loader.new.load_all |
96 | # Errno::EACCES: |
97 | # Permission denied - /sys/block/ |
98 | |
99 | rm spec/unit/util/loader_spec.rb || die |
100 | |
101 | sed -i -e '1irequire "rspec-expectations"' spec/puppetlabs_spec/matchers.rb || die |
102 | } |
103 | |
104 | all_ruby_install() { |
105 | all_fakegem_install |
106 | |
107 | # Create the directory for custom facts. |
108 | keepdir /etc/facter/facts.d |
109 | } |