python-pysnmp-mibs: new package
authorRyan Barnett <ryanbarnett3@gmail.com>
Wed, 11 Dec 2013 20:27:11 +0000 (21:27 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 15 Dec 2013 13:01:01 +0000 (14:01 +0100)
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-pysnmp-mibs/Config.in [new file with mode: 0644]
package/python-pysnmp-mibs/python-pysnmp-mibs.mk [new file with mode: 0644]

index 938ace613c500ba83aac8ad07305397fd1726a82..63ea528b014ae70ea8a25e961f07d0615e3d0839 100644 (file)
@@ -407,6 +407,7 @@ source "package/python-pyparsing/Config.in"
 source "package/python-pyro/Config.in"
 source "package/python-pysnmp/Config.in"
 source "package/python-pysnmp-apps/Config.in"
+source "package/python-pysnmp-mibs/Config.in"
 source "package/python-pyusb/Config.in"
 source "package/python-pyzmq/Config.in"
 source "package/python-serial/Config.in"
diff --git a/package/python-pysnmp-mibs/Config.in b/package/python-pysnmp-mibs/Config.in
new file mode 100644 (file)
index 0000000..76089b1
--- /dev/null
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_PYTHON_PYSNMP_MIBS
+       bool "python-pysnmp-mibs"
+       depends on BR2_PACKAGE_PYTHON
+       select BR2_PACKAGE_PYTHON_PYSNMP
+       depends on BR2_INSTALL_LIBSTDCPP # pysnmp -> pyasn
+       help
+         PySNMP MIBs is a set of IETF & IANA MIBs pre-compiled and
+         packaged to simplify their use with the PySNMP library.
+
+         http://pysnmp.sf.net
+
+comment "python-pysnmp-libs needs a toolchain w/ C++"
+        depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/python-pysnmp-mibs/python-pysnmp-mibs.mk b/package/python-pysnmp-mibs/python-pysnmp-mibs.mk
new file mode 100644 (file)
index 0000000..21b9673
--- /dev/null
@@ -0,0 +1,16 @@
+################################################################################
+#
+# python-pysnmp-mibs
+#
+################################################################################
+
+PYTHON_PYSNMP_MIBS_VERSION = 0.1.4
+PYTHON_PYSNMP_MIBS_SOURCE = pysnmp-mibs-$(PYTHON_PYSNMP_MIBS_VERSION).tar.gz
+PYTHON_PYSNMP_MIBS_SITE = https://pypi.python.org/packages/source/p/pysnmp-mibs
+PYTHON_PYSNMP_MIBS_SETUP_TYPE = setuptools
+PYTHON_PYSNMP_MIBS_LICENSE = BSD-3c
+PYTHON_PYSNMP_MIBS_LICENSE_FILES = LICENSE
+
+PYTHON_PYSNMP_MIBS_DEPENDENCIES = python-pysnmp
+
+$(eval $(python-package))