From 5ed1b52af7a893ce4763ecf8ef662a667fdc345d Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sat, 17 Mar 2018 17:28:34 -0700 Subject: python-pysnmp: upgrade v4.3.5 -> v4.4.4; inherit pypi; add python3 support For changes, see: https://github.com/etingof/pysnmp/blob/master/CHANGES.txt Verified that license remains BSD. License-Update: change in copyright year, author email, whitespace Signed-off-by: Tim Orling --- .../recipes-devtools/python/python-pysnmp.inc | 23 ++++++++++++++++++++ .../recipes-devtools/python/python-pysnmp_4.3.5.bb | 25 ---------------------- .../recipes-devtools/python/python-pysnmp_4.4.4.bb | 2 ++ .../python/python3-pysnmp_4.4.4.bb | 2 ++ 4 files changed, 27 insertions(+), 25 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-pysnmp.inc delete mode 100644 meta-python/recipes-devtools/python/python-pysnmp_4.3.5.bb create mode 100644 meta-python/recipes-devtools/python/python-pysnmp_4.4.4.bb create mode 100644 meta-python/recipes-devtools/python/python3-pysnmp_4.4.4.bb diff --git a/meta-python/recipes-devtools/python/python-pysnmp.inc b/meta-python/recipes-devtools/python/python-pysnmp.inc new file mode 100644 index 0000000000..ad9c04da43 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pysnmp.inc @@ -0,0 +1,23 @@ +SUMMARY = "A pure-Python SNMPv1/v2c/v3 library" +DESCRIPTION = "SNMP v1/v2c/v3 engine and apps written in pure-Python. \ + Supports Manager/Agent/Proxy roles, scriptable MIBs, asynchronous \ + operation (asyncio, twisted, asyncore) and multiple transports.\ +" +HOMEPAGE = "https://pypi.python.org/pypi/pysnmp" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ade013674cd6ffd9d5d9f77089733e5e" + +PYPI_PACKAGE = "pysnmp" + +SRC_URI[md5sum] = "a8a5d85d7dd38ffaa6653a3b73494ce3" +SRC_URI[sha256sum] = "2f363106ad1518d9ef81c1f04b3764a77f9e5fac0303e3148ceb4261c9c6fcca" + +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-pycrypto \ + ${PYTHON_PN}-pyasn1 \ + ${PYTHON_PN}-pysmi \ +" + +BBCLASSEXTEND += "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python-pysnmp_4.3.5.bb b/meta-python/recipes-devtools/python/python-pysnmp_4.3.5.bb deleted file mode 100644 index 0b38d58e4a..0000000000 --- a/meta-python/recipes-devtools/python/python-pysnmp_4.3.5.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "A pure-Python SNMPv1/v2c/v3 library" -DESCRIPTION = "SNMP v1/v2c/v3 engine and apps written in pure-Python. \ - Supports Manager/Agent/Proxy roles, scriptable MIBs, asynchronous \ - operation (asyncio, twisted, asyncore) and multiple transports.\ -" -HOMEPAGE = "https://pypi.python.org/pypi/pysnmp" -SECTION = "devel/python" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=280606d9c18f200e03e0c247ac61475a" - -SRCNAME = "pysnmp" - -SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" - -SRC_URI[md5sum] = "387aaa23c168ccc0b59775cfdf519fc0" -SRC_URI[sha256sum] = "38253fe95cea33f352fb36e85f3c2874043401724300c4888df74835161169d2" - -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit setuptools - -RDEPENDS_${PN} += "python-pycrypto \ - python-pyasn1 \ - python-pysmi \ -" diff --git a/meta-python/recipes-devtools/python/python-pysnmp_4.4.4.bb b/meta-python/recipes-devtools/python/python-pysnmp_4.4.4.bb new file mode 100644 index 0000000000..2c415141ee --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pysnmp_4.4.4.bb @@ -0,0 +1,2 @@ +require python-pysnmp.inc +inherit setuptools diff --git a/meta-python/recipes-devtools/python/python3-pysnmp_4.4.4.bb b/meta-python/recipes-devtools/python/python3-pysnmp_4.4.4.bb new file mode 100644 index 0000000000..2c415141ee --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pysnmp_4.4.4.bb @@ -0,0 +1,2 @@ +require python-pysnmp.inc +inherit setuptools -- cgit 1.2.3-korg