[1/8] package/python-psutil: add host variant
diff mbox series

Message ID 20200323104909.16765-1-yegorslists@googlemail.com
State New
Headers show
Series
  • [1/8] package/python-psutil: add host variant
Related show

Commit Message

Yegor Yefremov March 23, 2020, 10:49 a.m. UTC
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>

host-python-psutil for host-python3 is needed for mongodb >= 4.1.8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
---
 package/python-psutil/python-psutil.mk | 4 ++++
 1 file changed, 4 insertions(+)

Patch
diff mbox series

diff --git a/package/python-psutil/python-psutil.mk b/package/python-psutil/python-psutil.mk
index 62a94f3c41..cfb015cfe6 100644
--- a/package/python-psutil/python-psutil.mk
+++ b/package/python-psutil/python-psutil.mk
@@ -11,4 +11,8 @@  PYTHON_PSUTIL_SETUP_TYPE = setuptools
 PYTHON_PSUTIL_LICENSE = BSD-3-Clause
 PYTHON_PSUTIL_LICENSE_FILES = LICENSE
 
+# Needed to build mongodb
+HOST_PYTHON_PSUTIL_NEEDS_HOST_PYTHON = python3
+
 $(eval $(python-package))
+$(eval $(host-python-package))