dev-python/meson-python: Strip Python package dep on ninja

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-10-30 15:48:03 +01:00
parent e308f5e6e2
commit d194fbbaaf

View File

@@ -44,3 +44,10 @@ distutils_enable_sphinx docs \
dev-python/furo \
dev-python/sphinx-autodoc-typehints
distutils_enable_tests pytest
src_prepare() {
# strip dependency on ninja -- we provide ninja via Gentoo package
# rather than the Python wheel, so we don't have .dist-info there
sed -i -e '/ninja/d' pyproject.toml || die
distutils-r1_src_prepare
}