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

* [ptxdist] [PATCH 2/2] bpytop: new package
  2020-09-09 16:12 [ptxdist] [PATCH 1/2] python3-psutil: new package Philipp Zabel
@ 2020-09-09 16:12 ` Philipp Zabel
  2020-10-06  8:18   ` [ptxdist] [APPLIED] " Michael Olbrich
  2020-10-06  8:18 ` [ptxdist] [APPLIED] python3-psutil: " Michael Olbrich
  1 sibling, 1 reply; 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/bpytop.in   | 11 +++++++++
 rules/bpytop.make | 60 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)
 create mode 100644 rules/bpytop.in
 create mode 100644 rules/bpytop.make

diff --git a/rules/bpytop.in b/rules/bpytop.in
new file mode 100644
index 000000000000..821fbceffc86
--- /dev/null
+++ b/rules/bpytop.in
@@ -0,0 +1,11 @@
+## SECTION=shell_and_console
+
+config BPYTOP
+	tristate
+	select PYTHON3
+	select PYTHON3_DISTUTILS		if RUNTIME
+	select PYTHON3_PSUTIL			if RUNTIME
+	prompt "bpytop"
+	help
+	  Resource monitor that shows usage and stats for processor, memory,
+	  disks, network and processes.
diff --git a/rules/bpytop.make b/rules/bpytop.make
new file mode 100644
index 000000000000..a7c37ac75f97
--- /dev/null
+++ b/rules/bpytop.make
@@ -0,0 +1,60 @@
+# -*-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_BPYTOP) += bpytop
+
+#
+# Paths and names
+#
+BPYTOP_VERSION	:= 1.0.26
+BPYTOP_MD5	:= 0f726e1e5c9830a1a346182abdc259a0
+BPYTOP		:= bpytop-$(BPYTOP_VERSION)
+BPYTOP_SUFFIX	:= tar.gz
+BPYTOP_URL	:= https://github.com/aristocratos/bpytop/archive/v$(BPYTOP_VERSION).$(BPYTOP_SUFFIX)
+BPYTOP_SOURCE	:= $(SRCDIR)/$(BPYTOP).$(BPYTOP_SUFFIX)
+BPYTOP_DIR	:= $(BUILDDIR)/$(BPYTOP)
+BPYTOP_LICENSE	:= Apache-2.0
+BPYTOP_LICENSE_FILES := \
+	file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+BYPTOP_CONF_TOOL	:= NO
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+BPYTOP_INSTALL_OPT	:= PREFIX=/usr install
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/bpytop.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, bpytop)
+	@$(call install_fixup, bpytop, PRIORITY, optional)
+	@$(call install_fixup, bpytop, SECTION, base)
+	@$(call install_fixup, bpytop, AUTHOR, "Philipp Zabel <p.zabel@pengutronix.de>")
+	@$(call install_fixup, bpytop, DESCRIPTION, missing)
+
+	@$(call install_copy, bpytop, 0, 0, 0755, -, /usr/bin/bpytop)
+	@$(call install_tree, bpytop, 0, 0, -, /usr/share/bpytop)
+
+	@$(call install_finish, bpytop)
+
+	@$(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

* Re: [ptxdist] [APPLIED] bpytop: new package
  2020-09-09 16:12 ` [ptxdist] [PATCH 2/2] bpytop: " Philipp Zabel
@ 2020-10-06  8:18   ` Michael Olbrich
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2020-10-06  8:18 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

Thanks, applied as 2ac42d72ee7fac6582a4a2fb2e33923ddebc734b.

Michael

[sent from post-receive hook]

On Tue, 06 Oct 2020 10:18:29 +0200, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> Message-Id: <20200909161219.11859-2-p.zabel@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/bpytop.in b/rules/bpytop.in
> new file mode 100644
> index 000000000000..821fbceffc86
> --- /dev/null
> +++ b/rules/bpytop.in
> @@ -0,0 +1,11 @@
> +## SECTION=shell_and_console
> +
> +config BPYTOP
> +	tristate
> +	select PYTHON3
> +	select PYTHON3_DISTUTILS		if RUNTIME
> +	select PYTHON3_PSUTIL			if RUNTIME
> +	prompt "bpytop"
> +	help
> +	  Resource monitor that shows usage and stats for processor, memory,
> +	  disks, network and processes.
> diff --git a/rules/bpytop.make b/rules/bpytop.make
> new file mode 100644
> index 000000000000..a7c37ac75f97
> --- /dev/null
> +++ b/rules/bpytop.make
> @@ -0,0 +1,60 @@
> +# -*-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_BPYTOP) += bpytop
> +
> +#
> +# Paths and names
> +#
> +BPYTOP_VERSION	:= 1.0.26
> +BPYTOP_MD5	:= 0f726e1e5c9830a1a346182abdc259a0
> +BPYTOP		:= bpytop-$(BPYTOP_VERSION)
> +BPYTOP_SUFFIX	:= tar.gz
> +BPYTOP_URL	:= https://github.com/aristocratos/bpytop/archive/v$(BPYTOP_VERSION).$(BPYTOP_SUFFIX)
> +BPYTOP_SOURCE	:= $(SRCDIR)/$(BPYTOP).$(BPYTOP_SUFFIX)
> +BPYTOP_DIR	:= $(BUILDDIR)/$(BPYTOP)
> +BPYTOP_LICENSE	:= Apache-2.0
> +BPYTOP_LICENSE_FILES := \
> +	file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +BYPTOP_CONF_TOOL	:= NO
> +
> +# ----------------------------------------------------------------------------
> +# Install
> +# ----------------------------------------------------------------------------
> +
> +BPYTOP_INSTALL_OPT	:= PREFIX=/usr install
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/bpytop.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, bpytop)
> +	@$(call install_fixup, bpytop, PRIORITY, optional)
> +	@$(call install_fixup, bpytop, SECTION, base)
> +	@$(call install_fixup, bpytop, AUTHOR, "Philipp Zabel <p.zabel@pengutronix.de>")
> +	@$(call install_fixup, bpytop, DESCRIPTION, missing)
> +
> +	@$(call install_copy, bpytop, 0, 0, 0755, -, /usr/bin/bpytop)
> +	@$(call install_tree, bpytop, 0, 0, -, /usr/share/bpytop)
> +
> +	@$(call install_finish, bpytop)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make

_______________________________________________
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

* Re: [ptxdist] [APPLIED] python3-psutil: new package
  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 ` Michael Olbrich
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2020-10-06  8:18 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

Thanks, applied as 7d467e9ad6c210568028103d0126a69eb3437721.

Michael

[sent from post-receive hook]

On Tue, 06 Oct 2020 10:18:29 +0200, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> Message-Id: <20200909161219.11859-1-p.zabel@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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

_______________________________________________
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