From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20200909161219.11859-2-p.zabel@pengutronix.de> MIME-Version: 1.0 Message-Id: From: Michael Olbrich Date: Tue, 06 Oct 2020 10:18:29 +0200 Subject: Re: [ptxdist] [APPLIED] bpytop: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Philipp Zabel Thanks, applied as 2ac42d72ee7fac6582a4a2fb2e33923ddebc734b. Michael [sent from post-receive hook] On Tue, 06 Oct 2020 10:18:29 +0200, Philipp Zabel wrote: > Signed-off-by: Philipp Zabel > Message-Id: <20200909161219.11859-2-p.zabel@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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 > +# > +# 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 ") > + @$(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