mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user