mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/4] python3-pyasn1: new package
@ 2021-07-05  9:33 Lars Pedersen
  2021-07-05  9:33 ` [ptxdist] [PATCH 2/4] python3-pysmi: " Lars Pedersen
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Lars Pedersen @ 2021-07-05  9:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Lars Pedersen

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 <lapeddk@gmail.com>
---
 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 <lapeddk@gmail.com>
+#
+# 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
+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 <lapeddk@gmail.com>")
+	@$(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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ptxdist] [PATCH 2/4] python3-pysmi: new package
  2021-07-05  9:33 [ptxdist] [PATCH 1/4] python3-pyasn1: new package Lars Pedersen
@ 2021-07-05  9:33 ` Lars Pedersen
  2021-07-05  9:33 ` [ptxdist] [PATCH 3/4] python3-pysnmp: " Lars Pedersen
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Lars Pedersen @ 2021-07-05  9:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Lars Pedersen

A pure-Python implementation of SNMP/SMI MIB parsing and conversion library.
New package used by python3-pysnmp.

Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
 rules/python3-pysmi.in   |  9 +++++++
 rules/python3-pysmi.make | 54 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
 create mode 100644 rules/python3-pysmi.in
 create mode 100644 rules/python3-pysmi.make

diff --git a/rules/python3-pysmi.in b/rules/python3-pysmi.in
new file mode 100644
index 000000000..a02d1b62d
--- /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 000000000..425890154
--- /dev/null
+++ b/rules/python3-pysmi.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2021 by Lars Pedersen <lapeddk@gmail.com>
+#
+# 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
+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 <lapeddk@gmail.com>")
+	@$(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
-- 
2.31.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ptxdist] [PATCH 3/4] python3-pysnmp: new package
  2021-07-05  9:33 [ptxdist] [PATCH 1/4] python3-pyasn1: new package Lars Pedersen
  2021-07-05  9:33 ` [ptxdist] [PATCH 2/4] python3-pysmi: " Lars Pedersen
@ 2021-07-05  9:33 ` Lars Pedersen
  2021-07-05  9:33 ` [ptxdist] [PATCH 4/4] python3-snmpclitools: " Lars Pedersen
  2021-07-07 14:00 ` [ptxdist] [PATCH 1/4] python3-pyasn1: " Roland Hieber
  3 siblings, 0 replies; 8+ messages in thread
From: Lars Pedersen @ 2021-07-05  9:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Lars Pedersen

pySNMP is a cross-platform, pure-Python SNMP engine implementation.
Depends on new packages python3-pyasn1 and python3-pysmi.

Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
 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..28f96ee3b
--- /dev/null
+++ b/rules/python3-pysnmp.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2021 by Lars Pedersen <lapeddk@gmail.com>
+#
+# 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
+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 <lapeddk@gmail.com>")
+	@$(call install_fixup, python3-pysnmp,DESCRIPTION,missing)
+
+	@$(call install_glob,python3-pysnmp, 0, 0, -, \
+		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.pyc)
+
+	@$(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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ptxdist] [PATCH 4/4] python3-snmpclitools: new package
  2021-07-05  9:33 [ptxdist] [PATCH 1/4] python3-pyasn1: new package Lars Pedersen
  2021-07-05  9:33 ` [ptxdist] [PATCH 2/4] python3-pysmi: " Lars Pedersen
  2021-07-05  9:33 ` [ptxdist] [PATCH 3/4] python3-pysnmp: " Lars Pedersen
@ 2021-07-05  9:33 ` Lars Pedersen
  2021-07-07 14:01   ` Roland Hieber
  2021-07-07 14:00 ` [ptxdist] [PATCH 1/4] python3-pyasn1: " Roland Hieber
  3 siblings, 1 reply; 8+ messages in thread
From: Lars Pedersen @ 2021-07-05  9:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Lars Pedersen

