mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/salt: Remove contextvars dependency
Closes: https://bugs.gentoo.org/799431 Closes: https://github.com/gentoo/gentoo/pull/21547 Signed-off-by: Francisco Javier Félix <ffelix@inode64.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
committed by
Matt Turner
parent
31faab1325
commit
d4af5bb08d
@@ -143,6 +143,9 @@ python_prepare() {
|
||||
local abc
|
||||
abc="$("${EPYTHON}" -c 'import collections.abc; print("|".join((c for c in dir(collections.abc) if not c.startswith("_"))))')" || die
|
||||
find -name '*.py' -type f -print0 | xargs -0 sed -r -e "s:collections\\.(${abc}):collections.abc.\\1:g" -i || die
|
||||
|
||||
# removes contextvars, see bug: https://bugs.gentoo.org/799431
|
||||
sed -i '/^contextvars/d' requirements/base.txt || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
Reference in New Issue
Block a user