package/python3-psutil: add a special host variant

Needed to build mongodb.

With this host variant there is no need to enforce host
python in the original package.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yegor Yefremov 2020-03-23 11:49:08 +01:00 committed by Thomas Petazzoni
parent 1e4e155782
commit 20fe8d2234
3 changed files with 19 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#
################################################################################
# Please keep in sync with package/python3-psutil/python3-psutil.mk
PYTHON_PSUTIL_VERSION = 5.7.0
PYTHON_PSUTIL_SOURCE = psutil-$(PYTHON_PSUTIL_VERSION).tar.gz
PYTHON_PSUTIL_SITE = https://files.pythonhosted.org/packages/c4/b8/3512f0e93e0db23a71d82485ba256071ebef99b227351f0f5540f744af41

View File

@ -0,0 +1 @@
../python-psutil/python-psutil.hash

View File

@ -0,0 +1,17 @@
################################################################################
#
# python3-psutil
#
################################################################################
# Please keep in sync with package/python-psutil/python-psutil.mk
PYTHON3_PSUTIL_VERSION = 5.7.0
PYTHON3_PSUTIL_SOURCE = psutil-$(PYTHON3_PSUTIL_VERSION).tar.gz
PYTHON3_PSUTIL_SITE = https://files.pythonhosted.org/packages/c4/b8/3512f0e93e0db23a71d82485ba256071ebef99b227351f0f5540f744af41
PYTHON3_PSUTIL_SETUP_TYPE = setuptools
PYTHON3_PSUTIL_LICENSE = BSD-3-Clause
PYTHON3_PSUTIL_LICENSE_FILES = LICENSE
HOST_PYTHON3_PSUTIL_DL_SUBDIR = python-psutil
HOST_PYTHON3_PSUTIL_NEEDS_HOST_PYTHON = python3
$(eval $(host-python-package))