mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/2] python3-psutil: new package
Date: Wed,  9 Sep 2020 18:12:18 +0200	[thread overview]
Message-ID: <20200909161219.11859-1-p.zabel@pengutronix.de> (raw)

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/python3-psutil.in   |  8 ++++++
 rules/python3-psutil.make | 54 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 rules/python3-psutil.in
 create mode 100644 rules/python3-psutil.make

diff --git a/rules/python3-psutil.in b/rules/python3-psutil.in
new file mode 100644
index 000000000000..8887dd88c282
--- /dev/null
+++ b/rules/python3-psutil.in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_PSUTIL
+	tristate
+	select PYTHON3
+	prompt "psutil"
+	help
+	  Cross-platform lib for process and system monitoring in Python.
diff --git a/rules/python3-psutil.make b/rules/python3-psutil.make
new file mode 100644
index 000000000000..44e58ffc9a4e
--- /dev/null
+++ b/rules/python3-psutil.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Philipp Zabel <p.zabel@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_PSUTIL) += python3-psutil
+
+#
+# Paths and names
+#
+PYTHON3_PSUTIL_VERSION	:= 5.7.2
+PYTHON3_PSUTIL_MD5	:= 50bf39b4faa268ba1da8a9730bb38bb6
+PYTHON3_PSUTIL		:= psutil-$(PYTHON3_PSUTIL_VERSION)
+PYTHON3_PSUTIL_SUFFIX	:= tar.gz
+PYTHON3_PSUTIL_URL	:= https://pypi.python.org/packages/source/p/psutil/$(PYTHON3_PSUTIL).$(PYTHON3_PSUTIL_SUFFIX)
+PYTHON3_PSUTIL_SOURCE	:= $(SRCDIR)/$(PYTHON3_PSUTIL).$(PYTHON3_PSUTIL_SUFFIX)
+PYTHON3_PSUTIL_DIR	:= $(BUILDDIR)/$(PYTHON3_PSUTIL)
+PYTHON3_PSUTIL_LICENSE	:= BSD-3-Clause
+PYTHON3_PSUTIL_LICENSE_FILES := \
+	file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_PSUTIL_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-psutil.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-psutil)
+	@$(call install_fixup, python3-psutil, PRIORITY, optional)
+	@$(call install_fixup, python3-psutil, SECTION, base)
+	@$(call install_fixup, python3-psutil, AUTHOR, "Philipp Zabel <p.zabel@pengutronix.de>")
+	@$(call install_fixup, python3-psutil, DESCRIPTION, missing)
+
+	@$(call install_glob, python3-psutil, 0, 0, -, \
+		$(PYTHON3_SITEPACKAGES),, *.py)
+
+	@$(call install_finish, python3-psutil)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

             reply	other threads:[~2020-09-09 16:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-09 16:12 Philipp Zabel [this message]
2020-09-09 16:12 ` [ptxdist] [PATCH 2/2] bpytop: " Philipp Zabel
2020-10-06  8:18   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-10-06  8:18 ` [ptxdist] [APPLIED] python3-psutil: " Michael Olbrich

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=20200909161219.11859-1-p.zabel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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