summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-05-24 16:29:43 -0700
committerZac Medico <zmedico@gentoo.org>2020-05-24 16:31:03 -0700
commit57d801e990d0222d646040a227b3b987f0a7c37e (patch)
treee115e3d8ecd182cb14c0a871eba370a10caa25a2 /sys-apps/portage
parentdev-util/include-what-you-use: bump up to 10.0 (diff)
downloadgentoo-57d801e990d0222d646040a227b3b987f0a7c37e.tar.gz
gentoo-57d801e990d0222d646040a227b3b987f0a7c37e.tar.bz2
gentoo-57d801e990d0222d646040a227b3b987f0a7c37e.zip
sys-apps/portage: Add zstd dep to 9999
See: https://github.com/gentoo/portage/pull/549 Bug: https://bugs.gentoo.org/715108 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'sys-apps/portage')
-rw-r--r--sys-apps/portage/portage-9999.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild
index c635ab675c70..a98a909a8e41 100644
--- a/sys-apps/portage/portage-9999.ebuild
+++ b/sys-apps/portage/portage-9999.ebuild
@@ -32,6 +32,7 @@ DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') )
# app-portage/gemato goes without PYTHON_USEDEP since we're calling
# the executable.
RDEPEND="
+ app-arch/zstd
>=app-arch/tar-1.27
dev-lang/python-exec:2
!build? (
@@ -231,6 +232,10 @@ pkg_preinst() {
PYTHONPATH="${D%/}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
"${PYTHON}" -m portage._compat_upgrade.default_locations || die
+ env -u BINPKG_COMPRESS \
+ PYTHONPATH="${D%/}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
+ "${PYTHON}" -m portage._compat_upgrade.binpkg_compression || die
+
# elog dir must exist to avoid logrotate error for bug #415911.
# This code runs in preinst in order to bypass the mapping of
# portage:portage to root:root which happens after src_install.