python-packages: Replace --global-option with --build-option
authorJeffery To <jeffery.to@gmail.com>
Sat, 27 May 2023 11:43:57 +0000 (19:43 +0800)
committerRosen Penev <rosenp@gmail.com>
Sun, 28 May 2023 12:47:24 +0000 (15:47 +0300)
commit1a3df95f7e459106efb602fe2168eeae7167b382
treec65039912b0bfa6297851f44d99a440a62ba334d
parentd6cc46e2c284fd694123546950b6bca39a1adcda
python-packages: Replace --global-option with --build-option

setuptools 64.0.0 deprecated the use of --global-option to pass build
parameters[1]. This replaces the use of --global-option with
--build-option.

[1]: https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6400

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit b76fa19b26027f8472617598c19b9e071eef81bb)
lang/python/pillow/Makefile
lang/python/python-evdev/Makefile