From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 22 Jul 2021 14:13:21 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m6XZp-00013l-1v for lore@lore.pengutronix.de; Thu, 22 Jul 2021 14:13:21 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m6XZo-0005YM-Nb; Thu, 22 Jul 2021 14:13:20 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6XZM-0005MO-Sa; Thu, 22 Jul 2021 14:12:52 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m6XZM-000217-Bw; Thu, 22 Jul 2021 14:12:52 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1m6XZM-00HG1f-9n; Thu, 22 Jul 2021 14:12:52 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 22 Jul 2021 14:12:52 +0200 Message-Id: <20210722121252.4112934-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210712110910.562587-2-lapeddk@gmail.com> References: <20210712110910.562587-2-lapeddk@gmail.com> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] python3-pysmi: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Lars Pedersen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 067b1798682828274abdc28f21a68edb18850ea5. Michael [sent from post-receive hook] On Thu, 22 Jul 2021 14:12:51 +0200, Lars Pedersen wrote: > Signed-off-by: Lars Pedersen > Message-Id: <20210712110910.562587-2-lapeddk@gmail.com> > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3-pysmi.in b/rules/python3-pysmi.in > new file mode 100644 > index 000000000000..a02d1b62d3e8 > --- /dev/null > +++ b/rules/python3-pysmi.in > @@ -0,0 +1,9 @@ > +## SECTION=python3 > + > +config PYTHON3_PYSMI > + tristate > + select PYTHON3 > + select HOST_PYTHON3_SETUPTOOLS > + prompt "pysmi" > + help > + A pure-Python implementation of SNMP/SMI MIB parsing and conversion library. > diff --git a/rules/python3-pysmi.make b/rules/python3-pysmi.make > new file mode 100644 > index 000000000000..67448e2f76c6 > --- /dev/null > +++ b/rules/python3-pysmi.make > @@ -0,0 +1,54 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2021 by Lars Pedersen > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_PYTHON3_PYSMI) += python3-pysmi > + > +# > +# Paths and names > +# > +PYTHON3_PYSMI_VERSION := 0.3.4 > +PYTHON3_PYSMI_MD5 := 10a9dd140ad512eed9f37344df83ce9d > +PYTHON3_PYSMI := pysmi-$(PYTHON3_PYSMI_VERSION) > +PYTHON3_PYSMI_SUFFIX := tar.gz > +PYTHON3_PYSMI_URL := $(call ptx/mirror-pypi, pysmi, $(PYTHON3_PYSMI).$(PYTHON3_PYSMI_SUFFIX)) > +PYTHON3_PYSMI_SOURCE := $(SRCDIR)/$(PYTHON3_PYSMI).$(PYTHON3_PYSMI_SUFFIX) > +PYTHON3_PYSMI_DIR := $(BUILDDIR)/$(PYTHON3_PYSMI) > +PYTHON3_PYSMI_LICENSE := BSD-2-Clause > +PYTHON3_PYSMI_LICENSE_FILES := \ > + file://LICENSE.rst;md5=a088b5c72b59d51a5368ad3b18e219bf > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +PYTHON3_PYSMI_CONF_TOOL := python3 > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/python3-pysmi.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, python3-pysmi) > + @$(call install_fixup, python3-pysmi,PRIORITY,optional) > + @$(call install_fixup, python3-pysmi,SECTION,base) > + @$(call install_fixup, python3-pysmi,AUTHOR,"Lars Pedersen ") > + @$(call install_fixup, python3-pysmi,DESCRIPTION,missing) > + > + @$(call install_glob, python3-pysmi, 0, 0, -, \ > + $(PYTHON3_SITEPACKAGES),, *.py) > + > + @$(call install_finish, python3-pysmi) > + > + @$(call touch) > + > +# vim: syntax=make _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de