meson/meson-distutils.patch
Dominique Leuenberger bbb06c4b44 Accepting request 664588 from home:scarabeus_iv:branches:devel:tools:building
Fixed the traceback on exec

- Remove succeeding supposed failing gtest test that checks
  gtest version, openSUSE ships the .pc file with the actual
  informations

- Make sure the tests stop on the failure and output the failing
  test at the end for easier digging

- Make the setuptools conditional so I can quickly switch around
  and verify things

- Switch the package to use _multibuild rather than multiple
  spec files

- Use distutils to build/run rather than setuptools to reduce
  buildcycle
- Add patch to be able to build and install using distutils instead
  of full setuptools:
  * meson-distutils.patch

OBS-URL: https://build.opensuse.org/request/show/664588
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=123
2019-01-16 11:19:24 +00:00

14 lines
445 B
Diff

Index: meson-0.49.0/setup.py
===================================================================
--- meson-0.49.0.orig/setup.py
+++ meson-0.49.0/setup.py
@@ -22,7 +22,7 @@ if sys.version_info < (3, 5, 0):
sys.exit(1)
from mesonbuild.coredata import version
-from setuptools import setup
+from distutils.core import setup
# On windows, will create Scripts/meson.exe and Scripts/meson-script.py
# Other platforms will create bin/meson