diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-02-21 10:12:01 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-02-25 07:08:58 +0100 |
commit | 7b001f90fb23b4713fdc5762e943a8613ef8871c (patch) | |
tree | d1adad463dee5054710069fac7d290031f5fa4d2 /eclass | |
parent | dev-python/dask: Bump to 2023.2.1 (diff) | |
download | gentoo-7b001f90fb23b4713fdc5762e943a8613ef8871c.tar.gz gentoo-7b001f90fb23b4713fdc5762e943a8613ef8871c.tar.bz2 gentoo-7b001f90fb23b4713fdc5762e943a8613ef8871c.zip |
distutils-r1.eclass: Use --build-option instead of --global-option
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>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 |