This is a collection of command-line SNMP tools written in pure-Python.
This package depends on python3-pysnmp

Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
 rules/python3-snmpclitools.in   |  9 ++++++
 rules/python3-snmpclitools.make | 56 +++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)
 create mode 100644 rules/python3-snmpclitools.in
 create mode 100644 rules/python3-snmpclitools.make

diff --git a/rules/python3-snmpclitools.in b/rules/python3-snmpclitools.in
new file mode 100644
index 000000000..369b2bd65
--- /dev/null
+++ b/rules/python3-snmpclitools.in
@@ -0,0 +1,9 @@
+## SECTION=python3
+
+config PYTHON3_SNMPCLITOOLS
+	tristate
+	select PYTHON3
+	select PYTHON3_PYSNMP
+	prompt "snmpclitools"
+	help
+	  This is a collection of command-line SNMP tools written in pure-Python
diff --git a/rules/python3-snmpclitools.make b/rules/python3-snmpclitools.make
new file mode 100644
index 000000000..050373add
--- /dev/null
+++ b/rules/python3-snmpclitools.make
@@ -0,0 +1,56 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2021 by Lars Pedersen <lapeddk@gmail.com>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_SNMPCLITOOLS) += python3-snmpclitools
+
+#
+# Paths and names
+#
+PYTHON3_SNMPCLITOOLS_VERSION	:= 0.6.4
+PYTHON3_SNMPCLITOOLS_MD5	:= 132b100f5e7b80715e6c1d424e89687c
+PYTHON3_SNMPCLITOOLS		:= snmpclitools-$(PYTHON3_SNMPCLITOOLS_VERSION)
+PYTHON3_SNMPCLITOOLS_SUFFIX	:= tar.gz
+PYTHON3_SNMPCLITOOLS_URL	:= $(call ptx/mirror-pypi, snmpclitools, $(PYTHON3_SNMPCLITOOLS).$(PYTHON3_SNMPCLITOOLS_SUFFIX))
+PYTHON3_SNMPCLITOOLS_SOURCE	:= $(SRCDIR)/$(PYTHON3_SNMPCLITOOLS).$(PYTHON3_SNMPCLITOOLS_SUFFIX)
+PYTHON3_SNMPCLITOOLS_DIR	:= $(BUILDDIR)/$(PYTHON3_SNMPCLITOOLS)
+PYTHON3_SNMPCLITOOLS_LICENSE	:= BSD-2
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_SNMPCLITOOLS_CONF_TOOL	:= python3
+PYTHON3_SNMPCLITOOLS_MAKE_OPT	:= install_scripts
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-snmpclitools.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-snmpclitools)
+	@$(call install_fixup, python3-snmpclitools,PRIORITY,optional)
+	@$(call install_fixup, python3-snmpclitools,SECTION,base)
+	@$(call install_fixup, python3-snmpclitools,AUTHOR,"Lars Pedersen <lapeddk@gmail.com>")
+	@$(call install_fixup, python3-snmpclitools,DESCRIPTION,missing)
+
+	@$(call install_glob, python3-snmpclitools, 0, 0, -, \
+		$(PYTHON3_SITEPACKAGES),, *.py)
+
+	@$(call install_glob,python3-snmpclitools, 0, 0, -, \
+		/usr/bin/,*.py,)
+
+	@$(call install_finish, python3-snmpclitools)
+
+	@$(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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] [PATCH 1/4] python3-pyasn1: new package
  2021-07-05  9:33 [ptxdist] [PATCH 1/4] python3-pyasn1: new package Lars Pedersen
                   ` (2 preceding siblings ...)
  2021-07-05  9:33 ` [ptxdist] [PATCH 4/4] python3-snmpclitools: " Lars Pedersen
@ 2021-07-07 14:00 ` Roland Hieber
  2021-07-12 10:30   ` Lars Pedersen
  3 siblings, 1 reply; 8+ messages in thread
