1 |
Replace the `--global-option` used to pass custom setup.py arguments |
2 |
with `--build-option`. Using the former to pass arbitrary options |
3 |
is deprecated since setuptools 64.0.0. They are both equivalent right |
4 |
now and `--build-option` will preserve the current behavior, so this |
5 |
should be NFC (except for silencing the warning). |
6 |
|
7 |
Signed-off-by: Michał Górny <mgorny@g.o> |
8 |
--- |
9 |
eclass/distutils-r1.eclass | 2 +- |
10 |
1 file changed, 1 insertion(+), 1 deletion(-) |
11 |
|
12 |
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass |
13 |
index e95047e3a1f0..426de7200957 100644 |
14 |
--- a/eclass/distutils-r1.eclass |
15 |
+++ b/eclass/distutils-r1.eclass |
16 |
@@ -1331,7 +1331,7 @@ distutils_pep517_install() { |
17 |
"${EPYTHON}" - "${DISTUTILS_ARGS[@]}" <<-EOF || die |
18 |
import json |
19 |
import sys |
20 |
- print(json.dumps({"--global-option": sys.argv[1:]})) |
21 |
+ print(json.dumps({"--build-option": sys.argv[1:]})) |
22 |
EOF |
23 |
) |
24 |
fi |
25 |
-- |
26 |
2.39.2 |