aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-ninja/no-scikit-build.patch
blob: b7d191e2441763778fe1bfcf34959a11af28f7fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
We don't need to build ninja so there's no need to use scikit-build,
as we just need the python module with it's one ninja() function.

Upstream-Status: Inappropriate
Signed-off-by: Ross Burton <ross.burton@arm.com>

diff --git a/pyproject.toml b/pyproject.toml
index b895c20..577b642 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,7 +2,6 @@
 requires = [
     "setuptools >=42",
     "setuptools-scm[toml]",
-    "scikit-build",
 ]
 build-backend = "setuptools.build_meta"
 
diff --git a/setup.py b/setup.py
index dbe1fbc..3259754 100755
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ import os
 import sys
 from distutils.text_file import TextFile
 
-from skbuild import setup
+from setuptools import setup
 
 # Add current folder to path
 # This is required to import versioneer in an isolated pip build