From: Roland Hieber @ 2021-07-07 14:00 UTC (permalink / raw)
  To: ptxdist; +Cc: Lars Pedersen

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 <lapeddk@gmail.com>
> ---
>  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 <lapeddk@gmail.com>
> +#
> +# 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 <lapeddk@gmail.com>")
> +	@$(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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] [PATCH 4/4] python3-snmpclitools: new package
  2021-07-05  9:33 ` [ptxdist] [PATCH 4/4] python3-snmpclitools: " Lars Pedersen
@ 2021-07-07 14:01   ` Roland Hieber
  2021-07-12 10:34     ` Lars Pedersen
  0 siblings, 1 reply; 8+ messages in thread
From: Roland Hieber @ 2021-07-07 14:01 UTC (permalink / raw)
  To: ptxdist; +Cc: Lars Pedersen

On Mon, Jul 05, 2021 at 11:33:50AM +0200, Lars Pedersen wrote:
> This is a collection of command-line SNMP tools written in pure-Python.
> This package depends on python3-pysnmp
> 
> Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
> ---
>  rules/python3-snmpclitools.in   |  9 ++++++
>  rules/python3-snmpclitools.make | 56 +++++++++++++++++++++++++++++++++
>  2 files changed, 65 insertions(+)
>  create mode 100644 rules/python3-snmpclitools.in
>  create mode 100644 rules/python3-snmpclitools.make
> 
> diff --git a/rules/python3-snmpclitools.in b/rules/python3-snmpclitools.in
> new file mode 100644
> index 000000000..369b2bd65
> --- /dev/null
> +++ b/rules/python3-snmpclitools.in
> @@ -0,0 +1,9 @@
> +## SECTION=python3
> +
> +config PYTHON3_SNMPCLITOOLS
> +	tristate
> +	select PYTHON3
> +	select PYTHON3_PYSNMP
> +	prompt "snmpclitools"
> +	help
> +	  This is a collection of command-line SNMP tools written in pure-Python
> diff --git a/rules/python3-snmpclitools.make b/rules/python3-snmpclitools.make
> new file mode 100644
> index 000000000..050373add
> --- /dev/null
> +++ b/rules/python3-snmpclitools.make
> @@ -0,0 +1,56 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2021 by Lars Pedersen <lapeddk@gmail.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_SNMPCLITOOLS) += python3-snmpclitools
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_SNMPCLITOOLS_VERSION	:= 0.6.4
> +PYTHON3_SNMPCLITOOLS_MD5	:= 132b100f5e7b80715e6c1d424e89687c
> +PYTHON3_SNMPCLITOOLS		:= snmpclitools-$(PYTHON3_SNMPCLITOOLS_VERSION)
> +PYTHON3_SNMPCLITOOLS_SUFFIX	:= tar.gz
> +PYTHON3_SNMPCLITOOLS_URL	:= $(call ptx/mirror-pypi, snmpclitools, $(PYTHON3_SNMPCLITOOLS).$(PYTHON3_SNMPCLITOOLS_SUFFIX))
> +PYTHON3_SNMPCLITOOLS_SOURCE	:= $(SRCDIR)/$(PYTHON3_SNMPCLITOOLS).$(PYTHON3_SNMPCLITOOLS_SUFFIX)
> +PYTHON3_SNMPCLITOOLS_DIR	:= $(BUILDDIR)/$(PYTHON3_SNMPCLITOOLS)
> +PYTHON3_SNMPCLITOOLS_LICENSE	:= BSD-2pick

No LICENSE.rst in this one…? Or any license statements in source files?

 - Roland

> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_SNMPCLITOOLS_CONF_TOOL	:= python3
> +PYTHON3_SNMPCLITOOLS_MAKE_OPT	:= install_scripts
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-snmpclitools.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, python3-snmpclitools)
> +	@$(call install_fixup, python3-snmpclitools,PRIORITY,optional)
> +	@$(call install_fixup, python3-snmpclitools,SECTION,base)
> +	@$(call install_fixup, python3-snmpclitools,AUTHOR,"Lars Pedersen <lapeddk@gmail.com>")
> +	@$(call install_fixup, python3-snmpclitools,DESCRIPTION,missing)
> +
> +	@$(call install_glob, python3-snmpclitools, 0, 0, -, \
> +		$(PYTHON3_SITEPACKAGES),, *.py)
> +
> +	@$(call install_glob,python3-snmpclitools, 0, 0, -, \
> +		/usr/bin/,*.py,)
> +
> +	@$(call install_finish, python3-snmpclitools)
> +
> +	@$(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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] [PATCH 1/4] python3-pyasn1: new package
  2021-07-07 14:00 ` [ptxdist] [PATCH 1/4] python3-pyasn1: " Roland Hieber
