mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
dev-python/isort: Fix poetry syntax error in 5.11.4
Closes: https://bugs.gentoo.org/892679 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -45,6 +45,8 @@ src_prepare() {
|
||||
rm -r isort/_vendored || die
|
||||
# leftover toml import used to determine .toml support
|
||||
sed -i -e 's:import toml:toml = True:' tests/unit/test_isort.py || die
|
||||
# syntax error that triggers with new poetry-core
|
||||
sed -i -e 's:pip-shims<=0.3.4:pip-shims:' pyproject.toml || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user