diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-10-30 15:48:03 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-10-30 15:53:37 +0100 |
commit | d194fbbaafea36c28ebcdc67fb3499c1c490429d (patch) | |
tree | dff18df965f9d45c63059f19b6e1a4c30d26c455 /dev-python/meson-python | |
parent | sys-cluster/galera: bump to 25.5.37 (diff) | |
download | gentoo-d194fbbaafea36c28ebcdc67fb3499c1c490429d.tar.gz gentoo-d194fbbaafea36c28ebcdc67fb3499c1c490429d.tar.bz2 gentoo-d194fbbaafea36c28ebcdc67fb3499c1c490429d.zip |
dev-python/meson-python: Strip Python package dep on ninja
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/meson-python')
-rw-r--r-- | dev-python/meson-python/meson-python-0.10.0-r1.ebuild (renamed from dev-python/meson-python/meson-python-0.10.0.ebuild) | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-python/meson-python/meson-python-0.10.0.ebuild b/dev-python/meson-python/meson-python-0.10.0-r1.ebuild index f6bd5fa67ca2..9802f9bd8a25 100644 --- a/dev-python/meson-python/meson-python-0.10.0.ebuild +++ b/dev-python/meson-python/meson-python-0.10.0-r1.ebuild @@ -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 +} |