From: yegorslists at googlemail.com <yegorslists@googlemail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 7/8] package/python3-psutil: add a special host variant
Date: Mon, 23 Mar 2020 11:49:08 +0100 [thread overview]
Message-ID: <20200323104909.16765-7-yegorslists@googlemail.com> (raw)
In-Reply-To: <20200323104909.16765-1-yegorslists@googlemail.com>
From: Yegor Yefremov <yegorslists@googlemail.com>
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>
---
package/python-psutil/python-psutil.mk | 3 ---
package/python3-psutil/python3-psutil.hash | 1 +
package/python3-psutil/python3-psutil.mk | 18 ++++++++++++++++++
3 files changed, 19 insertions(+), 3 deletions(-)
create mode 120000 package/python3-psutil/python3-psutil.hash
create mode 100644 package/python3-psutil/python3-psutil.mk
diff --git a/package/python-psutil/python-psutil.mk b/package/python-psutil/python-psutil.mk
index cfb015cfe6..b050547624 100644
--- a/package/python-psutil/python-psutil.mk
+++ b/package/python-psutil/python-psutil.mk
@@ -11,8 +11,5 @@ 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))
diff --git a/package/python3-psutil/python3-psutil.hash b/package/python3-psutil/python3-psutil.hash
new file mode 120000
index 0000000000..ff688fab28
--- /dev/null
+++ b/package/python3-psutil/python3-psutil.hash
@@ -0,0 +1 @@
+../python-psutil/python-psutil.hash
\ No newline at end of file
diff --git a/package/python3-psutil/python3-psutil.mk b/package/python3-psutil/python3-psutil.mk
new file mode 100644
index 0000000000..9ca0f46681
--- /dev/null
+++ b/package/python3-psutil/python3-psutil.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# python3-psutil
+#
+################################################################################
+
+# Please keep in sync with
+# package/python-mako/python-psutil.mk
+PYTHON3_PSUTIL_VERSION = 5.6.7
+PYTHON3_PSUTIL_SOURCE = psutil-$(PYTHON3_PSUTIL_VERSION).tar.gz
+PYTHON3_PSUTIL_SITE = https://files.pythonhosted.org/packages/73/93/4f8213fbe66fc20cb904f35e6e04e20b47b85bee39845cc66a0bcf5ccdcb
+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))
--
2.17.0
next prev parent reply other threads:[~2020-03-23 10:49 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-23 10:49 [Buildroot] [PATCH 1/8] package/python-psutil: add host variant yegorslists at googlemail.com
2020-03-23 10:49 ` [Buildroot] [PATCH 2/8] package/python-regex: new package yegorslists at googlemail.com
2020-04-24 12:58 ` Thomas Petazzoni
2020-03-23 10:49 ` [Buildroot] [PATCH 3/8] package/python3-regex: add special package variant for the host build yegorslists at googlemail.com
2020-03-24 21:50 ` Romain Naour
2020-04-24 12:59 ` Thomas Petazzoni
2020-03-23 10:49 ` [Buildroot] [PATCH 4/8] package/python3-cheetah: add special host variant yegorslists at googlemail.com
2020-04-24 13:00 ` Thomas Petazzoni
2020-03-23 10:49 ` [Buildroot] [PATCH 5/8] package/python3-requests: " yegorslists at googlemail.com
2020-04-25 9:58 ` Thomas Petazzoni
2020-03-23 10:49 ` [Buildroot] [PATCH 6/8] package/python3-pyyaml: " yegorslists at googlemail.com
2020-04-21 20:00 ` Ryan Barnett
2020-04-23 6:55 ` Yegor Yefremov
2020-04-25 9:59 ` Thomas Petazzoni
2020-03-23 10:49 ` yegorslists at googlemail.com [this message]
2020-04-25 12:02 ` [Buildroot] [PATCH 7/8] package/python3-psutil: add a " Thomas Petazzoni
2020-03-23 10:49 ` [Buildroot] [PATCH 8/8] package/mongodb: bump to version 4.2.4 yegorslists at googlemail.com
2020-03-24 22:06 ` Romain Naour
2020-04-20 22:56 ` Ryan Barnett
2020-04-21 16:05 ` Ryan Barnett
2020-04-21 18:38 ` Fabrice Fontaine
2020-04-21 19:38 ` [Buildroot] [External] " Ryan Barnett
2020-04-25 12:02 ` [Buildroot] " Thomas Petazzoni
2020-04-24 12:57 ` [Buildroot] [PATCH 1/8] package/python-psutil: add host variant Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200323104909.16765-7-yegorslists@googlemail.com \
--to=yegorslists@googlemail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox