From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 2/2] bpytop: new package
Date: Wed, 9 Sep 2020 18:12:19 +0200 [thread overview]
Message-ID: <20200909161219.11859-2-p.zabel@pengutronix.de> (raw)
In-Reply-To: <20200909161219.11859-1-p.zabel@pengutronix.de>
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
next prev parent 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 [ptxdist] [PATCH 1/2] python3-psutil: " Philipp Zabel
2020-09-09 16:12 ` Philipp Zabel [this message]
2020-10-06 8:18 ` [ptxdist] [APPLIED] bpytop: " 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-2-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