1 |
commit: 112014a75dcf57dcde5f50959e64aa10b55b4367 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 14 02:59:33 2018 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 14 02:59:33 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=112014a7 |
7 |
|
8 |
dev-ruby/facter: 3.9.5 and 3.10.0 bup with cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
dev-ruby/facter/Manifest | 8 +- |
13 |
.../{facter-3.9.4.ebuild => facter-3.10.0.ebuild} | 0 |
14 |
dev-ruby/facter/facter-3.7.1.ebuild | 88 ------------------ |
15 |
dev-ruby/facter/facter-3.8.0.ebuild | 88 ------------------ |
16 |
dev-ruby/facter/facter-3.9.0.ebuild | 88 ------------------ |
17 |
dev-ruby/facter/facter-3.9.1.ebuild | 88 ------------------ |
18 |
dev-ruby/facter/facter-3.9.3.ebuild | 100 --------------------- |
19 |
.../{facter-3.9.4.ebuild => facter-3.9.5.ebuild} | 0 |
20 |
8 files changed, 2 insertions(+), 458 deletions(-) |
21 |
|
22 |
diff --git a/dev-ruby/facter/Manifest b/dev-ruby/facter/Manifest |
23 |
index 8fb3db7828c..21daef1f21d 100644 |
24 |
--- a/dev-ruby/facter/Manifest |
25 |
+++ b/dev-ruby/facter/Manifest |
26 |
@@ -1,10 +1,6 @@ |
27 |
DIST facter-2.4.6.gem 246272 BLAKE2B 105a43b2697cde0a48d4fcf87e221cfcb348695f81722b8cfe2819a8f3fe19e575d22642a708c798648d05c71f54e7bf0281345320612a8fdb3b68fce993ec20 SHA512 a0a2bef37451ab96ed331c79171f77d89b6db430b083e6888a306fa5b57a72986b7f600cad3e09b5f4706e54736d1d32ea25525fe18a6108cc95f315da16664a |
28 |
DIST facter-2.5.1.gem 254464 BLAKE2B 7276e9c406c000e51e68a2a1c22d0636e294902d31bcaf58e922961a8e1dd99a362467b7046362a5f179fe72f6c077656d4d400e354ed40ed3a06c71de7f07cc SHA512 4fa4b5248bac64c7a76036e428f0f5fdb0b2173987fbaaf18d0130386126dabb083e23cea8cb4df37bae0ea5a883663f71bc6c04406c562bfb7adc23e0899f57 |
29 |
DIST facter-3.1.8.tar.gz 324710 BLAKE2B 9b7ce93d7d0b2112771ea79df0cb35e7bb752e19e4a54d213161479c27c7ade79e148fe1fdbbb3c20d0d61462aac5f4b97b6e84fdca89623d9ba4911f286e9fd SHA512 2884c2c0bb3075b2552763dee7f33228b0e70b4eb46367f52c4cbf9e01930ddc5e58d062d06ced4174900fc3eae5214d80471a4fe499bf0f2ac0278640e0e8c7 |
30 |
-DIST facter-3.7.1.tar.gz 374576 BLAKE2B 58f3a8f22c0a01bee1202fdb3f44a8f61a2f9bfed18585c6ccc8f0f3990fcde8c267540a0d06b805b91c538dcdee90e9b9dba3d618cd2df8e935d8d994134167 SHA512 3b2d218d60f5ad9ef756a50540f638303b7a4eb0ea2afca10d2c41f4e6e3f6c2bb6337de417e4989664e32317b0f8db921fed68e813e4cebe10083c943b33fee |
31 |
-DIST facter-3.8.0.tar.gz 378859 BLAKE2B 3fe790c21211fe749727e6da7849911751c8deb51c5ef08ca9669ba385a1791a289c50d4696eb1ed72b06c934bdf385b6928ef04d20ae7b903090162e047b3c5 SHA512 e28771c7136c9b40e2f8b3509fbe07188d2640288705b5bd531521e476b8b8386e5003448b4c199c9d6cced8128ec113dcc9ae317cd4aa5319da906e605cfc4d |
32 |
-DIST facter-3.9.0.tar.gz 380715 BLAKE2B c4045020edaae06b23e0c75788cc76854f440ec7605234e3fef476e92ebb4d541d4b1b9148fc0350cc4b1854c1cb7888482120a3566fc579dabe033301791019 SHA512 ca818ba58fe232752a74faaa8377f706a49661e37ce85af7e6eaf735ecbcdcda4071618a6b8906b0444fea989b7b16cb85171b980a089cd57aaad37508a2b905 |
33 |
-DIST facter-3.9.1.tar.gz 380762 BLAKE2B 15d6c4884a4bd4ce1de252f51b1f480c0908ed8b1b3d7b386e651265a21359305f93dfe199b7e100d027d8507ddf99a0ee712e85e63f26f07f3f6f7c2976cc99 SHA512 a3b66bf40c062dbef644d60909a2c2afd0839c8a11fd02a0a15ccbbc1a1f216d9b0420a0f90dd44166487faa4e00843f2c0f3f057bb43bb30c22677dfac325a0 |
34 |
+DIST facter-3.10.0.tar.gz 388935 BLAKE2B fe224a098bf306cccdfea919eb898e0d60dff09d8277ad7bf70f9af5a2c10983d47bc7abc397357c9296169e3864aa5547e8e67bf7e76596929f1a2b77fa26c5 SHA512 4b8538948871578c88498e95b87757e0bf4b3ced6bef174a120fcc16189996adf6c17c9815e1fa7d8d0921dc7d8c45fe518061f79020a3e2ac49dfd3b5457c59 |
35 |
DIST facter-3.9.2.tar.gz 380883 BLAKE2B d2804664e0499715230e5696c5a9ebae933f5b43dfb37154251d47763c2c7f78cfa8d1413dd836e5a0c76ed67300d066fa5bb390f17f85cd4cb7a444eaf0d133 SHA512 bc040826311bbff40f5a151ade315d9d47ef1e0f3faa570805e48ca55405265e66308230118b9cd59f701ecd76a7b0fd4d9200dd4ace838521223a162b105374 |
36 |
-DIST facter-3.9.3.tar.gz 387062 BLAKE2B 7fef72ae0ded8be1ac0eae317b748995df58e66837daf410970cca4049304a54af5976f4502a36a3c7d0963d0e65d5bd1c8df5dc1347cc0d6325a9d79512b676 SHA512 c01685e67ed25ae12f51086012e563df9ea80dde43c4cf40ab2f17b90e7bcb0791369a9c8ea67af7a0039e1fb2714b0758d8f0d00e4e857201ad8075d8ba51c4 |
37 |
-DIST facter-3.9.4.tar.gz 388097 BLAKE2B 872ea33c2412ccafd3df1b5e49e79559bac578e91003eda717d03ee1c82e5550f237459066d7fb6692df066fcce183ea4057b4e5e37d1ceaa4b79079ef1c4599 SHA512 e3bb57ad5e538c2561968aab3b47ca7324162dfc5f2a507ed872e41b98f5bbc91f6e836a3452ea2d519a933c76c17a8e1253e74b5d5769e395d7c6895a4400b1 |
38 |
+DIST facter-3.9.5.tar.gz 388129 BLAKE2B baa63de9c2faf4b1891999fdbb5c576461ebc0fe522b77d01d7c711a67466a739802426e2b60812083eacd4e684422353227029152384a78477a840be223781f SHA512 32462caa637e08bae5964b18821bceec3ec4de4d1f5d8c28feaacb3574e3d0dbeabe09c41a7972358d874b29ebc0b0ea73dbc75adf118ec6379d3ad04fb1b36a |
39 |
|
40 |
diff --git a/dev-ruby/facter/facter-3.9.4.ebuild b/dev-ruby/facter/facter-3.10.0.ebuild |
41 |
similarity index 100% |
42 |
copy from dev-ruby/facter/facter-3.9.4.ebuild |
43 |
copy to dev-ruby/facter/facter-3.10.0.ebuild |
44 |
|
45 |
diff --git a/dev-ruby/facter/facter-3.7.1.ebuild b/dev-ruby/facter/facter-3.7.1.ebuild |
46 |
deleted file mode 100644 |
47 |
index 5f534455759..00000000000 |
48 |
--- a/dev-ruby/facter/facter-3.7.1.ebuild |
49 |
+++ /dev/null |
50 |
@@ -1,88 +0,0 @@ |
51 |
-# Copyright 1999-2017 Gentoo Foundation |
52 |
-# Distributed under the terms of the GNU General Public License v2 |
53 |
- |
54 |
-EAPI=5 |
55 |
-USE_RUBY="ruby21 ruby22 ruby23 ruby24" |
56 |
- |
57 |
-inherit cmake-utils eutils multilib 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://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${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 |
-BDEPEND=" |
70 |
- >=sys-devel/gcc-4.8:* |
71 |
- >=dev-libs/leatherman-1.0.0 |
72 |
- dev-cpp/cpp-hocon" |
73 |
-CDEPEND=" |
74 |
- dev-libs/openssl:* |
75 |
- sys-apps/util-linux |
76 |
- app-emulation/virt-what |
77 |
- net-misc/curl |
78 |
- >=dev-libs/boost-1.54[nls] |
79 |
- >=dev-cpp/yaml-cpp-0.5.1 |
80 |
- !<app-admin/puppet-4.0.0" |
81 |
- |
82 |
-RDEPEND="${CDEPEND}" |
83 |
-DEPEND="${BDEPEND} |
84 |
- ${CDEPEND}" |
85 |
- |
86 |
-src_prepare() { |
87 |
- # Remove the code that installs facter.rb to the wrong directory. |
88 |
- sed -i '/install(.*facter\.rb/d' lib/CMakeLists.txt || die |
89 |
- sed -i '/install(.*facter\.jar/d' lib/CMakeLists.txt || die |
90 |
- # make it support multilib |
91 |
- sed -i "s/\ lib)/\ $(get_libdir))/g" lib/CMakeLists.txt || die |
92 |
- sed -i "s/lib\")/$(get_libdir)\")/g" CMakeLists.txt || die |
93 |
- # make the require work |
94 |
- sed -i 's/\${LIBFACTER_INSTALL_DESTINATION}\///g' lib/facter.rb.in || die |
95 |
- # patches |
96 |
- epatch_user |
97 |
-} |
98 |
- |
99 |
-src_configure() { |
100 |
- local mycmakeargs=( |
101 |
- -DCMAKE_VERBOSE_MAKEFILE=ON |
102 |
- -DCMAKE_BUILD_TYPE=None |
103 |
- -DCMAKE_INSTALL_PREFIX=/usr |
104 |
- -DCMAKE_INSTALL_SYSCONFDIR=/etc |
105 |
- -DCMAKE_INSTALL_LOCALSTATEDIR=/var |
106 |
- -DUSE_JRUBY_SUPPORT=FALSE |
107 |
- -DBLKID_LIBRARY=/$(get_libdir)/libblkid.so.1 |
108 |
- ) |
109 |
- if use debug; then |
110 |
- mycmakeargs+=( |
111 |
- -DCMAKE_BUILD_TYPE=Debug |
112 |
- ) |
113 |
- fi |
114 |
- cmake-utils_src_configure |
115 |
-} |
116 |
- |
117 |
-src_compile() { |
118 |
- cmake-utils_src_compile |
119 |
-} |
120 |
- |
121 |
-each_ruby_install() { |
122 |
- doruby "${BUILD_DIR}"/lib/facter.rb |
123 |
-} |
124 |
- |
125 |
-src_test() { |
126 |
- cmake-utils_src_test |
127 |
-} |
128 |
- |
129 |
-src_install() { |
130 |
- cmake-utils_src_install |
131 |
- ruby-ng_src_install |
132 |
- |
133 |
- # need a variable file in env.d :( |
134 |
- diropts -m0755 |
135 |
- dodir /etc/env.d |
136 |
- echo -n "FACTERDIR=/usr/$(get_libdir)" > "${D}/etc/env.d/00facterdir" |
137 |
- fperms 0644 /etc/env.d/00facterdir |
138 |
-} |
139 |
|
140 |
diff --git a/dev-ruby/facter/facter-3.8.0.ebuild b/dev-ruby/facter/facter-3.8.0.ebuild |
141 |
deleted file mode 100644 |
142 |
index 247eed1af45..00000000000 |
143 |
--- a/dev-ruby/facter/facter-3.8.0.ebuild |
144 |
+++ /dev/null |
145 |
@@ -1,88 +0,0 @@ |
146 |
-# Copyright 1999-2017 Gentoo Foundation |
147 |
-# Distributed under the terms of the GNU General Public License v2 |
148 |
- |
149 |
-EAPI=6 |
150 |
-USE_RUBY="ruby21 ruby22 ruby23 ruby24" |
151 |
- |
152 |
-inherit cmake-utils eutils multilib ruby-ng |
153 |
- |
154 |
-DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" |
155 |
-HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" |
156 |
-SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
157 |
-S="${S}/all/${P}" |
158 |
- |
159 |
-LICENSE="Apache-2.0" |
160 |
-SLOT="0" |
161 |
-IUSE="debug test" |
162 |
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
163 |
- |
164 |
-BDEPEND=" |
165 |
- >=sys-devel/gcc-4.8:* |
166 |
- >=dev-libs/leatherman-1.0.0 |
167 |
- dev-cpp/cpp-hocon" |
168 |
-CDEPEND=" |
169 |
- dev-libs/openssl:* |
170 |
- sys-apps/util-linux |
171 |
- app-emulation/virt-what |
172 |
- net-misc/curl |
173 |
- >=dev-libs/boost-1.54[nls] |
174 |
- >=dev-cpp/yaml-cpp-0.5.1 |
175 |
- !<app-admin/puppet-4.0.0" |
176 |
- |
177 |
-RDEPEND="${CDEPEND}" |
178 |
-DEPEND="${BDEPEND} |
179 |
- ${CDEPEND}" |
180 |
- |
181 |
-src_prepare() { |
182 |
- # Remove the code that installs facter.rb to the wrong directory. |
183 |
- sed -i '/install(.*facter\.rb/d' lib/CMakeLists.txt || die |
184 |
- sed -i '/install(.*facter\.jar/d' lib/CMakeLists.txt || die |
185 |
- # make it support multilib |
186 |
- sed -i "s/\ lib)/\ $(get_libdir))/g" lib/CMakeLists.txt || die |
187 |
- sed -i "s/lib\")/$(get_libdir)\")/g" CMakeLists.txt || die |
188 |
- # make the require work |
189 |
- sed -i 's/\${LIBFACTER_INSTALL_DESTINATION}\///g' lib/facter.rb.in || die |
190 |
- # patches |
191 |
- default |
192 |
-} |
193 |
- |
194 |
-src_configure() { |
195 |
- local mycmakeargs=( |
196 |
- -DCMAKE_VERBOSE_MAKEFILE=ON |
197 |
- -DCMAKE_BUILD_TYPE=None |
198 |
- -DCMAKE_INSTALL_PREFIX=/usr |
199 |
- -DCMAKE_INSTALL_SYSCONFDIR=/etc |
200 |
- -DCMAKE_INSTALL_LOCALSTATEDIR=/var |
201 |
- -DUSE_JRUBY_SUPPORT=FALSE |
202 |
- -DBLKID_LIBRARY=/$(get_libdir)/libblkid.so.1 |
203 |
- ) |
204 |
- if use debug; then |
205 |
- mycmakeargs+=( |
206 |
- -DCMAKE_BUILD_TYPE=Debug |
207 |
- ) |
208 |
- fi |
209 |
- cmake-utils_src_configure |
210 |
-} |
211 |
- |
212 |
-src_compile() { |
213 |
- cmake-utils_src_compile |
214 |
-} |
215 |
- |
216 |
-each_ruby_install() { |
217 |
- doruby "${BUILD_DIR}"/lib/facter.rb |
218 |
-} |
219 |
- |
220 |
-src_test() { |
221 |
- cmake-utils_src_test |
222 |
-} |
223 |
- |
224 |
-src_install() { |
225 |
- cmake-utils_src_install |
226 |
- ruby-ng_src_install |
227 |
- |
228 |
- # need a variable file in env.d :( |
229 |
- diropts -m0755 |
230 |
- dodir /etc/env.d |
231 |
- echo -n "FACTERDIR=/usr/$(get_libdir)" > "${D}/etc/env.d/00facterdir" |
232 |
- fperms 0644 /etc/env.d/00facterdir |
233 |
-} |
234 |
|
235 |
diff --git a/dev-ruby/facter/facter-3.9.0.ebuild b/dev-ruby/facter/facter-3.9.0.ebuild |
236 |
deleted file mode 100644 |
237 |
index 247eed1af45..00000000000 |
238 |
--- a/dev-ruby/facter/facter-3.9.0.ebuild |
239 |
+++ /dev/null |
240 |
@@ -1,88 +0,0 @@ |
241 |
-# Copyright 1999-2017 Gentoo Foundation |
242 |
-# Distributed under the terms of the GNU General Public License v2 |
243 |
- |
244 |
-EAPI=6 |
245 |
-USE_RUBY="ruby21 ruby22 ruby23 ruby24" |
246 |
- |
247 |
-inherit cmake-utils eutils multilib ruby-ng |
248 |
- |
249 |
-DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" |
250 |
-HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" |
251 |
-SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
252 |
-S="${S}/all/${P}" |
253 |
- |
254 |
-LICENSE="Apache-2.0" |
255 |
-SLOT="0" |
256 |
-IUSE="debug test" |
257 |
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
258 |
- |
259 |
-BDEPEND=" |
260 |
- >=sys-devel/gcc-4.8:* |
261 |
- >=dev-libs/leatherman-1.0.0 |
262 |
- dev-cpp/cpp-hocon" |
263 |
-CDEPEND=" |
264 |
- dev-libs/openssl:* |
265 |
- sys-apps/util-linux |
266 |
- app-emulation/virt-what |
267 |
- net-misc/curl |
268 |
- >=dev-libs/boost-1.54[nls] |
269 |
- >=dev-cpp/yaml-cpp-0.5.1 |
270 |
- !<app-admin/puppet-4.0.0" |
271 |
- |
272 |
-RDEPEND="${CDEPEND}" |
273 |
-DEPEND="${BDEPEND} |
274 |
- ${CDEPEND}" |
275 |
- |
276 |
-src_prepare() { |
277 |
- # Remove the code that installs facter.rb to the wrong directory. |
278 |
- sed -i '/install(.*facter\.rb/d' lib/CMakeLists.txt || die |
279 |
- sed -i '/install(.*facter\.jar/d' lib/CMakeLists.txt || die |
280 |
- # make it support multilib |
281 |
- sed -i "s/\ lib)/\ $(get_libdir))/g" lib/CMakeLists.txt || die |
282 |
- sed -i "s/lib\")/$(get_libdir)\")/g" CMakeLists.txt || die |
283 |
- # make the require work |
284 |
- sed -i 's/\${LIBFACTER_INSTALL_DESTINATION}\///g' lib/facter.rb.in || die |
285 |
- # patches |
286 |
- default |
287 |
-} |
288 |
- |
289 |
-src_configure() { |
290 |
- local mycmakeargs=( |
291 |
- -DCMAKE_VERBOSE_MAKEFILE=ON |
292 |
- -DCMAKE_BUILD_TYPE=None |
293 |
- -DCMAKE_INSTALL_PREFIX=/usr |
294 |
- -DCMAKE_INSTALL_SYSCONFDIR=/etc |
295 |
- -DCMAKE_INSTALL_LOCALSTATEDIR=/var |
296 |
- -DUSE_JRUBY_SUPPORT=FALSE |
297 |
- -DBLKID_LIBRARY=/$(get_libdir)/libblkid.so.1 |
298 |
- ) |
299 |
- if use debug; then |
300 |
- mycmakeargs+=( |
301 |
- -DCMAKE_BUILD_TYPE=Debug |
302 |
- ) |
303 |
- fi |
304 |
- cmake-utils_src_configure |
305 |
-} |
306 |
- |
307 |
-src_compile() { |
308 |
- cmake-utils_src_compile |
309 |
-} |
310 |
- |
311 |
-each_ruby_install() { |
312 |
- doruby "${BUILD_DIR}"/lib/facter.rb |
313 |
-} |
314 |
- |
315 |
-src_test() { |
316 |
- cmake-utils_src_test |
317 |
-} |
318 |
- |
319 |
-src_install() { |
320 |
- cmake-utils_src_install |
321 |
- ruby-ng_src_install |
322 |
- |
323 |
- # need a variable file in env.d :( |
324 |
- diropts -m0755 |
325 |
- dodir /etc/env.d |
326 |
- echo -n "FACTERDIR=/usr/$(get_libdir)" > "${D}/etc/env.d/00facterdir" |
327 |
- fperms 0644 /etc/env.d/00facterdir |
328 |
-} |
329 |
|
330 |
diff --git a/dev-ruby/facter/facter-3.9.1.ebuild b/dev-ruby/facter/facter-3.9.1.ebuild |
331 |
deleted file mode 100644 |
332 |
index 247eed1af45..00000000000 |
333 |
--- a/dev-ruby/facter/facter-3.9.1.ebuild |
334 |
+++ /dev/null |
335 |
@@ -1,88 +0,0 @@ |
336 |
-# Copyright 1999-2017 Gentoo Foundation |
337 |
-# Distributed under the terms of the GNU General Public License v2 |
338 |
- |
339 |
-EAPI=6 |
340 |
-USE_RUBY="ruby21 ruby22 ruby23 ruby24" |
341 |
- |
342 |
-inherit cmake-utils eutils multilib ruby-ng |
343 |
- |
344 |
-DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" |
345 |
-HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" |
346 |
-SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
347 |
-S="${S}/all/${P}" |
348 |
- |
349 |
-LICENSE="Apache-2.0" |
350 |
-SLOT="0" |
351 |
-IUSE="debug test" |
352 |
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
353 |
- |
354 |
-BDEPEND=" |
355 |
- >=sys-devel/gcc-4.8:* |
356 |
- >=dev-libs/leatherman-1.0.0 |
357 |
- dev-cpp/cpp-hocon" |
358 |
-CDEPEND=" |
359 |
- dev-libs/openssl:* |
360 |
- sys-apps/util-linux |
361 |
- app-emulation/virt-what |
362 |
- net-misc/curl |
363 |
- >=dev-libs/boost-1.54[nls] |
364 |
- >=dev-cpp/yaml-cpp-0.5.1 |
365 |
- !<app-admin/puppet-4.0.0" |
366 |
- |
367 |
-RDEPEND="${CDEPEND}" |
368 |
-DEPEND="${BDEPEND} |
369 |
- ${CDEPEND}" |
370 |
- |
371 |
-src_prepare() { |
372 |
- # Remove the code that installs facter.rb to the wrong directory. |
373 |
- sed -i '/install(.*facter\.rb/d' lib/CMakeLists.txt || die |
374 |
- sed -i '/install(.*facter\.jar/d' lib/CMakeLists.txt || die |
375 |
- # make it support multilib |
376 |
- sed -i "s/\ lib)/\ $(get_libdir))/g" lib/CMakeLists.txt || die |
377 |
- sed -i "s/lib\")/$(get_libdir)\")/g" CMakeLists.txt || die |
378 |
- # make the require work |
379 |
- sed -i 's/\${LIBFACTER_INSTALL_DESTINATION}\///g' lib/facter.rb.in || die |
380 |
- # patches |
381 |
- default |
382 |
-} |
383 |
- |
384 |
-src_configure() { |
385 |
- local mycmakeargs=( |
386 |
- -DCMAKE_VERBOSE_MAKEFILE=ON |
387 |
- -DCMAKE_BUILD_TYPE=None |
388 |
- -DCMAKE_INSTALL_PREFIX=/usr |
389 |
- -DCMAKE_INSTALL_SYSCONFDIR=/etc |
390 |
- -DCMAKE_INSTALL_LOCALSTATEDIR=/var |
391 |
- -DUSE_JRUBY_SUPPORT=FALSE |
392 |
- -DBLKID_LIBRARY=/$(get_libdir)/libblkid.so.1 |
393 |
- ) |
394 |
- if use debug; then |
395 |
- mycmakeargs+=( |
396 |
- -DCMAKE_BUILD_TYPE=Debug |
397 |
- ) |
398 |
- fi |
399 |
- cmake-utils_src_configure |
400 |
-} |
401 |
- |
402 |
-src_compile() { |
403 |
- cmake-utils_src_compile |
404 |
-} |
405 |
- |
406 |
-each_ruby_install() { |
407 |
- doruby "${BUILD_DIR}"/lib/facter.rb |
408 |
-} |
409 |
- |
410 |
-src_test() { |
411 |
- cmake-utils_src_test |
412 |
-} |
413 |
- |
414 |
-src_install() { |
415 |
- cmake-utils_src_install |
416 |
- ruby-ng_src_install |
417 |
- |
418 |
- # need a variable file in env.d :( |
419 |
- diropts -m0755 |
420 |
- dodir /etc/env.d |
421 |
- echo -n "FACTERDIR=/usr/$(get_libdir)" > "${D}/etc/env.d/00facterdir" |
422 |
- fperms 0644 /etc/env.d/00facterdir |
423 |
-} |
424 |
|
425 |
diff --git a/dev-ruby/facter/facter-3.9.3.ebuild b/dev-ruby/facter/facter-3.9.3.ebuild |
426 |
deleted file mode 100644 |
427 |
index d15e9288ae6..00000000000 |
428 |
--- a/dev-ruby/facter/facter-3.9.3.ebuild |
429 |
+++ /dev/null |
430 |
@@ -1,100 +0,0 @@ |
431 |
-# Copyright 1999-2017 Gentoo Foundation |
432 |
-# Distributed under the terms of the GNU General Public License v2 |
433 |
- |
434 |
-EAPI=6 |
435 |
-USE_RUBY="ruby21 ruby22 ruby23 ruby24" |
436 |
- |
437 |
-# git-r3 goes after ruby-ng so that it overrides src_unpack properly |
438 |
-inherit cmake-utils eutils multilib ruby-ng |
439 |
- |
440 |
-DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" |
441 |
-HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" |
442 |
-SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
443 |
-S="${S}/all/${P}" |
444 |
- |
445 |
-LICENSE="Apache-2.0" |
446 |
-SLOT="0" |
447 |
-IUSE="debug test" |
448 |
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" |
449 |
- |
450 |
-BDEPEND=" |
451 |
- >=sys-devel/gcc-4.8:* |
452 |
- >=dev-libs/leatherman-1.0.0 |
453 |
- dev-cpp/cpp-hocon" |
454 |
-CDEPEND=" |
455 |
- dev-libs/openssl:* |
456 |
- sys-apps/util-linux |
457 |
- app-emulation/virt-what |
458 |
- net-misc/curl |
459 |
- >=dev-libs/boost-1.54[nls] |
460 |
- >=dev-cpp/yaml-cpp-0.5.1 |
461 |
- !<app-admin/puppet-4.0.0" |
462 |
- |
463 |
-ruby_add_bdepend "test? ( dev-ruby/rake dev-ruby/rspec:2 dev-ruby/mocha:0.14 )" |
464 |
- |
465 |
-RDEPEND="${CDEPEND}" |
466 |
-DEPEND="${BDEPEND} |
467 |
- ${CDEPEND}" |
468 |
- |
469 |
-src_prepare() { |
470 |
- # Remove the code that installs facter.rb to the wrong directory. |
471 |
- sed -i '/install(.*facter\.rb/d' lib/CMakeLists.txt || die |
472 |
- sed -i '/install(.*facter\.jar/d' lib/CMakeLists.txt || die |
473 |
- # make it support multilib |
474 |
- sed -i "s/\ lib)/\ $(get_libdir))/g" lib/CMakeLists.txt || die |
475 |
- sed -i "s/lib\")/$(get_libdir)\")/g" CMakeLists.txt || die |
476 |
- # make the require work |
477 |
- sed -i 's/\${LIBFACTER_INSTALL_DESTINATION}\///g' lib/facter.rb.in || die |
478 |
- # be explicit about the version of rspec we test with and use the |
479 |
- # correct lib directory for tests |
480 |
- sed -i -e '/libfacter.*specs/ s/rspec/rspec-2/' \ |
481 |
- -e '/libfacter.*specs/ s/lib64/lib/' CMakeLists.txt || die |
482 |
- # be more lenient for software versions for tests |
483 |
- sed -i -e '/rake/ s/~> 10.1.0/>= 10/' \ |
484 |
- -e '/rspec/ s/2.11.0/2.11/' \ |
485 |
- -e '/mocha/ s/0.10.5/0.14.0/' lib/Gemfile || die |
486 |
- # patches |
487 |
- default |
488 |
- cmake-utils_src_prepare |
489 |
-} |
490 |
- |
491 |
-src_configure() { |
492 |
- local mycmakeargs=( |
493 |
- -DCMAKE_VERBOSE_MAKEFILE=ON |
494 |
- -DCMAKE_BUILD_TYPE=None |
495 |
- -DCMAKE_INSTALL_PREFIX=/usr |
496 |
- -DCMAKE_INSTALL_SYSCONFDIR=/etc |
497 |
- -DCMAKE_INSTALL_LOCALSTATEDIR=/var |
498 |
- -DUSE_JRUBY_SUPPORT=FALSE |
499 |
- -DBLKID_LIBRARY=/$(get_libdir)/libblkid.so.1 |
500 |
- ) |
501 |
- if use debug; then |
502 |
- mycmakeargs+=( |
503 |
- -DCMAKE_BUILD_TYPE=Debug |
504 |
- ) |
505 |
- fi |
506 |
- cmake-utils_src_configure |
507 |
-} |
508 |
- |
509 |
-src_compile() { |
510 |
- cmake-utils_src_compile |
511 |
-} |
512 |
- |
513 |
-each_ruby_install() { |
514 |
- doruby "${BUILD_DIR}"/lib/facter.rb |
515 |
-} |
516 |
- |
517 |
-src_test() { |
518 |
- cmake-utils_src_test |
519 |
-} |
520 |
- |
521 |
-src_install() { |
522 |
- cmake-utils_src_install |
523 |
- ruby-ng_src_install |
524 |
- |
525 |
- # need a variable file in env.d :( |
526 |
- diropts -m0755 |
527 |
- dodir /etc/env.d |
528 |
- echo -n "FACTERDIR=/usr/$(get_libdir)" > "${D}/etc/env.d/00facterdir" |
529 |
- fperms 0644 /etc/env.d/00facterdir |
530 |
-} |
531 |
|
532 |
diff --git a/dev-ruby/facter/facter-3.9.4.ebuild b/dev-ruby/facter/facter-3.9.5.ebuild |
533 |
similarity index 100% |
534 |
rename from dev-ruby/facter/facter-3.9.4.ebuild |
535 |
rename to dev-ruby/facter/facter-3.9.5.ebuild |