From: Ian Leonard Date: Sat, 25 Apr 2020 20:32:57 +0000 (-0700) Subject: sys-apps/portage: add zstd USE flag X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6a381b421b8283c73c2bd6e5d4e4a46cbe9a43a2;p=gentoo.git sys-apps/portage: add zstd USE flag The zstd USE flag sets the default binary package compression to use zstd and adds it as a dependency. Masked on riscv until app-arch/zstd is keyworded. Closes: https://github.com/gentoo/gentoo/pull/15520 Bug: https://bugs.gentoo.org/715108 Bug: https://bugs.gentoo.org/719456 Signed-off-by: Ian Leonard Signed-off-by: Zac Medico --- diff --git a/profiles/arch/riscv/package.use.mask b/profiles/arch/riscv/package.use.mask index 0d4cb1e3de58..bb0fdc58ad0c 100644 --- a/profiles/arch/riscv/package.use.mask +++ b/profiles/arch/riscv/package.use.mask @@ -1,6 +1,10 @@ # Copyright 2019-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Zac Medico (2020-05-05) +# Mask until app-arch/zstd is keyworded +sys-apps/portage zstd + # Patrick McLean (2020-04-16) # Lots of python dependencies, mask to facilitate keywording # keywording dev-libs/libfido2 diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild index f581cb8ae977..4134cca8ce92 100644 --- a/sys-apps/portage/portage-9999.ebuild +++ b/sys-apps/portage/portage-9999.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" 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 @@ -54,6 +54,7 @@ RDEPEND=" xattr? ( kernel_linux? ( >=sys-apps/install-xattr-0.3 ) ) + zstd? ( app-arch/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"