From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 07 Jul 2021 16:00:40 +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 1m186S-0001ip-Qg for lore@lore.pengutronix.de; Wed, 07 Jul 2021 16:00:40 +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 1m186S-0003As-Df; Wed, 07 Jul 2021 16:00:40 +0200 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m186J-0003AT-Oy; Wed, 07 Jul 2021 16:00:31 +0200 Received: from rhi by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1m186J-00005o-7M; Wed, 07 Jul 2021 16:00:31 +0200 Date: Wed, 7 Jul 2021 16:00:31 +0200 From: Roland Hieber To: ptxdist@pengutronix.de Message-ID: <20210707140031.42fktdlhmnju3ip5@pengutronix.de> References: <20210705093350.55933-1-lapeddk@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210705093350.55933-1-lapeddk@gmail.com> User-Agent: NeoMutt/20180716 Subject: Re: [ptxdist] [PATCH 1/4] python3-pyasn1: 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 Hi, On Mon, Jul 05, 2021 at 11:33:47AM +0200, Lars Pedersen wrote: > Pure-Python implementation of ASN.1 types and DER/BER/CER codecs > (X.208). New package used by python3-pysnmp > > Signed-off-by: Lars Pedersen > --- > rules/python3-pyasn1.in | 9 +++++++ > rules/python3-pyasn1.make | 53 +++++++++++++++++++++++++++++++++++++++ > 2 files changed, 62 insertions(+) > create mode 100644 rules/python3-pyasn1.in > create mode 100644 rules/python3-pyasn1.make > > diff --git a/rules/python3-pyasn1.in b/rules/python3-pyasn1.in > new file mode 100644 > index 000000000..a28e4e355 > --- /dev/null > +++ b/rules/python3-pyasn1.in > @@ -0,0 +1,9 @@ > +## SECTION=python3 > + > +config PYTHON3_PYASN1 > + bool > + prompt "pyasn1" > + select PYTHON3 > + select HOST_PYTHON3_SETUPTOOLS > + help > + Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208) > diff --git a/rules/python3-pyasn1.make b/rules/python3-pyasn1.make > new file mode 100644 > index 000000000..9280856f4 > --- /dev/null > +++ b/rules/python3-pyasn1.make > @@ -0,0 +1,53 @@ > +# -*-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_PYASN1) += python3-pyasn1 > + > +# > +# Paths and names > +# > +PYTHON3_PYASN1_VERSION := 0.4.8 > +PYTHON3_PYASN1_MD5 := dffae4ff9f997a83324b3f33fe62be54 > +PYTHON3_PYASN1 := pyasn1-$(PYTHON3_PYASN1_VERSION) > +PYTHON3_PYASN1_SUFFIX := tar.gz > +PYTHON3_PYASN1_URL := $(call ptx/mirror-pypi, pyasn1, $(PYTHON3_PYASN1).$(PYTHON3_PYASN1_SUFFIX)) > +PYTHON3_PYASN1_SOURCE := $(SRCDIR)/$(PYTHON3_PYASN1).$(PYTHON3_PYASN1_SUFFIX) > +PYTHON3_PYASN1_DIR := $(BUILDDIR)/$(PYTHON3_PYASN1) > +PYTHON3_PYASN1_LICENSE := BSD-2 The correct identifier is BSD-2-Clause here. - Roland > +PYTHON3_PYASN1_LICENSE_FILES := \ > + file://LICENSE.rst;md5=a14482d15c2249de3b6f0e8a47e021fd > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +PYTHON3_PYASN1_CONF_TOOL := python3 > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > +$(STATEDIR)/python3-pyasn1.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, python3-pyasn1) > + @$(call install_fixup, python3-pyasn1,PRIORITY,optional) > + @$(call install_fixup, python3-pyasn1,SECTION,base) > + @$(call install_fixup, python3-pyasn1,AUTHOR,"Lars Pedersen ") > + @$(call install_fixup, python3-pyasn1,DESCRIPTION,missing) > + > + @$(call install_glob,python3-pyasn1, 0, 0, -, \ > + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.py) > + > + @$(call install_finish, python3-pyasn1) > + > + @$(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 > -- Roland Hieber, Pengutronix e.K. | r.hieber@pengutronix.de | Steuerwalder Str. 21 | https://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