Replace the `--global-option` used to pass custom setup.py arguments
with `--build-option`. Using the former to pass arbitrary options
is deprecated since setuptools 64.0.0. They are both equivalent right
now and `--build-option` will preserve the current behavior, so this
should be NFC (except for silencing the warning).
Signed-off-by: Michał Górny <
mgorny@gentoo.org>
---
eclass/distutils-r1.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index e95047e3a1f0..426de7200957 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1331,7 +1331,7 @@ distutils_pep517_install() {
"${EPYTHON}" - "${DISTUTILS_ARGS[@]}" <<-EOF || die
import json
import sys
- print(json.dumps({"--global-option": sys.argv[1:]}))
+ print(json.dumps({"--build-option": sys.argv[1:]}))
EOF
)
fi
--
2.39.2
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)