commit:     871c4217af48b7a615fd92cfbcf15ae5e5984928
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 10 10:38:27 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jul 10 10:38:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=871c4217

app-arch/zpaq: update EAPI 6 -> 8

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 app-arch/zpaq/{zpaq-7.15.ebuild => zpaq-7.15-r1.ebuild} | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/app-arch/zpaq/zpaq-7.15.ebuild b/app-arch/zpaq/zpaq-7.15-r1.ebuild
similarity index 87%
rename from app-arch/zpaq/zpaq-7.15.ebuild
rename to app-arch/zpaq/zpaq-7.15-r1.ebuild
index aabf4cdca479..cd79e48be432 100644
--- a/app-arch/zpaq/zpaq-7.15.ebuild
+++ b/app-arch/zpaq/zpaq-7.15-r1.ebuild
@@ -1,14 +1,16 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit flag-o-matic pax-utils toolchain-funcs
 
-MY_P=${PN}${PV/./}
+MY_P="${PN}${PV/./}"
+
 DESCRIPTION="Journaling incremental deduplicating archiving compressor"
 HOMEPAGE="http://mattmahoney.net/dc/zpaq.html";
 SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip";
+S="${WORKDIR}"
 
 LICENSE="Unlicense"
 SLOT="0"
@@ -16,12 +18,10 @@ KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="debug +jit"
 
 # perl for pod2man
-DEPEND="
+BDEPEND="
        app-arch/unzip
        dev-lang/perl"
 
-S=${WORKDIR}
-
 src_compile() {
        use debug || append-cppflags -DNDEBUG
        use jit || append-cppflags -DNOJIT
@@ -34,8 +34,8 @@ src_test() {
 }
 
 src_install() {
-       emake install PREFIX="${ED%/}"/usr
-       use jit && pax-mark m "${ED%/}"/usr/bin/zpaq
+       emake install PREFIX="${ED}"/usr
+       use jit && pax-mark m "${ED}"/usr/bin/zpaq
        einstalldocs
 }
 

Reply via email to