Gentoo Archives: gentoo-commits

From: "Matt Thode (prometheanfire)" <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/facter: facter-3.0.2-r1.ebuild ChangeLog facter-3.0.2.ebuild facter-3.0.1-r4.ebuild
Date: Thu, 23 Jul 2015 22:47:52
Message-Id: 20150723224741.83799BB@oystercatcher.gentoo.org
1 prometheanfire 15/07/23 22:47:41
2
3 Modified: ChangeLog
4 Added: facter-3.0.2-r1.ebuild
5 Removed: facter-3.0.2.ebuild facter-3.0.1-r4.ebuild
6 Log:
7 disabling java support, use puppet-agent instead if you want jruby support
8
9 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x33ED3FD25AFC78BA)
10
11 Revision Changes Path
12 1.142 dev-ruby/facter/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?rev=1.142&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?rev=1.142&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?r1=1.141&r2=1.142
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v
21 retrieving revision 1.141
22 retrieving revision 1.142
23 diff -u -r1.141 -r1.142
24 --- ChangeLog 23 Jul 2015 02:42:27 -0000 1.141
25 +++ ChangeLog 23 Jul 2015 22:47:41 -0000 1.142
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-ruby/facter
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v 1.141 2015/07/23 02:42:27 prometheanfire Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v 1.142 2015/07/23 22:47:41 prometheanfire Exp $
31 +
32 +*facter-3.0.2-r1 (23 Jul 2015)
33 +
34 + 23 Jul 2015; Matthew Thode <prometheanfire@g.o>
35 + +facter-3.0.2-r1.ebuild, -facter-3.0.1-r4.ebuild, -facter-3.0.2.ebuild:
36 + disabling java support, use puppet-agent instead if you want jruby support
37
38 *facter-3.0.2 (23 Jul 2015)
39
40
41
42
43 1.1 dev-ruby/facter/facter-3.0.2-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/facter-3.0.2-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/facter-3.0.2-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: facter-3.0.2-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/facter-3.0.2-r1.ebuild,v 1.1 2015/07/23 22:47:41 prometheanfire Exp $
53
54 EAPI=5
55 USE_RUBY="ruby19 ruby20 ruby21 ruby22"
56
57 inherit cmake-utils ruby-ng
58
59 DESCRIPTION="A cross-platform Ruby library for retrieving facts from operating systems"
60 HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
61 SRC_URI="https://downloads.puppetlabs.com/facter/${P}.tar.gz"
62 S="${S}/all/${P}"
63
64 LICENSE="Apache-2.0"
65 SLOT="0"
66 IUSE="debug test"
67 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
68
69 CDEPEND="
70 >=sys-devel/gcc-4.8:*
71 >=dev-libs/boost-1.54
72 >=dev-cpp/yaml-cpp-0.5.1
73 dev-libs/openssl:*
74 sys-apps/util-linux
75 app-emulation/virt-what
76 net-misc/curl"
77
78 RDEPEND+=" ${CDEPEND}"
79 DEPEND+=" test? ( ${CDEPEND} )"
80
81 src_prepare() {
82 sed -i 's/\-Werror\ //g' "vendor/leatherman/cmake/cflags.cmake" || die
83 # Remove the code that installs facter.rb to the wrong directory.
84 sed -i '/RUBY_VENDORDIR/d' lib/CMakeLists.txt || die
85 # make it support multilib
86 sed -i 's/\ lib)/\ lib${LIB_SUFFIX})/g' lib/CMakeLists.txt || die
87 }
88
89 src_configure() {
90 local mycmakeargs=(
91 -DCMAKE_VERBOSE_MAKEFILE=ON
92 -DCMAKE_BUILD_TYPE=None
93 -DCMAKE_INSTALL_PREFIX=/usr
94 -DCMAKE_INSTALL_SYSCONFDIR=/etc
95 -DCMAKE_INSTALL_LOCALSTATEDIR=/var
96 -DUSE_JRUBY_SUPPORT=FALSE
97 )
98 if use debug; then
99 mycmakeargs+=(
100 -DCMAKE_BUILD_TYPE=Debug
101 )
102 fi
103 cmake-utils_src_configure
104 }
105
106 each_ruby_install() {
107 doruby "${BUILD_DIR}"/lib/facter.rb
108 }
109
110 src_install() {
111 cmake-utils_src_install
112 ruby-ng_src_install
113 }