@ 2021-07-12 10:30   ` Lars Pedersen
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Pedersen @ 2021-07-12 10:30 UTC (permalink / raw)
  To: Roland Hieber; +Cc: ptxdist

Hi.

Thanks for the feedback.

On Wed, 7 Jul 2021 at 16:00, Roland Hieber <rhi@pengutronix.de> wrote:
>
> 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 <lapeddk@gmail.com>
> > ---
> >  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 <lapeddk@gmail.com>
> > +#
> > +# 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.

Thanks. I'll fix this license in a v2 patch. I can see that pyasn1,
pysmi and pysnmp all needs to be fixed too.

/Lars Pedersen.

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] [PATCH 4/4] python3-snmpclitools: new package
  2021-07-07 14:01   ` Roland Hieber
@ 2021-07-12 10:34     ` Lars Pedersen
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Pedersen @ 2021-07-12 10:34 UTC (permalink / raw)
  To: Roland Hieber; +Cc: ptxdist

Hi. Thanks for the feedback.

On Wed, 7 Jul 2021 at 16:01, Roland Hieber <rhi@pengutronix.de> wrote:
>
> On Mon, Jul 05, 2021 at 11:33:50AM +0200, Lars Pedersen wrote:
> > This is a collection of command-line SNMP tools written in pure-Python.
> > This package depends on python3-pysnmp
> >
> > Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
> > ---
> >  rules/python3-snmpclitools.in   |  9 ++++++
> >  rules/python3-snmpclitools.make | 56 +++++++++++++++++++++++++++++++++
> >  2 files changed, 65 insertions(+)
> >  create mode 100644 rules/python3-snmpclitools.in
> >  create mode 100644 rules/python3-snmpclitools.make
> >
> > diff --git a/rules/python3-snmpclitools.in b/rules/python3-snmpclitools.in
> > new file mode 100644
> > index 000000000..369b2bd65
> > --- /dev/null
> > +++ b/rules/python3-snmpclitools.in
> > @@ -0,0 +1,9 @@
> > +## SECTION=python3
> > +
> > +config PYTHON3_SNMPCLITOOLS
> > +     tristate
> > +     select PYTHON3
> > +     select PYTHON3_PYSNMP
> > +     prompt "snmpclitools"
> > +     help
> > +       This is a collection of command-line SNMP tools written in pure-Python
> > diff --git a/rules/python3-snmpclitools.make b/rules/python3-snmpclitools.make
> > new file mode 100644
> > index 000000000..050373add
> > --- /dev/null
> > +++ b/rules/python3-snmpclitools.make
> > @@ -0,0 +1,56 @@
> > +# -*-makefile-*-
> > +#
> > +# Copyright (C) 2021 by Lars Pedersen <lapeddk@gmail.com>
> > +#
> > +# For further information about the PTXdist project and license conditions
> > +# see the README file.
> > +#
> > +
> > +#
> > +# We provide this package
> > +#
> > +PACKAGES-$(PTXCONF_PYTHON3_SNMPCLITOOLS) += python3-snmpclitools
> > +
> > +#
> > +# Paths and names
> > +#
> > +PYTHON3_SNMPCLITOOLS_VERSION := 0.6.4
> > +PYTHON3_SNMPCLITOOLS_MD5     := 132b100f5e7b80715e6c1d424e89687c
> > +PYTHON3_SNMPCLITOOLS         := snmpclitools-$(PYTHON3_SNMPCLITOOLS_VERSION)
> > +PYTHON3_SNMPCLITOOLS_SUFFIX  := tar.gz
> > +PYTHON3_SNMPCLITOOLS_URL     := $(call ptx/mirror-pypi, snmpclitools, $(PYTHON3_SNMPCLITOOLS).$(PYTHON3_SNMPCLITOOLS_SUFFIX))
> > +PYTHON3_SNMPCLITOOLS_SOURCE  := $(SRCDIR)/$(PYTHON3_SNMPCLITOOLS).$(PYTHON3_SNMPCLITOOLS_SUFFIX)
> > +PYTHON3_SNMPCLITOOLS_DIR     := $(BUILDDIR)/$(PYTHON3_SNMPCLITOOLS)
> > +PYTHON3_SNMPCLITOOLS_LICENSE := BSD-2pick
>
> No LICENSE.rst in this one…? Or any license statements in source files?

I have missed the LICENSE file. I'll send a new patch.

/Lars Pedersen

>
>  - Roland
>
> > +
> > +# ----------------------------------------------------------------------------
> > +# Prepare
> > +# ----------------------------------------------------------------------------
> > +
> > +PYTHON3_SNMPCLITOOLS_CONF_TOOL       := python3
> > +PYTHON3_SNMPCLITOOLS_MAKE_OPT        := install_scripts
> > +
> > +# ----------------------------------------------------------------------------
> > +# Target-Install
> > +# ----------------------------------------------------------------------------
> > +
> > +$(STATEDIR)/python3-snmpclitools.targetinstall:
> > +     @$(call targetinfo)
> > +
> > +     @$(call install_init, python3-snmpclitools)
> > +     @$(call install_fixup, python3-snmpclitools,PRIORITY,optional)
> > +     @$(call install_fixup, python3-snmpclitools,SECTION,base)
> > +     @$(call install_fixup, python3-snmpclitools,AUTHOR,"Lars Pedersen <lapeddk@gmail.com>")
> > +     @$(call install_fixup, python3-snmpclitools,DESCRIPTION,missing)
> > +
> > +     @$(call install_glob, python3-snmpclitools, 0, 0, -, \
> > +             $(PYTHON3_SITEPACKAGES),, *.py)
> > +
> > +     @$(call install_glob,python3-snmpclitools, 0, 0, -, \
> > +             /usr/bin/,*.py,)
> > +
> > +     @$(call install_finish, python3-snmpclitools)
> > +
> > +     @$(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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-07-12 10:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-05  9:33 [ptxdist] [PATCH 1/4] python3-pyasn1: new package Lars Pedersen
2021-07-05  9:33 ` [ptxdist] [PATCH 2/4] python3-pysmi: " Lars Pedersen
2021-07-05  9:33 ` [ptxdist] [PATCH 3/4] python3-pysnmp: " Lars Pedersen
2021-07-05  9:33 ` [ptxdist] [PATCH 4/4] python3-snmpclitools: " Lars Pedersen
2021-07-07 14:01   ` Roland Hieber
2021-07-12 10:34     ` Lars Pedersen
2021-07-07 14:00 ` [ptxdist] [PATCH 1/4] python3-pyasn1: " Roland Hieber
2021-07-12 10:30   ` Lars Pedersen

mailarchive of the ptxdist mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lore.ptxdist.org/ptxdist/0 ptxdist/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ptxdist ptxdist/ https://lore.ptxdist.org/ptxdist \
		ptxdist@pengutronix.de
	public-inbox-index ptxdist

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git