app-misc/ktoblzcheck: EAPI-7 bump, fix REQUIRED_USE
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 25 Sep 2019 21:02:49 +0000 (23:02 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 25 Sep 2019 21:33:56 +0000 (23:33 +0200)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-misc/ktoblzcheck/ktoblzcheck-1.49.ebuild

index 7b070a25b3a4770c76fdf54e77b4916784cfef28..65786c991f581b2dd8501257610c18f8b0367245 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 PYTHON_COMPAT=( python2_7 )
 inherit python-single-r1
@@ -15,7 +15,7 @@ SLOT="0"
 KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
 IUSE="python"
 
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
        app-text/recode
@@ -41,5 +41,5 @@ src_configure() {
 
 src_install() {
        default
-       find "${ED}" -name '*.la' -exec rm -f {} +
+       find "${D}" -name '*.la' -type f -delete || die
 }