diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-ninja/no-scikit-build.patch')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-ninja/no-scikit-build.patch | 39 |
1 files changed, 15 insertions, 24 deletions
diff --git a/meta-python/recipes-devtools/python/python3-ninja/no-scikit-build.patch b/meta-python/recipes-devtools/python/python3-ninja/no-scikit-build.patch index b7d191e244..4dfbb2675a 100644 --- a/meta-python/recipes-devtools/python/python3-ninja/no-scikit-build.patch +++ b/meta-python/recipes-devtools/python/python3-ninja/no-scikit-build.patch | |||
| @@ -1,31 +1,22 @@ | |||
| 1 | We don't need to build ninja so there's no need to use scikit-build, | 1 | We don't need to build ninja so there's no need to use scikit-build-core, |
| 2 | as we just need the python module with it's one ninja() function. | 2 | as we just need the python module with its one ninja() function. |
| 3 | 3 | ||
| 4 | Upstream-Status: Inappropriate | 4 | Upstream-Status: Inappropriate |
| 5 | Signed-off-by: Ross Burton <ross.burton@arm.com> | 5 | Signed-off-by: Ross Burton <ross.burton@arm.com> |
| 6 | Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> | ||
| 6 | 7 | ||
| 7 | diff --git a/pyproject.toml b/pyproject.toml | ||
| 8 | index b895c20..577b642 100644 | ||
| 9 | --- a/pyproject.toml | 8 | --- a/pyproject.toml |
| 10 | +++ b/pyproject.toml | 9 | +++ b/pyproject.toml |
| 11 | @@ -2,7 +2,6 @@ | 10 | @@ -1,5 +1,4 @@ |
| 12 | requires = [ | 11 | [build-system] |
| 13 | "setuptools >=42", | 12 | -requires = ["scikit-build-core>=0.10"] |
| 14 | "setuptools-scm[toml]", | 13 | -build-backend = "backend" |
| 15 | - "scikit-build", | 14 | -backend-path = ["_build_backend"] |
| 16 | ] | 15 | +requires = ["setuptools", "setuptools-scm"] |
| 17 | build-backend = "setuptools.build_meta" | 16 | +build-backend = "setuptools.build_meta" |
| 18 | 17 | ||
| 19 | diff --git a/setup.py b/setup.py | 18 | @@ -7,3 +6,3 @@ |
| 20 | index dbe1fbc..3259754 100755 | 19 | name = "ninja" |
| 21 | --- a/setup.py | 20 | -dynamic = ["version", "readme"] |
| 22 | +++ b/setup.py | 21 | +dynamic = ["version"] |
| 23 | @@ -5,7 +5,7 @@ import os | 22 | description = "Ninja is a small build system with a focus on speed" |
| 24 | import sys | ||
| 25 | from distutils.text_file import TextFile | ||
| 26 | |||
| 27 | -from skbuild import setup | ||
| 28 | +from setuptools import setup | ||
| 29 | |||
| 30 | # Add current folder to path | ||
| 31 | # This is required to import versioneer in an isolated pip build | ||
