commit:     d4af5bb08dbb9e759d6fac16cf23feba26ea7e3b
Author:     Francisco Javier Félix <web <AT> inode64 <DOT> com>
AuthorDate: Wed Jul  7 08:37:41 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Jul 17 17:27:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4af5bb0

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 <AT> inode64.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 app-admin/salt/{salt-3003.1.ebuild => salt-3003.1-r1.ebuild} | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-admin/salt/salt-3003.1.ebuild 
b/app-admin/salt/salt-3003.1-r1.ebuild
similarity index 98%
rename from app-admin/salt/salt-3003.1.ebuild
rename to app-admin/salt/salt-3003.1-r1.ebuild
index 83ee4b77905..5c542bc2bd4 100644
--- a/app-admin/salt/salt-3003.1.ebuild
+++ b/app-admin/salt/salt-3003.1-r1.ebuild
@@ -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() {

Reply via email to