mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] python3-psutil: new package
@ 2020-09-09 16:12 Philipp Zabel
  2020-09-09 16:12 ` [ptxdist] [PATCH 2/2] bpytop: " Philipp Zabel
  2020-10-06  8:18 ` [ptxdist] [APPLIED] python3-psutil: " Michael Olbrich
  0 siblings, 2 replies; 4+ messages in thread
From: Philipp Zabel @ 2020-09-09 16:12 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-06  8:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 16:12 [ptxdist] [PATCH 1/2] python3-psutil: new package Philipp Zabel
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox