Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libarcus/, media-gfx/fdm-materials/, dev-libs/libsavitar/, ...
Date: Sat, 11 Jan 2020 23:52:01
Message-Id: 1578786690.fc13399e284cead2bf4edea963e5613e4d093335.asturm@gentoo
1 commit: fc13399e284cead2bf4edea963e5613e4d093335
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 11 23:44:17 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 11 23:51:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc13399e
7
8 */*: Switch Perlovka's ebuilds to cmake.eclass
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 dev-libs/libarcus/libarcus-4.2.0.ebuild | 4 ++--
13 dev-libs/libarcus/libarcus-4.3.0.ebuild | 6 +++---
14 dev-libs/libcharon/libcharon-4.2.0.ebuild | 2 +-
15 dev-libs/libcharon/libcharon-4.3.0.ebuild | 4 ++--
16 dev-libs/libsavitar/libsavitar-4.2.0.ebuild | 4 ++--
17 dev-libs/libsavitar/libsavitar-4.3.0.ebuild | 6 +++---
18 dev-python/uranium/uranium-4.2.0.ebuild | 16 +++++++++-------
19 dev-python/uranium/uranium-4.3.0.ebuild | 16 +++++++++-------
20 media-gfx/cura/cura-4.2.1.ebuild | 8 ++++----
21 media-gfx/cura/cura-4.3.0.ebuild | 8 ++++----
22 media-gfx/curaengine/curaengine-4.2.0.ebuild | 6 +++---
23 media-gfx/curaengine/curaengine-4.3.0.ebuild | 6 +++---
24 media-gfx/fdm-materials/fdm-materials-4.2.0.ebuild | 2 +-
25 media-gfx/fdm-materials/fdm-materials-4.3.0.ebuild | 2 +-
26 14 files changed, 47 insertions(+), 43 deletions(-)
27
28 diff --git a/dev-libs/libarcus/libarcus-4.2.0.ebuild b/dev-libs/libarcus/libarcus-4.2.0.ebuild
29 index 1c7ede9b949..deb2605d564 100644
30 --- a/dev-libs/libarcus/libarcus-4.2.0.ebuild
31 +++ b/dev-libs/libarcus/libarcus-4.2.0.ebuild
32 @@ -5,7 +5,7 @@ EAPI=7
33
34 PYTHON_COMPAT=( python3_6 )
35
36 -inherit cmake-utils python-single-r1
37 +inherit cmake python-single-r1
38
39 MY_PN="libArcus"
40
41 @@ -38,5 +38,5 @@ src_configure() {
42 -DBUILD_STATIC=$(usex static-libs ON OFF)
43 )
44
45 - cmake-utils_src_configure
46 + cmake_src_configure
47 }
48
49 diff --git a/dev-libs/libarcus/libarcus-4.3.0.ebuild b/dev-libs/libarcus/libarcus-4.3.0.ebuild
50 index a021b6d2dfa..0869769e8f5 100644
51 --- a/dev-libs/libarcus/libarcus-4.3.0.ebuild
52 +++ b/dev-libs/libarcus/libarcus-4.3.0.ebuild
53 @@ -5,7 +5,7 @@ EAPI=7
54
55 PYTHON_COMPAT=( python3_6 )
56
57 -inherit cmake-utils python-single-r1
58 +inherit cmake python-single-r1
59
60 MY_PN="libArcus"
61
62 @@ -38,7 +38,7 @@ src_prepare() {
63 sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" CMakeLists.txt || die
64 sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" cmake/FindSIP.cmake || die
65
66 - cmake-utils_src_prepare
67 + cmake_src_prepare
68 }
69
70 src_configure() {
71 @@ -48,5 +48,5 @@ src_configure() {
72 -DBUILD_STATIC=$(usex static-libs ON OFF)
73 )
74
75 - cmake-utils_src_configure
76 + cmake_src_configure
77 }
78
79 diff --git a/dev-libs/libcharon/libcharon-4.2.0.ebuild b/dev-libs/libcharon/libcharon-4.2.0.ebuild
80 index 1d3eec7064d..f216952ac7f 100644
81 --- a/dev-libs/libcharon/libcharon-4.2.0.ebuild
82 +++ b/dev-libs/libcharon/libcharon-4.2.0.ebuild
83 @@ -4,7 +4,7 @@
84 EAPI=7
85
86 PYTHON_COMPAT=( python3_6 )
87 -inherit cmake-utils python-single-r1
88 +inherit cmake python-single-r1
89
90 MY_PN="libCharon"
91
92
93 diff --git a/dev-libs/libcharon/libcharon-4.3.0.ebuild b/dev-libs/libcharon/libcharon-4.3.0.ebuild
94 index 4b4f9516edd..cf5a18458b0 100644
95 --- a/dev-libs/libcharon/libcharon-4.3.0.ebuild
96 +++ b/dev-libs/libcharon/libcharon-4.3.0.ebuild
97 @@ -4,7 +4,7 @@
98 EAPI=7
99
100 PYTHON_COMPAT=( python3_6 )
101 -inherit cmake-utils python-single-r1
102 +inherit cmake python-single-r1
103
104 MY_PN="libCharon"
105
106 @@ -26,5 +26,5 @@ src_prepare() {
107 # Use current python version, not the latest installed
108 sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" CMakeLists.txt || die
109
110 - cmake-utils_src_prepare
111 + cmake_src_prepare
112 }
113
114 diff --git a/dev-libs/libsavitar/libsavitar-4.2.0.ebuild b/dev-libs/libsavitar/libsavitar-4.2.0.ebuild
115 index 4c15ddaee24..26c10c69fca 100644
116 --- a/dev-libs/libsavitar/libsavitar-4.2.0.ebuild
117 +++ b/dev-libs/libsavitar/libsavitar-4.2.0.ebuild
118 @@ -4,7 +4,7 @@
119 EAPI=7
120
121 PYTHON_COMPAT=( python3_6 )
122 -inherit cmake-utils python-single-r1
123 +inherit cmake python-single-r1
124
125 MY_PN="libSavitar"
126
127 @@ -38,5 +38,5 @@ src_configure() {
128 -DBUILD_STATIC=$(usex static-libs ON OFF)
129 )
130
131 - cmake-utils_src_configure
132 + cmake_src_configure
133 }
134
135 diff --git a/dev-libs/libsavitar/libsavitar-4.3.0.ebuild b/dev-libs/libsavitar/libsavitar-4.3.0.ebuild
136 index 4ddf5a3e942..1b2ed0ae3c2 100644
137 --- a/dev-libs/libsavitar/libsavitar-4.3.0.ebuild
138 +++ b/dev-libs/libsavitar/libsavitar-4.3.0.ebuild
139 @@ -4,7 +4,7 @@
140 EAPI=7
141
142 PYTHON_COMPAT=( python3_6 )
143 -inherit cmake-utils python-single-r1
144 +inherit cmake python-single-r1
145
146 MY_PN="libSavitar"
147
148 @@ -37,7 +37,7 @@ src_prepare() {
149 sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" CMakeLists.txt || die
150 sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" cmake/FindSIP.cmake || die
151
152 - cmake-utils_src_prepare
153 + cmake_src_prepare
154 }
155
156 src_configure() {
157 @@ -46,5 +46,5 @@ src_configure() {
158 -DBUILD_STATIC=$(usex static-libs ON OFF)
159 )
160
161 - cmake-utils_src_configure
162 + cmake_src_configure
163 }
164
165 diff --git a/dev-python/uranium/uranium-4.2.0.ebuild b/dev-python/uranium/uranium-4.2.0.ebuild
166 index 2b2c66367c3..8b3f307a109 100644
167 --- a/dev-python/uranium/uranium-4.2.0.ebuild
168 +++ b/dev-python/uranium/uranium-4.2.0.ebuild
169 @@ -5,7 +5,7 @@ EAPI=7
170
171 PYTHON_COMPAT=( python3_6 )
172
173 -inherit cmake-utils python-single-r1
174 +inherit cmake python-single-r1
175
176 MY_PN="Uranium"
177
178 @@ -17,9 +17,10 @@ LICENSE="LGPL-3"
179 SLOT="0"
180 KEYWORDS="~amd64 ~x86"
181 IUSE="debug doc test"
182 -RESTRICT="!test? ( test )"
183 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
184
185 +RESTRICT="!test? ( test )"
186 +
187 BDEPEND="${PYTHON_DEPS}
188 sys-devel/gettext
189 doc? ( app-doc/doxygen )
190 @@ -44,8 +45,9 @@ S="${WORKDIR}/${MY_PN}-${PV}"
191
192 src_configure() {
193 local mycmakeargs=(
194 - -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" )
195 - cmake-utils_src_configure
196 + -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)"
197 + )
198 + cmake_src_configure
199
200 if ! use debug; then
201 sed -i 's/logging.DEBUG/logging.ERROR/' plugins/ConsoleLogger/ConsoleLogger.py || die
202 @@ -54,14 +56,14 @@ src_configure() {
203 }
204
205 src_compile() {
206 - cmake-utils_src_compile
207 + cmake_src_compile
208 if use doc; then
209 - cmake-utils_src_compile doc
210 + cmake_src_compile doc
211 DOCS+=( html )
212 fi
213 }
214
215 src_install() {
216 - cmake-utils_src_install
217 + cmake_src_install
218 python_optimize "${D}/usr/$(get_libdir)"
219 }
220
221 diff --git a/dev-python/uranium/uranium-4.3.0.ebuild b/dev-python/uranium/uranium-4.3.0.ebuild
222 index e0867d59d2f..4ca593a0158 100644
223 --- a/dev-python/uranium/uranium-4.3.0.ebuild
224 +++ b/dev-python/uranium/uranium-4.3.0.ebuild
225 @@ -5,7 +5,7 @@ EAPI=7
226
227 PYTHON_COMPAT=( python3_6 )
228
229 -inherit cmake-utils python-single-r1
230 +inherit cmake python-single-r1
231
232 MY_PN="Uranium"
233
234 @@ -17,9 +17,10 @@ LICENSE="LGPL-3"
235 SLOT="0"
236 KEYWORDS="~amd64 ~x86"
237 IUSE="debug doc test"
238 -RESTRICT="!test? ( test )"
239 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
240
241 +RESTRICT="!test? ( test )"
242 +
243 BDEPEND="${PYTHON_DEPS}
244 sys-devel/gettext
245 doc? ( app-doc/doxygen )
246 @@ -47,8 +48,9 @@ S="${WORKDIR}/${MY_PN}-${PV}"
247
248 src_configure() {
249 local mycmakeargs=(
250 - -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" )
251 - cmake-utils_src_configure
252 + -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)"
253 + )
254 + cmake_src_configure
255
256 if ! use debug; then
257 sed -i 's/logging.DEBUG/logging.ERROR/' plugins/ConsoleLogger/ConsoleLogger.py || die
258 @@ -57,14 +59,14 @@ src_configure() {
259 }
260
261 src_compile() {
262 - cmake-utils_src_compile
263 + cmake_src_compile
264 if use doc; then
265 - cmake-utils_src_compile doc
266 + cmake_src_compile doc
267 DOCS+=( html )
268 fi
269 }
270
271 src_install() {
272 - cmake-utils_src_install
273 + cmake_src_install
274 python_optimize "${D}/usr/$(get_libdir)"
275 }
276
277 diff --git a/media-gfx/cura/cura-4.2.1.ebuild b/media-gfx/cura/cura-4.2.1.ebuild
278 index 5068f8f59f7..ba1e9563f25 100644
279 --- a/media-gfx/cura/cura-4.2.1.ebuild
280 +++ b/media-gfx/cura/cura-4.2.1.ebuild
281 @@ -4,7 +4,7 @@
282 EAPI=7
283
284 PYTHON_COMPAT=( python3_6 )
285 -inherit cmake-utils desktop python-single-r1 xdg
286 +inherit cmake desktop python-single-r1 xdg
287
288 MY_PN=Cura
289
290 @@ -36,18 +36,18 @@ S="${WORKDIR}/${MY_PN}-${PV}"
291
292 src_prepare() {
293 sed -i "s/set(CURA_VERSION \"master\"/set(CURA_VERSION \"${PV}\"/" CMakeLists.txt || die
294 - cmake-utils_src_prepare
295 + cmake_src_prepare
296 }
297
298 src_configure() {
299 local mycmakeargs=(
300 -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)"
301 )
302 - cmake-utils_src_configure
303 + cmake_src_configure
304 }
305
306 src_install() {
307 - cmake-utils_src_install
308 + cmake_src_install
309 doicon icons/*.png
310 python_optimize "${D}${get_libdir}"
311 }
312
313 diff --git a/media-gfx/cura/cura-4.3.0.ebuild b/media-gfx/cura/cura-4.3.0.ebuild
314 index 5068f8f59f7..ba1e9563f25 100644
315 --- a/media-gfx/cura/cura-4.3.0.ebuild
316 +++ b/media-gfx/cura/cura-4.3.0.ebuild
317 @@ -4,7 +4,7 @@
318 EAPI=7
319
320 PYTHON_COMPAT=( python3_6 )
321 -inherit cmake-utils desktop python-single-r1 xdg
322 +inherit cmake desktop python-single-r1 xdg
323
324 MY_PN=Cura
325
326 @@ -36,18 +36,18 @@ S="${WORKDIR}/${MY_PN}-${PV}"
327
328 src_prepare() {
329 sed -i "s/set(CURA_VERSION \"master\"/set(CURA_VERSION \"${PV}\"/" CMakeLists.txt || die
330 - cmake-utils_src_prepare
331 + cmake_src_prepare
332 }
333
334 src_configure() {
335 local mycmakeargs=(
336 -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)"
337 )
338 - cmake-utils_src_configure
339 + cmake_src_configure
340 }
341
342 src_install() {
343 - cmake-utils_src_install
344 + cmake_src_install
345 doicon icons/*.png
346 python_optimize "${D}${get_libdir}"
347 }
348
349 diff --git a/media-gfx/curaengine/curaengine-4.2.0.ebuild b/media-gfx/curaengine/curaengine-4.2.0.ebuild
350 index 8fc2576a3f8..775c51f9f07 100644
351 --- a/media-gfx/curaengine/curaengine-4.2.0.ebuild
352 +++ b/media-gfx/curaengine/curaengine-4.2.0.ebuild
353 @@ -3,7 +3,7 @@
354
355 EAPI=7
356
357 -inherit cmake-utils toolchain-funcs
358 +inherit cmake toolchain-funcs
359
360 MY_PN="CuraEngine"
361
362 @@ -45,11 +45,11 @@ pkg_pretend() {
363
364 src_configure() {
365 local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
366 - cmake-utils_src_configure
367 + cmake_src_configure
368 }
369
370 src_compile() {
371 - cmake-utils_src_make
372 + cmake_build
373 if use doc; then
374 doxygen
375 mv docs/html . || die
376
377 diff --git a/media-gfx/curaengine/curaengine-4.3.0.ebuild b/media-gfx/curaengine/curaengine-4.3.0.ebuild
378 index b2a9c9017ef..3e767bdc29b 100644
379 --- a/media-gfx/curaengine/curaengine-4.3.0.ebuild
380 +++ b/media-gfx/curaengine/curaengine-4.3.0.ebuild
381 @@ -3,7 +3,7 @@
382
383 EAPI=7
384
385 -inherit cmake-utils toolchain-funcs
386 +inherit cmake toolchain-funcs
387
388 MY_PN="CuraEngine"
389
390 @@ -31,11 +31,11 @@ S="${WORKDIR}/${MY_PN}-${PV}"
391
392 src_configure() {
393 local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
394 - cmake-utils_src_configure
395 + cmake_src_configure
396 }
397
398 src_compile() {
399 - cmake-utils_src_make
400 + cmake_build
401 if use doc; then
402 doxygen || die
403 mv docs/html . || die
404
405 diff --git a/media-gfx/fdm-materials/fdm-materials-4.2.0.ebuild b/media-gfx/fdm-materials/fdm-materials-4.2.0.ebuild
406 index e2cea43f6d8..54cf788eca5 100644
407 --- a/media-gfx/fdm-materials/fdm-materials-4.2.0.ebuild
408 +++ b/media-gfx/fdm-materials/fdm-materials-4.2.0.ebuild
409 @@ -3,7 +3,7 @@
410
411 EAPI=7
412
413 -inherit cmake-utils
414 +inherit cmake
415
416 MY_PN="fdm_materials"
417
418
419 diff --git a/media-gfx/fdm-materials/fdm-materials-4.3.0.ebuild b/media-gfx/fdm-materials/fdm-materials-4.3.0.ebuild
420 index e2cea43f6d8..54cf788eca5 100644
421 --- a/media-gfx/fdm-materials/fdm-materials-4.3.0.ebuild
422 +++ b/media-gfx/fdm-materials/fdm-materials-4.3.0.ebuild
423 @@ -3,7 +3,7 @@
424
425 EAPI=7
426
427 -inherit cmake-utils
428 +inherit cmake
429
430 MY_PN="fdm_materials"