diff mbox series

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

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

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(+)

Comments

Thomas Petazzoni April 24, 2020, 12:57 p.m. UTC | #1
On Mon, 23 Mar 2020 11:49:02 +0100
yegorslists@googlemail.com wrote:

> 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(+)

I have not applied, because this commit is essentially reverted by
PATCH 7/8 in this series
(http://patchwork.ozlabs.org/project/buildroot/patch/20200323104909.16765-7-yegorslists@googlemail.com/),
leaving the host-python-psutil package unused. So I've marked as Rejected.

Thomas
diff mbox series

Patch

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))