dev-python/sphinx-prompt: Fix dependency unpinning

Upstream is now using PEP 621 metadata, so tool.poetry tables were
a red herring.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-08-21 06:53:18 +02:00
parent f1a4e6f9a7
commit 1432e085c8

View File

@@ -32,11 +32,11 @@ distutils_enable_tests pytest
python_prepare_all() {
# version number relies on git repo, sigh
# also all dependencies are pinned to exact versions, sigh
# also unpin dependencies
# also hack to install as "sphinx-prompt"
sed -i \
-e "/^version =/s:[0-9.]\+:${PV}:" \
-e '/^\[tool\.poetry\.dependencies\]$/,$s:"[0-9.]\+:"*:' \
-e '/^dependencies/s:==:>=:g' \
-e '/include.*sphinx-prompt/d' \
pyproject.toml || die