1 |
commit: 57d801e990d0222d646040a227b3b987f0a7c37e |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 24 23:29:43 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 24 23:31:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d801e9 |
7 |
|
8 |
sys-apps/portage: Add zstd dep to 9999 |
9 |
|
10 |
See: https://github.com/gentoo/portage/pull/549 |
11 |
Bug: https://bugs.gentoo.org/715108 |
12 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
13 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
14 |
|
15 |
sys-apps/portage/portage-9999.ebuild | 5 +++++ |
16 |
1 file changed, 5 insertions(+) |
17 |
|
18 |
diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild |
19 |
index c635ab675c7..a98a909a8e4 100644 |
20 |
--- a/sys-apps/portage/portage-9999.ebuild |
21 |
+++ b/sys-apps/portage/portage-9999.ebuild |
22 |
@@ -32,6 +32,7 @@ DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') ) |
23 |
# app-portage/gemato goes without PYTHON_USEDEP since we're calling |
24 |
# the executable. |
25 |
RDEPEND=" |
26 |
+ app-arch/zstd |
27 |
>=app-arch/tar-1.27 |
28 |
dev-lang/python-exec:2 |
29 |
!build? ( |
30 |
@@ -231,6 +232,10 @@ pkg_preinst() { |
31 |
PYTHONPATH="${D%/}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \ |
32 |
"${PYTHON}" -m portage._compat_upgrade.default_locations || die |
33 |
|
34 |
+ env -u BINPKG_COMPRESS \ |
35 |
+ PYTHONPATH="${D%/}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \ |
36 |
+ "${PYTHON}" -m portage._compat_upgrade.binpkg_compression || die |
37 |
+ |
38 |
# elog dir must exist to avoid logrotate error for bug #415911. |
39 |
# This code runs in preinst in order to bypass the mapping of |
40 |
# portage:portage to root:root which happens after src_install. |