python-psutil: Update to 5.9.5, replace patch

100_add_cross_platform_build_ability.patch was submitted upstream in
https://github.com/giampaolo/psutil/pull/2068, but that pull request was
closed without being merged.

This replaces that patch with a simpler version that only updates
setup.py, leaving the run-time library code unchanged.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To
2023-08-12 02:00:12 +08:00
committed by Tianling Shen
parent 96880b435b
commit 56bac94a03
3 changed files with 33 additions and 68 deletions

View File

@@ -8,18 +8,16 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-psutil
PKG_VERSION:=5.9.0
PKG_RELEASE:=2
PKG_VERSION:=5.9.5
PKG_RELEASE:=1
PYPI_NAME:=psutil
PKG_HASH:=869842dbd66bb80c3217158e629d6fceaecc3a3166d3d1faee515b05dd26ca25
PKG_HASH:=5410638e4df39c54d957fc51ce03048acd8e6d60abc0f5107af51e5fb566eb3c
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
PKG_LICENSE:=BSD 3-Clause
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=python-setuptools-scm/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
@@ -28,7 +26,7 @@ define Package/python3-psutil
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=psutil (process and system utilities)
TITLE:=Process and system monitoring
URL:=https://github.com/giampaolo/psutil
DEPENDS:=+python3-light
endef
@@ -38,9 +36,6 @@ define Package/python3-psutil/description
on running processes and system utilization.
endef
PYTHON3_VARS += \
TARGET_SYS_PLATFORM=linux
$(eval $(call Py3Package,python3-psutil))
$(eval $(call BuildPackage,python3-psutil))
$(eval $(call BuildPackage,python3-psutil-src))