From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20200909161219.11859-1-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] python3-psutil: 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 7d467e9ad6c210568028103d0126a69eb3437721. 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-1-p.zabel@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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 > +# > +# 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 ") > + @$(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