# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Zac Medico <zmedico@gentoo.org> (2020-05-05)
+# Mask until app-arch/zstd is keyworded
+sys-apps/portage zstd
+
# Patrick McLean <chutzpah@gentoo.org> (2020-04-16)
# Lots of python dependencies, mask to facilitate keywording
# keywording dev-libs/libfido2
LICENSE="GPL-2"
KEYWORDS=""
SLOT="0"
-IUSE="apidoc build doc gentoo-dev +ipc +native-extensions +rsync-verify selinux xattr"
+IUSE="apidoc build doc gentoo-dev +ipc +native-extensions +rsync-verify selinux xattr zstd"
DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') )
>=app-arch/tar-1.27
xattr? ( kernel_linux? (
>=sys-apps/install-xattr-0.3
) )
+ zstd? ( app-arch/zstd )
!<app-admin/logrotate-3.8.0"
PDEPEND="
!build? (
|| die "failed to append to make.globals"
fi
+ if use zstd ; then
+ einfo "Adding BINGPKG_COMPRESS=\"zstd\" to make.globals ..."
+ echo -e '\nBINGPKG_COMPRESS="zstd"' >> cnf/make.globals \
+ || die "failed to append to make.globals"
+ fi
+
if use build || ! use rsync-verify; then
sed -e '/^sync-rsync-verify-metamanifest/s|yes|no|' \
-i cnf/repos.conf || die "sed failed"