app-arch/unzip: bump EAPI
authorThomas Deutschmann <whissi@gentoo.org>
Sat, 10 Aug 2019 17:09:34 +0000 (19:09 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sat, 10 Aug 2019 17:12:10 +0000 (19:12 +0200)
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
app-arch/unzip/unzip-6.0_p25.ebuild

index bdbcb3b4e539cedee028387c55110dfca47d2380..dcd460f9f04998ba97fb7f173a0add18a15059ed 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit eutils toolchain-funcs flag-o-matic
+inherit toolchain-funcs flag-o-matic
 
 MY_PV="${PV//.}"
 MY_PV="${MY_PV%_p*}"
@@ -57,14 +57,14 @@ src_prepare() {
 
 src_configure() {
        case ${CHOST} in
-       i?86*-*linux*)       TARGET="linux_asm" ;;
-       *linux*)             TARGET="linux_noasm" ;;
-       i?86*-*bsd* | \
-       i?86*-dragonfly*)    TARGET="freebsd" ;; # mislabelled bsd with x86 asm
-       *bsd* | *dragonfly*) TARGET="bsd" ;;
-       *-darwin*)           TARGET="macosx" ;;
-       *-cygwin*)           TARGET="cygwin" ;;
-       *) die "Unknown target; please update the ebuild to handle ${CHOST}     " ;;
+               i?86*-*linux*)       TARGET="linux_asm" ;;
+               *linux*)             TARGET="linux_noasm" ;;
+               i?86*-*bsd* | \
+               i?86*-dragonfly*)    TARGET="freebsd" ;; # mislabelled bsd with x86 asm
+               *bsd* | *dragonfly*) TARGET="bsd" ;;
+               *-darwin*)           TARGET="macosx" ;;
+               *-cygwin*)           TARGET="cygwin" ;;
+               *) die "Unknown target; please update the ebuild to handle ${CHOST}     " ;;
        esac
 
        [[ ${CHOST} == *linux* ]] && append-cppflags -DNO_LCHMOD
@@ -75,7 +75,7 @@ src_configure() {
 
 src_compile() {
        ASFLAGS="${ASFLAGS} $(get_abi_var CFLAGS)" \
-       emake -f unix/Makefile ${TARGET}
+               emake -f unix/Makefile ${TARGET}
 }
 
 src_install() {