Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
Date: Fri, 03 Jan 2020 19:08:21
Message-Id: 1578077968.c6f94bfb32cc2d062fe565944858b1bbb85b6cdd.asturm@gentoo
1 commit: c6f94bfb32cc2d062fe565944858b1bbb85b6cdd
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 3 18:59:28 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 3 18:59:28 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6f94bfb
7
8 media-gfx/yafaray: Switch to cmake.eclass
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-gfx/yafaray/yafaray-3.3.0-r2.ebuild | 10 +++++-----
14 1 file changed, 5 insertions(+), 5 deletions(-)
15
16 diff --git a/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild b/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild
17 index c54d1fbb0c7..dfaafd34cbb 100644
18 --- a/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild
19 +++ b/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild
20 @@ -1,10 +1,10 @@
21 -# Copyright 1999-2019 Gentoo Authors
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26 PYTHON_COMPAT=( python3_{5,6,7} )
27
28 -inherit cmake-utils flag-o-matic python-single-r1
29 +inherit cmake flag-o-matic python-single-r1
30
31 DESCRIPTION="A free open-source montecarlo raytracing engine"
32 HOMEPAGE="http://www.yafaray.org"
33 @@ -41,7 +41,7 @@ pkg_setup() {
34
35 src_prepare() {
36 append-flags "-pthread"
37 - cmake-utils_src_prepare
38 + cmake_src_prepare
39
40 sed -i -e "s/@YAFARAY_BLENDER_EXPORTER_VERSION@/v${PV}/" "${WORKDIR}/Blender-Exporter-${PV}/__init__.py" || die
41
42 @@ -72,11 +72,11 @@ src_configure() {
43 -DWITH_Freetype="$(usex truetype)"
44 )
45
46 - cmake-utils_src_configure
47 + cmake_src_configure
48 }
49
50 src_install() {
51 - cmake-utils_src_install
52 + cmake_src_install
53
54 python_domodule "${BUILD_DIR}/src/bindings/yafaray_v3_interface.py"
55 python_domodule "${BUILD_DIR}/src/bindings/_yafaray_v3_interface.so"