Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
Date: Thu, 20 Aug 2020 01:51:10
Message-Id: 1597888260.3b4ffa83366edb482963c79eb42fa85ac71e5a9c.chutzpah@gentoo
1 commit: 3b4ffa83366edb482963c79eb42fa85ac71e5a9c
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Thu Aug 20 01:51:00 2020 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 20 01:51:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b4ffa83
7
8 app-arch/pixz: Sync 9999
9
10 Copyright: Sony Interactive Entertainment Inc.
11 Package-Manager: Portage-3.0.4, Repoman-3.0.1
12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
13
14 app-arch/pixz/pixz-9999.ebuild | 21 +++++++++++++++------
15 1 file changed, 15 insertions(+), 6 deletions(-)
16
17 diff --git a/app-arch/pixz/pixz-9999.ebuild b/app-arch/pixz/pixz-9999.ebuild
18 index 32751bd95c4..c6564c5abe3 100644
19 --- a/app-arch/pixz/pixz-9999.ebuild
20 +++ b/app-arch/pixz/pixz-9999.ebuild
21 @@ -1,7 +1,7 @@
22 # Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI="6"
26 +EAPI=7
27
28 inherit flag-o-matic
29
30 @@ -20,12 +20,17 @@ LICENSE="BSD-2"
31 SLOT="0"
32 IUSE="static"
33
34 -LIB_DEPEND=">=app-arch/libarchive-2.8:=[static-libs(+)]
35 - >=app-arch/xz-utils-5[static-libs(+)]"
36 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
37 +LIB_DEPEND="
38 + >=app-arch/libarchive-2.8:=[static-libs(+)]
39 + >=app-arch/xz-utils-5[static-libs(+)]
40 +"
41 +RDEPEND="
42 + !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
43 +"
44 DEPEND="${RDEPEND}
45 - static? ( ${LIB_DEPEND} )"
46 -[[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc"
47 + static? ( ${LIB_DEPEND} )
48 +"
49 +[[ ${PV} == "9999" ]] && BDEPEND+=" app-text/asciidoc"
50
51 src_prepare() {
52 default
53 @@ -40,3 +45,7 @@ src_configure() {
54 export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no)
55 econf
56 }
57 +
58 +src_test() {
59 + emake check
60 +}