Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support/python-bootstrap/pep517.patch
blob: be320372e8a7841a186ae04105a1758f54f6b26a (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
32
33
34
35
36
diff -rauN a/bootstrap/__init__.py b/bootstrap/__init__.py
--- a/bootstrap/__init__.py	2023-05-12 15:33:25.204135633 +0200
+++ b/bootstrap/__init__.py	2023-05-12 15:34:02.484190311 +0200
@@ -58,10 +58,10 @@
         EXTERNAL / 'tomli' / 'src',
         {'tomli'},
     ),
-    'pep517': Package(
-        EXTERNAL / 'pep517',
-        EXTERNAL / 'pep517',
-        {'pep517'},
+    'pyproject-hooks': Package(
+        EXTERNAL / 'pyproject-hooks',
+        EXTERNAL / 'pyproject-hooks' / 'src',
+        {'pyproject_hooks'},
     ),
 }
 
@@ -85,7 +85,7 @@
 
 # import what we need from the injected modules
 import build  # noqa: E402
-import pep517  # noqa: E402
+import pyproject_hooks  # noqa: E402
 
 
 _logger = logging.getLogger(__name__)
@@ -102,7 +102,7 @@
 ) -> None:
     extra_environ = dict(extra_environ) if extra_environ else {}
     extra_environ.update(PACKAGE_PATH_ENV)
-    pep517.default_subprocess_runner(cmd, cwd, extra_environ)
+    pyproject_hooks.default_subprocess_runner(cmd, cwd, extra_environ)
 
 
 def install_package_egginfo(name: str) -> None: