python-pysmi: new package
authorAsaf Kahlon <asafka7@gmail.com>
Sat, 22 Sep 2018 19:36:30 +0000 (22:36 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 9 Oct 2018 19:29:25 +0000 (21:29 +0200)
SNMP SMI/MIB Parser.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-pysmi/Config.in [new file with mode: 0644]
package/python-pysmi/python-pysmi.hash [new file with mode: 0644]
package/python-pysmi/python-pysmi.mk [new file with mode: 0644]

index 031a162c5845e7547c5205cc524298db0b685188..4d2400e6fb56b6c00575db94efc8b77ed9b07b7c 100644 (file)
@@ -223,6 +223,7 @@ F:  package/python-pyhamcrest/
 F:     package/python-pyopenssl/
 F:     package/python-pyqrcode/
 F:     package/python-pyroute2/
+F:     package/python-pysmi/
 F:     package/python-pytz/
 F:     package/python-reentry/
 F:     package/python-sdnotify/
index 125a7a85f1837a816ebb8857a50986cce1371c7c..539e4f30ac3a2e1427611695a0003a23831f3c69 100644 (file)
@@ -967,6 +967,7 @@ menu "External python modules"
        source "package/python-pyroute2/Config.in"
        source "package/python-pysendfile/Config.in"
        source "package/python-pysmb/Config.in"
+       source "package/python-pysmi/Config.in"
        source "package/python-pysnmp/Config.in"
        source "package/python-pysnmp-apps/Config.in"
        source "package/python-pysnmp-mibs/Config.in"
diff --git a/package/python-pysmi/Config.in b/package/python-pysmi/Config.in
new file mode 100644 (file)
index 0000000..2e4453d
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PYSMI
+       bool "python-pysmi"
+       select BR2_PACKAGE_PYTHON_PLY # runtime
+       help
+         SNMP SMI/MIB Parser.
+
+         https://github.com/etingof/pysmi
diff --git a/package/python-pysmi/python-pysmi.hash b/package/python-pysmi/python-pysmi.hash
new file mode 100644 (file)
index 0000000..f3ca8a9
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pysmi/json
+md5    3293518c06b90bb45856cb0e0deb71d1  pysmi-0.3.1.tar.gz
+sha256 b1746f559b0d3dbaa6b7993936f215617271efde022dc3eb3166fd62380d8887  pysmi-0.3.1.tar.gz
+# Locally computed sha256 checksums
+sha256 ac2f8f67cae76e36a25496fbdf3293dd14b3d6db63f1ce4242ae9dd4fb7b90fd  LICENSE.rst
diff --git a/package/python-pysmi/python-pysmi.mk b/package/python-pysmi/python-pysmi.mk
new file mode 100644 (file)
index 0000000..3aa4f76
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pysmi
+#
+################################################################################
+
+PYTHON_PYSMI_VERSION = 0.3.1
+PYTHON_PYSMI_SOURCE = pysmi-$(PYTHON_PYSMI_VERSION).tar.gz
+PYTHON_PYSMI_SITE = https://files.pythonhosted.org/packages/8f/14/68331f94a5cd94e00ff064c9a790e6d7b0a0ade8c66deafa543398ca72ee
+PYTHON_PYSMI_SETUP_TYPE = setuptools
+PYTHON_PYSMI_LICENSE = BSD-2-Clause
+PYTHON_PYSMI_LICENSE_FILES = LICENSE.rst
+
+$(eval $(python-package))