diff options
author | Ian Leonard <antonlacon@gmail.com> | 2020-05-07 08:51:38 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2020-05-07 09:12:27 -0700 |
commit | e435225e72637d8383e06b0e0244c697e4d1423f (patch) | |
tree | 174a567b3752be74af973cbf8c9bfe059f6b268f /sys-apps | |
parent | media-sound/qsynth: amd64 stable wrt bug #720454 (diff) | |
download | gentoo-e435225e72637d8383e06b0e0244c697e4d1423f.tar.gz gentoo-e435225e72637d8383e06b0e0244c697e4d1423f.tar.bz2 gentoo-e435225e72637d8383e06b0e0244c697e4d1423f.zip |
sys-apps/portage: convert USE zstd to USE flag binpkg-zstd
Bug: https://bugs.gentoo.org/715108
Bug: https://bugs.gentoo.org/719456
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/portage/metadata.xml | 1 | ||||
-rw-r--r-- | sys-apps/portage/portage-9999.ebuild | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys-apps/portage/metadata.xml b/sys-apps/portage/metadata.xml index 062dafe62481..0f9d932ce5e7 100644 --- a/sys-apps/portage/metadata.xml +++ b/sys-apps/portage/metadata.xml @@ -12,6 +12,7 @@ </maintainer> <use> <flag name="apidoc">Build html API documentation with sphinx-apidoc.</flag> + <flag name="binpkg-zstd">Use zstd compression with creating binary packages.</flag> <flag name="gentoo-dev">Enable features required for Gentoo ebuild development.</flag> <flag name="ipc">Use inter-process communication between portage and running ebuilds. diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild index e8b41acd67ab..f5da3ae281b4 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 zstd" +IUSE="apidoc binpkg-zstd build doc gentoo-dev +ipc +native-extensions +rsync-verify selinux xattr" DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') ) >=app-arch/tar-1.27 @@ -53,7 +53,7 @@ RDEPEND=" xattr? ( kernel_linux? ( >=sys-apps/install-xattr-0.3 ) ) - zstd? ( app-arch/zstd ) + binpkg-zstd? ( app-arch/zstd ) !<app-admin/logrotate-3.8.0" PDEPEND=" !build? ( @@ -115,7 +115,7 @@ python_prepare_all() { || die "failed to append to make.globals" fi - if use zstd ; then + if use binpkg-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" |