package/snmpclitools: new package

For now, we use PKG-INFO as license file, since LICENSE.rst isn't
provided with the tarball.
A pull request was sent upstream:
https://github.com/etingof/snmpclitools/pull/11

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Asaf Kahlon 2019-10-09 20:24:21 +03:00 committed by Thomas Petazzoni
parent 91718dc6de
commit 4ddcc73968
5 changed files with 29 additions and 0 deletions

View File

@ -235,6 +235,7 @@ N: Asaf Kahlon <asafka7@gmail.com>
F: package/collectd/
F: package/libuv/
F: package/python*
F: package/snmpclitools/
F: package/spdlog/
F: package/uftp/
F: package/zeromq/

View File

@ -2084,6 +2084,7 @@ endif
source "package/shellinabox/Config.in"
source "package/smcroute/Config.in"
source "package/sngrep/Config.in"
source "package/snmpclitools/Config.in"
source "package/snort/Config.in"
source "package/socat/Config.in"
source "package/socketcand/Config.in"

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_SNMPCLITOOLS
bool "snmpclitools"
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_PYSMI # runtime
select BR2_PACKAGE_PYTHON_PYSNMP # runtime
help
SNMP command-line tools.
https://github.com/etingof/snmpclitools

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/snmpclitools/json
md5 132b100f5e7b80715e6c1d424e89687c snmpclitools-0.6.4.tar.gz
sha256 820c45de419bf355c845a96610a395ec18a15176ac0362d388da7740266ea1ac snmpclitools-0.6.4.tar.gz
# Locally computed sha256 checksums
sha256 ed5561a0f5b75e93aa026c1b9fdef58e7ccbf6b2e9a2458be732afc288209d23 PKG-INFO

View File

@ -0,0 +1,13 @@
################################################################################
#
# snmpclitools
#
################################################################################
SNMPCLITOOLS_VERSION = 0.6.4
SNMPCLITOOLS_SITE = https://files.pythonhosted.org/packages/03/2a/8488828e92a82c5416e33fba6089283162937b0f73e5b15205fb6ec3bbea
SNMPCLITOOLS_SETUP_TYPE = setuptools
SNMPCLITOOLS_LICENSE = BSD-2-Clause
SNMPCLITOOLS_LICENSE_FILES = PKG-INFO
$(eval $(python-package))