summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-07 15:46:04 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-07 15:46:46 +0100
commitb4f5b919fa681b54de41de184f80a6ef36242a2e (patch)
tree41ce3d2a0a84c0f4db94333dd5941ef145b50109 /dev-python/isort
parentdev-python/aesara: Use SETUPTOOLS_SCM_PRETEND_VERSION (diff)
downloadgentoo-b4f5b919fa681b54de41de184f80a6ef36242a2e.tar.gz
gentoo-b4f5b919fa681b54de41de184f80a6ef36242a2e.tar.bz2
gentoo-b4f5b919fa681b54de41de184f80a6ef36242a2e.zip
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>
Diffstat (limited to 'dev-python/isort')
-rw-r--r--dev-python/isort/isort-5.11.4.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-python/isort/isort-5.11.4.ebuild b/dev-python/isort/isort-5.11.4.ebuild
index 86119ad4b7f7..426bfd0652b3 100644
--- a/dev-python/isort/isort-5.11.4.ebuild
+++ b/dev-python/isort/isort-5.11.4.ebuild
@@ -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
}