sci-libs/cantera: 2.4.0-r1. Switch to EAPI 7
authorband-a-prend <torokhov-s-a@yandex.ru>
Thu, 18 Jul 2019 10:08:02 +0000 (13:08 +0300)
committerMichał Górny <mgorny@gentoo.org>
Fri, 19 Jul 2019 16:44:58 +0000 (18:44 +0200)
Closes: https://github.com/gentoo/gentoo/pull/12303
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-libs/cantera/cantera-2.4.0-r1.ebuild

index 99d4566ae1e13d6b63900dc3a4ee93c8195055fb..15cb1776f092183e32dd3ca98898e563ad7651a0 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 PYTHON_COMPAT=( python3_{5,6,7} )
 
@@ -100,12 +100,12 @@ src_test() {
 }
 
 src_install() {
-       escons install stage_dir="${D%/}" libdirname="$(get_libdir)"
+       escons install stage_dir="${D}" libdirname="$(get_libdir)"
        if ! use cti ; then
-               rm -r "${D%/}/usr/share/man" || die "Can't remove man files."
+               rm -r "${D}/usr/share/man" || die "Can't remove man files."
        else
                # Run the byte-compile of modules
-               python_optimize "${D%/}/$(python_get_sitedir)/${PN}"
+               python_optimize "${D}/$(python_get_sitedir)/${PN}"
        fi
 }