Thanks, applied as 052c32c798ae382fdb129f41ac296caacaa348d4.

Michael

[sent from post-receive hook]

On Thu, 22 Jul 2021 14:12:49 +0200, Lars Pedersen <[email protected]> wrote:
> Signed-off-by: Lars Pedersen <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/python3-pyasn1.in b/rules/python3-pyasn1.in
> new file mode 100644
> index 000000000000..a28e4e35537f
> --- /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 000000000000..f440e727afc3
> --- /dev/null
> +++ b/rules/python3-pyasn1.make
> @@ -0,0 +1,53 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2021 by Lars Pedersen <[email protected]>
> +#
> +# 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-Clause
> +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 
> <[email protected]>")
> +     @$(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

_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to