python-psutil: update to version 5.9.0, fix build on macos
authorSergey V. Lobanov <sergey@lobanov.in>
Mon, 31 Jan 2022 15:05:34 +0000 (18:05 +0300)
committerRosen Penev <rosenp@gmail.com>
Thu, 24 Feb 2022 22:33:56 +0000 (14:33 -0800)
commit45b8ef28226a6641ffaede9bba94a12c6dc10686
treeb27ff83437c3f7cfd2824f62dcea99069da07855
parent7c82525cd6a916116aaec6142759a901fd31a59d
python-psutil: update to version 5.9.0, fix build on macos

1. updated to 5.9.0

2. psutil can not be built on macos due to build script detects Darwin
using sys.platform and changes build logic to build for Darwin, but
OpenWrt is Linux.
This commit add patch to allow redefining sys.platform and uses
env var TARGET_SYS_PLATFORM to specify linux as sys platfrom.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
lang/python/python-psutil/Makefile
lang/python/python-psutil/patches/100_add_cross_platform_build_ability.patch [new file with mode: 0644]