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 <[email protected]> > --- > 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 <[email protected]> > +# > +# 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 > <[email protected]>") > + @$(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 > [email protected] > To unsubscribe, send a mail with subject "unsubscribe" to > [email protected] > -- Roland Hieber, Pengutronix e.K. | [email protected] | 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 [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
