summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Barnett <ryanbarnett3@gmail.com>2013-12-11 20:27:09 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-12-15 13:01:01 (GMT)
commit83cebd8e8edb8bfe79917aac3c2b4144f9879262 (patch)
treee5c99116ecb7712fdde03a6f8230712eaefb75ca
parentf096d82eb294ded1a8040d5d6d42bbc54591cd25 (diff)
downloadbuildroot-83cebd8e8edb8bfe79917aac3c2b4144f9879262.tar.gz
buildroot-83cebd8e8edb8bfe79917aac3c2b4144f9879262.tar.bz2
python-pysnmp: new package
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>
-rw-r--r--package/Config.in1
-rw-r--r--package/python-pysnmp/Config.in14
-rw-r--r--package/python-pysnmp/python-pysnmp.mk17
3 files changed, 32 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 50307f2..017876d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -405,6 +405,7 @@ source "package/python-pycrypto/Config.in"
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-pyusb/Config.in"
source "package/python-pyzmq/Config.in"
source "package/python-serial/Config.in"
diff --git a/package/python-pysnmp/Config.in b/package/python-pysnmp/Config.in
new file mode 100644
index 0000000..a87a4d0
--- /dev/null
+++ b/package/python-pysnmp/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_PYTHON_PYSNMP
+ bool "python-pysnmp"
+ depends on BR2_PACKAGE_PYTHON
+ depends on BR2_INSTALL_LIBSTDCPP # pyasn
+ select BR2_PACKAGE_PYTHON_PYASN
+ select BR2_PACKAGE_PYTHON_PYCRYPTO
+ help
+ PySNMP is a cross-platform, pure-Python SNMP engine
+ implementation.
+
+ http://pysnmp.sf.net
+
+comment "python-pysnmp needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/python-pysnmp/python-pysnmp.mk b/package/python-pysnmp/python-pysnmp.mk
new file mode 100644
index 0000000..3d0f3b5
--- /dev/null
+++ b/package/python-pysnmp/python-pysnmp.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# python-pysnmp
+#
+################################################################################
+
+PYTHON_PYSNMP_VERSION = 4.2.4
+PYTHON_PYSNMP_SOURCE = pysnmp-$(PYTHON_PYSNMP_VERSION).tar.gz
+PYTHON_PYSNMP_SITE = https://pypi.python.org/packages/source/p/pysnmp
+PYTHON_PYSNMP_SETUP_TYPE = setuptools
+
+PYTHON_PYSNMP_LICENSE = BSD-3c
+PYTHON_PYSNMP_LICENSE_FILES = LICENSE
+
+PYTHON_PYSNMP_DEPENDENCIES = python-pyasn python-pycrypto
+
+$(eval $(python-package))