From: Lars Pedersen <lapeddk@gmail.com> To: ptxdist@pengutronix.de Cc: Lars Pedersen <lapeddk@gmail.com> Subject: [ptxdist] [PATCH 4/4] python3-snmpclitools: new package Date: Mon, 5 Jul 2021 11:33:50 +0200 [thread overview] Message-ID: <20210705093350.55933-4-lapeddk@gmail.com> (raw) In-Reply-To: <20210705093350.55933-1-lapeddk@gmail.com> 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
next prev parent reply other threads:[~2021-07-05 9:34 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-05 9:33 [ptxdist] [PATCH 1/4] python3-pyasn1: " 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 [this message] 2021-07-07 14:01 ` [ptxdist] [PATCH 4/4] python3-snmpclitools: " 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210705093350.55933-4-lapeddk@gmail.com \ --to=lapeddk@gmail.com \ --cc=ptxdist@pengutronix.de \ --subject='Re: [ptxdist] [PATCH 4/4] python3-snmpclitools: new package' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox