python-pysnmp-apps: new package
authorRyan Barnett <ryanbarnett3@gmail.com>
Wed, 11 Dec 2013 20:27:10 +0000 (21:27 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 15 Dec 2013 13:01:01 +0000 (14:01 +0100)
[Peter: remove wrong newline from help text]
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-apps/Config.in [new file with mode: 0644]
package/python-pysnmp-apps/python-pysnmp-apps.mk [new file with mode: 0644]

index 017876d78f9f64daac303afe3bd489891f53bb68..938ace613c500ba83aac8ad07305397fd1726a82 100644 (file)
@@ -406,6 +406,7 @@ source "package/python-pygame/Config.in"
 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-pyusb/Config.in"
 source "package/python-pyzmq/Config.in"
 source "package/python-serial/Config.in"
diff --git a/package/python-pysnmp-apps/Config.in b/package/python-pysnmp-apps/Config.in
new file mode 100644 (file)
index 0000000..16d7c55
--- /dev/null
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_PYTHON_PYSNMP_APPS
+       bool "python-pysnmp-apps"
+       depends on BR2_PACKAGE_PYTHON
+       select BR2_PACKAGE_PYTHON_PYSNMP
+       depends on BR2_INSTALL_LIBSTDCPP # pysnmp -> pyasn
+       help
+         A collection of command-line tools for SNMP management
+         purposes built on top of the PySNMP package.
+
+         http://pysnmp.sf.net
+
+comment "python-pysnmp-apps needs a toolchain w/ C++"
+        depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/python-pysnmp-apps/python-pysnmp-apps.mk b/package/python-pysnmp-apps/python-pysnmp-apps.mk
new file mode 100644 (file)
index 0000000..d6e9db2
--- /dev/null
@@ -0,0 +1,16 @@
+################################################################################
+#
+# python-pysnmp-apps
+#
+################################################################################
+
+PYTHON_PYSNMP_APPS_VERSION = 0.3.3
+PYTHON_PYSNMP_APPS_SOURCE = pysnmp-apps-$(PYTHON_PYSNMP_APPS_VERSION).tar.gz
+PYTHON_PYSNMP_APPS_SITE = https://pypi.python.org/packages/source/p/pysnmp-apps
+PYTHON_PYSNMP_APPS_SETUP_TYPE = setuptools
+PYTHON_PYSNMP_APPS_LICENSE = BSD-3c
+PYTHON_PYSNMP_APPS_LICENSE_FILES = LICENSE
+
+PYTHON_PYSNMP_APPS_DEPENDENCIES = python-pysnmp
+
+$(eval $(python-package))