Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/cantera/
Date: Fri, 19 Jul 2019 16:45:11
Message-Id: 1563554698.960d18cd7146b2462d7b1eaf09b5cb46ab6072c5.mgorny@gentoo
1 commit: 960d18cd7146b2462d7b1eaf09b5cb46ab6072c5
2 Author: band-a-prend <torokhov-s-a <AT> yandex <DOT> ru>
3 AuthorDate: Thu Jul 18 10:08:02 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 19 16:44:58 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960d18cd
7
8 sci-libs/cantera: 2.4.0-r1. Switch to EAPI 7
9
10 Closes: https://github.com/gentoo/gentoo/pull/12303
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 sci-libs/cantera/cantera-2.4.0-r1.ebuild | 8 ++++----
14 1 file changed, 4 insertions(+), 4 deletions(-)
15
16 diff --git a/sci-libs/cantera/cantera-2.4.0-r1.ebuild b/sci-libs/cantera/cantera-2.4.0-r1.ebuild
17 index 99d4566ae1e..15cb1776f09 100644
18 --- a/sci-libs/cantera/cantera-2.4.0-r1.ebuild
19 +++ b/sci-libs/cantera/cantera-2.4.0-r1.ebuild
20 @@ -1,7 +1,7 @@
21 # Copyright 1999-2019 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=6
25 +EAPI=7
26
27 PYTHON_COMPAT=( python3_{5,6,7} )
28
29 @@ -100,12 +100,12 @@ src_test() {
30 }
31
32 src_install() {
33 - escons install stage_dir="${D%/}" libdirname="$(get_libdir)"
34 + escons install stage_dir="${D}" libdirname="$(get_libdir)"
35 if ! use cti ; then
36 - rm -r "${D%/}/usr/share/man" || die "Can't remove man files."
37 + rm -r "${D}/usr/share/man" || die "Can't remove man files."
38 else
39 # Run the byte-compile of modules
40 - python_optimize "${D%/}/$(python_get_sitedir)/${PN}"
41 + python_optimize "${D}/$(python_get_sitedir)/${PN}"
42 fi
43 }