Blame mesonpy-no-wheel-rebuild.patch

8fdadd
We already have the meson_python wheel, can't built it in isolated mode inside OBS
8fdadd
8fdadd
Index: meson_python-0.11.0/tests/conftest.py
8fdadd
===================================================================
8fdadd
--- meson_python-0.11.0.orig/tests/conftest.py
8fdadd
+++ meson_python-0.11.0/tests/conftest.py
8fdadd
@@ -133,17 +133,7 @@ def disable_pip_version_check():
8fdadd
 
8fdadd
 @pytest.fixture(scope='session')
8fdadd
 def pep518_wheelhouse(tmpdir_factory):
8fdadd
-    wheelhouse = tmpdir_factory.mktemp('wheelhouse')
8fdadd
-    meson_python = str(package_dir.parent.parent)
8fdadd
-    # Populate wheelhouse with wheel for the following packages and
8fdadd
-    # their dependencies.  Wheels are downloaded from PyPI or built
8fdadd
-    # from the source distribution as needed.  Sources or wheels in
8fdadd
-    # the pip cache are used when available.
8fdadd
-    packages = [
8fdadd
-        meson_python,
8fdadd
-    ]
8fdadd
-    subprocess.run([sys.executable, '-m', 'pip', 'wheel', '--wheel-dir', str(wheelhouse), *packages], check=True)
8fdadd
-    return str(wheelhouse)
8fdadd
+    return str(package_dir.parent.parent / 'build')
8fdadd
 
8fdadd
 
8fdadd
 @pytest.fixture