Thanks, applied as d42eb00be6c3c0c0c2c55d2f4d291951210d69d0.

Michael

[sent from post-receive hook]

On Fri, 12 Dec 2025 15:52:00 +0100, Markus Heidelberg <[email protected]> 
wrote:
> CLI tools telnetlib3-client and telnetlib3-server have been omitted,
> could be added with or without a dedicated config option.
> 
> Python-2.0 license is only used for the legacy telnetlib.py.
> 
> Signed-off-by: Markus Heidelberg <[email protected]>
> Message-Id: <[email protected]>
> [mol: remove unnecessary HOST_PYTHON3_SETUPTOOLS dependency]
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/python3-telnetlib3.in b/rules/python3-telnetlib3.in
> new file mode 100644
> index 000000000000..072e6bab223f
> --- /dev/null
> +++ b/rules/python3-telnetlib3.in
> @@ -0,0 +1,10 @@
> +## SECTION=python3
> +
> +config PYTHON3_TELNETLIB3
> +     tristate
> +     select PYTHON3
> +     prompt "telnetlib3"
> +     help
> +       telnetlib3 is a Telnet Client and Server library for Python.
> +
> +# vim: ft=kconfig tw=80
> diff --git a/rules/python3-telnetlib3.make b/rules/python3-telnetlib3.make
> new file mode 100644
> index 000000000000..6eba0b998483
> --- /dev/null
> +++ b/rules/python3-telnetlib3.make
> @@ -0,0 +1,55 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2025 by Markus Heidelberg <[email protected]>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_TELNETLIB3) += python3-telnetlib3
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_TELNETLIB3_VERSION           := 2.0.8
> +PYTHON3_TELNETLIB3_MD5                       := 
> effe967417ede0c7dadcc3ccd3263d5f
> +PYTHON3_TELNETLIB3                   := 
> telnetlib3-$(PYTHON3_TELNETLIB3_VERSION)
> +PYTHON3_TELNETLIB3_SUFFIX            := tar.gz
> +PYTHON3_TELNETLIB3_URL                       := $(call ptx/mirror-pypi, 
> telnetlib3, $(PYTHON3_TELNETLIB3).$(PYTHON3_TELNETLIB3_SUFFIX))
> +PYTHON3_TELNETLIB3_SOURCE            := 
> $(SRCDIR)/$(PYTHON3_TELNETLIB3).$(PYTHON3_TELNETLIB3_SUFFIX)
> +PYTHON3_TELNETLIB3_DIR                       := 
> $(BUILDDIR)/$(PYTHON3_TELNETLIB3)
> +PYTHON3_TELNETLIB3_LICENSE           := ISC AND Python-2.0
> +PYTHON3_TELNETLIB3_LICENSE_FILES     := \
> +     
> file://setup.py;startline=19;endline=19;md5=de8d023adf0e761ff2f374af7aa71a4a \
> +     file://LICENSE.txt;md5=b2cbfe1ec99d8830fa20d62c8f21d0e8
> +
> +# 
> ----------------------------------------------------------------------------
> +# Prepare
> +# 
> ----------------------------------------------------------------------------
> +
> +PYTHON3_TELNETLIB3_CONF_TOOL := python3
> +
> +# 
> ----------------------------------------------------------------------------
> +# Target-Install
> +# 
> ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-telnetlib3.targetinstall:
> +     @$(call targetinfo)
> +
> +     @$(call install_init, python3-telnetlib3)
> +     @$(call install_fixup, python3-telnetlib3,PRIORITY,optional)
> +     @$(call install_fixup, python3-telnetlib3,SECTION,base)
> +     @$(call install_fixup, python3-telnetlib3,AUTHOR,"Markus Heidelberg 
> <[email protected]>")
> +     @$(call install_fixup, python3-telnetlib3,DESCRIPTION,missing)
> +
> +     @$(call install_glob, python3-telnetlib3, 0, 0, -, \
> +             $(PYTHON3_SITEPACKAGES),, *.py)
> +
> +     @$(call install_finish, python3-telnetlib3)
> +
> +     @$(call touch)
> +
> +# vim: ft=make

Reply via email to