From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/portage/, profiles/arch/riscv/
Date: Tue, 5 May 2020 23:56:55 +0000 (UTC) [thread overview]
Message-ID: <1588723003.6a381b421b8283c73c2bd6e5d4e4a46cbe9a43a2.zmedico@gentoo> (raw)
commit: 6a381b421b8283c73c2bd6e5d4e4a46cbe9a43a2
Author: Ian Leonard <antonlacon <AT> gmail <DOT> com>
AuthorDate: Sat Apr 25 20:32:57 2020 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue May 5 23:56:43 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a381b42
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 <antonlacon <AT> gmail.com>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
profiles/arch/riscv/package.use.mask | 4 ++++
sys-apps/portage/portage-9999.ebuild | 9 ++++++++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/profiles/arch/riscv/package.use.mask b/profiles/arch/riscv/package.use.mask
index 0d4cb1e3de5..bb0fdc58ad0 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 <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
diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild
index f581cb8ae97..4134cca8ce9 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 )
!<app-admin/logrotate-3.8.0"
PDEPEND="
!build? (
@@ -115,6 +116,12 @@ python_prepare_all() {
|| 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"
reply other threads:[~2020-05-05 23:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1588723003.6a381b421b8283c73c2bd6e5d4e4a46cbe9a43a2.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox