You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2020-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-psutil
  9. PKG_VERSION:=5.9.0
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=psutil
  12. PKG_HASH:=869842dbd66bb80c3217158e629d6fceaecc3a3166d3d1faee515b05dd26ca25
  13. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
  14. PKG_LICENSE:=BSD 3-Clause
  15. PKG_LICENSE_FILES:=LICENSE
  16. HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-psutil
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=psutil (process and system utilities)
  25. URL:=https://github.com/giampaolo/psutil
  26. DEPENDS:=+python3-light
  27. endef
  28. define Package/python3-psutil/description
  29. psutil is a cross-platform library for retrieving information
  30. on running processes and system utilization.
  31. endef
  32. PYTHON3_VARS += \
  33. TARGET_SYS_PLATFORM=linux
  34. $(eval $(call Py3Package,python3-psutil))
  35. $(eval $(call BuildPackage,python3-psutil))
  36. $(eval $(call BuildPackage,python3-psutil-src))