From 83cebd8e8edb8bfe79917aac3c2b4144f9879262 Mon Sep 17 00:00:00 2001 From: Ryan Barnett Date: Wed, 11 Dec 2013 21:27:09 +0100 Subject: [PATCH] python-pysnmp: new package Signed-off-by: Ryan Barnett Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/python-pysnmp/Config.in | 14 ++++++++++++++ package/python-pysnmp/python-pysnmp.mk | 17 +++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 package/python-pysnmp/Config.in create mode 100644 package/python-pysnmp/python-pysnmp.mk diff --git a/package/Config.in b/package/Config.in index 50307f2b94..017876d78f 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 0000000000..a87a4d00c6 --- /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 0000000000..3d0f3b52cd --- /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)) -- 2.30.2