summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2020-08-19 18:51:00 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-08-19 18:51:00 -0700
commit3b4ffa83366edb482963c79eb42fa85ac71e5a9c (patch)
tree267f9613ef5f1d4700226fcba617608b9e8de28e /app-arch/pixz
parentapp-arch/pixz-1.0.7: Version bump (diff)
downloadgentoo-3b4ffa83366edb482963c79eb42fa85ac71e5a9c.tar.gz
gentoo-3b4ffa83366edb482963c79eb42fa85ac71e5a9c.tar.bz2
gentoo-3b4ffa83366edb482963c79eb42fa85ac71e5a9c.zip
app-arch/pixz: Sync 9999
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-arch/pixz')
-rw-r--r--app-arch/pixz/pixz-9999.ebuild21
1 files changed, 15 insertions, 6 deletions
diff --git a/app-arch/pixz/pixz-9999.ebuild b/app-arch/pixz/pixz-9999.ebuild
index 32751bd95c46..c6564c5abe3d 100644
--- a/app-arch/pixz/pixz-9999.ebuild
+++ b/app-arch/pixz/pixz-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI=7
inherit flag-o-matic
@@ -20,12 +20,17 @@ LICENSE="BSD-2"
SLOT="0"
IUSE="static"
-LIB_DEPEND=">=app-arch/libarchive-2.8:=[static-libs(+)]
- >=app-arch/xz-utils-5[static-libs(+)]"
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
+LIB_DEPEND="
+ >=app-arch/libarchive-2.8:=[static-libs(+)]
+ >=app-arch/xz-utils-5[static-libs(+)]
+"
+RDEPEND="
+ !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+"
DEPEND="${RDEPEND}
- static? ( ${LIB_DEPEND} )"
-[[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc"
+ static? ( ${LIB_DEPEND} )
+"
+[[ ${PV} == "9999" ]] && BDEPEND+=" app-text/asciidoc"
src_prepare() {
default
@@ -40,3 +45,7 @@ src_configure() {
export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no)
econf
}
+
+src_test() {
+ emake check
+}