From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sun, 18 Jul 2021 21:04:31 +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 1m5C5X-0007ST-TP for lore@lore.pengutronix.de; Sun, 18 Jul 2021 21:04:31 +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 1m5C5X-0006Z9-HM; Sun, 18 Jul 2021 21:04:31 +0200 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m5C4U-0006Yz-TJ for ptxdist@pengutronix.de; Sun, 18 Jul 2021 21:03:27 +0200 Received: by mail-oi1-x233.google.com with SMTP id e11so15083827oii.9 for ; Sun, 18 Jul 2021 12:03:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=mFgwFoAUSez+5YSwNTT77iZqmoYjenyeT+gLUDVBzMU=; b=fa8CJArJDaFumTG4EwSAlnP+CnjIZrQxjERtJckyMS/SplTFsTmd7+4MKWQNSVvJJj wPsspec547W3zXfS8OGV5sNwmkCo2oGjQv4+Mzag/ss8gfwgrHolSpflXrO68QPKLhTl 5XASm4ImZdgdHtFL1JiETZ6TzvdTzws2oxkzTrlWBEmLwxXY3a7vM/Mb0g690Lg5fTpY bzxTKEubGCunPhtxELZskbDggSsrbKs6pKkiRa3IU+SLsUlVnfEEWwMNp8kU0qGR7II7 l/DgC/ZO+3VlLlwJwLmggjBaILCQz+q0IHNkJWieiYb6XBDNwQOlRbq1hgnzzujUwQrw 5wIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=mFgwFoAUSez+5YSwNTT77iZqmoYjenyeT+gLUDVBzMU=; b=oCM05K0CeKVy/kmE9DbG7VXctrjdqctQlUiRXycqmzpEintzkDk6Am3hdAOAQ4Sjap xo2LIuEnyaIOmnBvVrMuJs9Sp1Nny05fVFkqgqV1R6697pvZGFRCJ3aceJL5WpaKfjc4 zUBrFja+DcgrCqmpLxx8I3rJ5mlpr46Olrf/5+BWTGG8lH7qORCSh8ix1gj7y/i30OxW 3fzwoYYTsFek/KQ/YYUirjE9VrDlJ1tXS2j1l4yfn2lEDXSBDi+q43BH0Or6JM5KjJml CjeroamF0CRs9QFa3FO8YykXAi6M+f3fewfn//otSwXiOOf3pqEPb792kyxqFFkGc8c/ 0CbQ== X-Gm-Message-State: AOAM5323kLevmLpOfTaD2YdLL4zBgTYK5nvFq8t3MdpyeWWXZf3waYM2 nVBAohtLc/AEk8lfui6epmWDNXsG1ZXjfrIQtuE= X-Google-Smtp-Source: ABdhPJw6CusCb64JgmdGtjNAIxhfQFisPO8CYbglgwp0bNMCt854mY3xdKkNjkUmq9Kq9dpXRS9NRP9qJC9mWl3L2uw= X-Received: by 2002:a05:6808:312:: with SMTP id i18mr19562325oie.136.1626635004921; Sun, 18 Jul 2021 12:03:24 -0700 (PDT) MIME-Version: 1.0 References: <20210712110910.562587-1-lapeddk@gmail.com> <20210712110910.562587-3-lapeddk@gmail.com> <20210716124116.GB15288@pengutronix.de> <20210716130233.GD15288@pengutronix.de> In-Reply-To: <20210716130233.GD15288@pengutronix.de> From: Lars Pedersen Date: Sun, 18 Jul 2021 21:03:13 +0200 Message-ID: To: Lars Pedersen , ptxdist@pengutronix.de X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH v2 3/4] python3-pysnmp: 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 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 Hi. Thanks for the feedbacks. On Fri, 16 Jul 2021 at 15:02, Michael Olbrich wrote: > > On Fri, Jul 16, 2021 at 02:53:42PM +0200, Lars Pedersen wrote: > > Hi. Thanks for the reply > > > > On Fri, 16 Jul 2021 at 14:41, Michael Olbrich wrote: > > > > > > On Mon, Jul 12, 2021 at 01:09:09PM +0200, Lars Pedersen wrote: > > > > Signed-off-by: Lars Pedersen > > > > --- > > > > Changes since v1: > > > > - Updated LICENSE field to BSD-2-Clause > > > > > > > > rules/python3-pysnmp.in | 13 ++++++++++ > > > > rules/python3-pysnmp.make | 54 +++++++++++++++++++++++++++++++++++++++ > > > > 2 files changed, 67 insertions(+) > > > > create mode 100644 rules/python3-pysnmp.in > > > > create mode 100644 rules/python3-pysnmp.make > > > > > > > > diff --git a/rules/python3-pysnmp.in b/rules/python3-pysnmp.in > > > > new file mode 100644 > > > > index 000000000..09e9b2b0a > > > > --- /dev/null > > > > +++ b/rules/python3-pysnmp.in > > > > @@ -0,0 +1,13 @@ > > > > +## SECTION=python3 > > > > + > > > > +config PYTHON3_PYSNMP > > > > + bool > > > > + prompt "pysnmp" > > > > + select PYTHON3 > > > > + select HOST_PYTHON3_SETUPTOOLS > > > > + select PYTHON3_PLY > > > > + select PYTHON3_PYASN1 > > > > + select PYTHON3_PYCRYPTODOMEX > > > > + select PYTHON3_PYSMI > > > > + help > > > > + pySNMP is a cross-platform, pure-Python SNMP engine implementation. > > > > diff --git a/rules/python3-pysnmp.make b/rules/python3-pysnmp.make > > > > new file mode 100644 > > > > index 000000000..9eb101b9f > > > > --- /dev/null > > > > +++ b/rules/python3-pysnmp.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_PYSNMP) += python3-pysnmp > > > > + > > > > +# > > > > +# Paths and names > > > > +# > > > > +PYTHON3_PYSNMP_VERSION := 4.4.12 > > > > +PYTHON3_PYSNMP_MD5 := 2222880259daf6e2cb322e938c818276 > > > > +PYTHON3_PYSNMP := pysnmp-$(PYTHON3_PYSNMP_VERSION) > > > > +PYTHON3_PYSNMP_SUFFIX := tar.gz > > > > +PYTHON3_PYSNMP_URL := $(call ptx/mirror-pypi, pysnmp, $(PYTHON3_PYSNMP).$(PYTHON3_PYSNMP_SUFFIX)) > > > > +PYTHON3_PYSNMP_SOURCE := $(SRCDIR)/$(PYTHON3_PYSNMP).$(PYTHON3_PYSNMP_SUFFIX) > > > > +PYTHON3_PYSNMP_DIR := $(BUILDDIR)/$(PYTHON3_PYSNMP) > > > > +PYTHON3_PYSNMP_LICENSE := BSD-2-Clause > > > > +PYTHON3_PYSNMP_LICENSE_FILES := \ > > > > + file://LICENSE.rst;md5=b15d29f500f748d1c2a15709769090a8 > > > > + > > > > +# ---------------------------------------------------------------------------- > > > > +# Prepare > > > > +# ---------------------------------------------------------------------------- > > > > + > > > > +PYTHON3_PYSNMP_CONF_TOOL := python3 > > > > + > > > > +# ---------------------------------------------------------------------------- > > > > +# Target-Install > > > > +# ---------------------------------------------------------------------------- > > > > + > > > > +$(STATEDIR)/python3-pysnmp.targetinstall: > > > > + @$(call targetinfo) > > > > + > > > > + @$(call install_init, python3-pysnmp) > > > > + @$(call install_fixup, python3-pysnmp,PRIORITY,optional) > > > > + @$(call install_fixup, python3-pysnmp,SECTION,base) > > > > + @$(call install_fixup, python3-pysnmp,AUTHOR,"Lars Pedersen ") > > > > + @$(call install_fixup, python3-pysnmp,DESCRIPTION,missing) > > > > + > > > > + @$(call install_glob,python3-pysnmp, 0, 0, -, \ > > > > + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.pyc) > > > > > > That's the strange one. Why skip all *.pyc? I can do a fixup if this > > > should just be *.py instead. > > > > Yes now I remember. I couldn't get the pyc files to work on the > > device and somehow the py files did. After a few hours of debugging I > > gave up. > > In that case, please at a short comment above the install_glob about this. > And more details in the commit message. Something about how it fails, the > error message etc. > Basically something that whoever updates the package in the future can use > to check if it's still broken. > > Michael > Okay I'll do a re-test and see if it still the case. Is it okay to resend a v3 for pysmp, or do I need to resend the entire patch series in v3? /Lars Pedersen > > > > + > > > > + @$(call install_finish, python3-pysnmp) > > > > + > > > > + @$(call touch) > > > > + > > > > +# vim: syntax=make > > > > -- > > > > 2.31.1 > > > > > > > > > > > > _______________________________________________ > > > > ptxdist mailing list > > > > ptxdist@pengutronix.de > > > > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > > > > > > > > > > -- > > > Pengutronix e.K. | | > > > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > > > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > > > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > > > _______________________________________________ > > ptxdist mailing list > > ptxdist@pengutronix.de > > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > > > > -- > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de