Skip to contentSkip to conversation

Created recipes for python2 and python3 packages for pysnmp and its dependencies.

PATCH In review thstead 3 participants 3 messages Jun 1, 2019 – Jun 17, 2019

lore
Share & tools
lore

thstead

author
#0 lore raw

PATCH 1/1 Created recipes for python2 and python3 packages for pysnmp and its dependencies.

Created Python2 and Python 3 packages for:
- pysnmp
- ply
- pysmi

---
 meta-python/recipes-devtools/python/python-ply.inc | 17 ++++++++++++++
 .../recipes-devtools/python/python-ply_3.10.bb     | 18 ++-------------
 .../recipes-devtools/python/python-pysmi.inc       | 19 +++++++++++++++
 .../recipes-devtools/python/python-pysmi_0.1.2.bb  | 21 ++---------------
 .../recipes-devtools/python/python-pysnmp.inc      | 21 +++++++++++++++++
 .../recipes-devtools/python/python-pysnmp_4.4.9.bb | 27 +++-------------------
 .../recipes-devtools/python/python3-ply_3.10.bb    |  3 +++
 .../recipes-devtools/python/python3-pysmi_0.1.2.bb |  3 +++
 .../python/python3-pysnmp_4.4.9.bb                 |  5 ++++
 9 files changed, 75 insertions(+), 59 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-ply.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pysmi.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pysnmp.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-ply_3.10.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pysmi_0.1.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pysnmp_4.4.9.bb
meta-python/recipes-devtools/python/python-ply.inc new file +17 -0
new file mode 100644
index 000000000..8e61efa79
@@ -0,0 +1,17 @@
+SUMMARY = "Python Lex and Yacc"
+DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python"
+HOMEPAGE = "https://pypi.python.org/pypi/ply"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://README.md;beginline=3;endline=30;md5=fcb04bc2f765e46ab7084d6ab6e452bb"
+
+SRCNAME = "ply"
+
+SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "1d63c166ab250bab87d8dcc42dcca70e"
+SRC_URI[sha256sum] = "96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
meta-python/recipes-devtools/python/python-ply_3.10.bb +2 -16
index 8e61efa79..6f5c4e6c8 100644
@@ -1,17 +1,3 @@
-SUMMARY = "Python Lex and Yacc"
-DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python"
-HOMEPAGE = "https://pypi.python.org/pypi/ply"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://README.md;beginline=3;endline=30;md5=fcb04bc2f765e46ab7084d6ab6e452bb"
-
-SRCNAME = "ply"
-
-SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "1d63c166ab250bab87d8dcc42dcca70e"
-SRC_URI[sha256sum] = "96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
 inherit setuptools
+require python-ply.inc
+
meta-python/recipes-devtools/python/python-pysmi.inc new file +19 -0
new file mode 100644
index 000000000..12ba0c68a
@@ -0,0 +1,19 @@
+SUMMARY = "SNMP SMI/MIB Parser"
+DESCRIPTION = "A pure-Python implementation of SNMP/SMI MIB \
+  parsing and conversion library. Can produce PySNMP MIB modules. \
+"
+HOMEPAGE = "https://pypi.python.org/pypi/pysmi"
+SECTION = "devel/python"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=d8b1bbadd635f187dee74d999a8c67b8"
+
+SRCNAME = "pysmi"
+
+SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "f8754e9ed75698cc16b40f125df85b12"
+SRC_URI[sha256sum] = "e0912180fc6faa9c264df78f97e7c451f77f84f5bd840098d2ce7b1bf70082bc"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb +2 -19
index aa234dd70..2fe56ca04 100644
@@ -1,22 +1,5 @@
-SUMMARY = "SNMP SMI/MIB Parser"
-DESCRIPTION = "A pure-Python implementation of SNMP/SMI MIB \
-  parsing and conversion library. Can produce PySNMP MIB modules. \
-"
-HOMEPAGE = "https://pypi.python.org/pypi/pysmi"
-SECTION = "devel/python"
-
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=d8b1bbadd635f187dee74d999a8c67b8"
-
-SRCNAME = "pysmi"
-
-SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "f8754e9ed75698cc16b40f125df85b12"
-SRC_URI[sha256sum] = "e0912180fc6faa9c264df78f97e7c451f77f84f5bd840098d2ce7b1bf70082bc"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
 inherit setuptools
+require python-pysmi.inc
 
 RDEPENDS_${PN} = "python-ply"
+
meta-python/recipes-devtools/python/python-pysnmp.inc new file +21 -0
new file mode 100644
index 000000000..9b67f6bc7
@@ -0,0 +1,21 @@
+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.rst;md5=b15d29f500f748d1c2a15709769090a8"
+
+SRCNAME = "pysnmp"
+
+SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "6d1b514997326bed18f1ae1510f6b1c9"
+SRC_URI[sha256sum] = "d5d1e59780126e963dd92e25993b783295734e71bef181f602e51f7393260441"
+
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+RDEPENDS_${PN} += "python-pycrypto"
meta-python/recipes-devtools/python/python-pysnmp_4.4.9.bb +3 -24
index 9ff4df2c9..c36d69b6a 100644
@@ -1,26 +1,5 @@
-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.rst;md5=b15d29f500f748d1c2a15709769090a8"
-
-SRCNAME = "pysnmp"
-
-SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "6d1b514997326bed18f1ae1510f6b1c9"
-SRC_URI[sha256sum] = "d5d1e59780126e963dd92e25993b783295734e71bef181f602e51f7393260441"
-
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
 inherit setuptools
+require python-pysnmp.inc
+
+RDEPENDS_${PN} += "python-pyasn1 python-pysmi"
 
-RDEPENDS_${PN} += "python-pycrypto \
-                   python-pyasn1 \
-                   python-pysmi \
-"
meta-python/recipes-devtools/python/python3-ply_3.10.bb new file +3 -0
new file mode 100644
index 000000000..401dd0df5
@@ -0,0 +1,3 @@
+inherit setuptools3
+require python-ply.inc
+
meta-python/recipes-devtools/python/python3-pysmi_0.1.2.bb new file +3 -0
new file mode 100644
index 000000000..829f16682
@@ -0,0 +1,3 @@
+inherit setuptools3
+require python-pysmi.inc
+RDEPENDS_${PN} = "python3-ply"
meta-python/recipes-devtools/python/python3-pysnmp_4.4.9.bb new file +5 -0
new file mode 100644
index 000000000..046d3e5d0
@@ -0,0 +1,5 @@
+inherit setuptools3
+require python-pysnmp.inc
+
+RDEPENDS_${PN} += "python3-pyasn1 python3-pysmi"
+
Signature · 1 line
2.11.0
#1 lore raw

this has gone stale and does not apply on top of master anymore. Can you please rebase it and send again

Quoted 224 lines · thstead

Created Python2 and Python 3 packages for:
- pysnmp
- ply
- pysmi

---
 meta-python/recipes-devtools/python/python-ply.inc | 17 ++++++++++++++
 .../recipes-devtools/python/python-ply_3.10.bb     | 18 ++-------------
 .../recipes-devtools/python/python-pysmi.inc       | 19 +++++++++++++++
 .../recipes-devtools/python/python-pysmi_0.1.2.bb  | 21 ++---------------
 .../recipes-devtools/python/python-pysnmp.inc      | 21 +++++++++++++++++
 .../recipes-devtools/python/python-pysnmp_4.4.9.bb | 27 +++-------------------
 .../recipes-devtools/python/python3-ply_3.10.bb    |  3 +++
 .../recipes-devtools/python/python3-pysmi_0.1.2.bb |  3 +++
 .../python/python3-pysnmp_4.4.9.bb                 |  5 ++++
 9 files changed, 75 insertions(+), 59 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-ply.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pysmi.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pysnmp.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-ply_3.10.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pysmi_0.1.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pysnmp_4.4.9.bb
meta-python/recipes-devtools/python/python-ply.inc new file +17 -0
new file mode 100644
index 000000000..8e61efa79
@@ -0,0 +1,17 @@
+SUMMARY = "Python Lex and Yacc"
+DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python"
+HOMEPAGE = "https://pypi.python.org/pypi/ply"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://README.md;beginline=3;endline=30;md5=fcb04bc2f765e46ab7084d6ab6e452bb"
+
+SRCNAME = "ply"
+
+SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "1d63c166ab250bab87d8dcc42dcca70e"
+SRC_URI[sha256sum] = "96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
meta-python/recipes-devtools/python/python-ply_3.10.bb +2 -16
index 8e61efa79..6f5c4e6c8 100644
@@ -1,17 +1,3 @@
-SUMMARY = "Python Lex and Yacc"
-DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python"
-HOMEPAGE = "https://pypi.python.org/pypi/ply"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://README.md;beginline=3;endline=30;md5=fcb04bc2f765e46ab7084d6ab6e452bb"
-
-SRCNAME = "ply"
-
-SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "1d63c166ab250bab87d8dcc42dcca70e"
-SRC_URI[sha256sum] = "96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
 inherit setuptools
+require python-ply.inc
+
meta-python/recipes-devtools/python/python-pysmi.inc new file +19 -0
new file mode 100644
index 000000000..12ba0c68a
@@ -0,0 +1,19 @@
+SUMMARY = "SNMP SMI/MIB Parser"
+DESCRIPTION = "A pure-Python implementation of SNMP/SMI MIB \
+  parsing and conversion library. Can produce PySNMP MIB modules. \
+"
+HOMEPAGE = "https://pypi.python.org/pypi/pysmi"
+SECTION = "devel/python"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=d8b1bbadd635f187dee74d999a8c67b8"
+
+SRCNAME = "pysmi"
+
+SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "f8754e9ed75698cc16b40f125df85b12"
+SRC_URI[sha256sum] = "e0912180fc6faa9c264df78f97e7c451f77f84f5bd840098d2ce7b1bf70082bc"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb +2 -19
index aa234dd70..2fe56ca04 100644
@@ -1,22 +1,5 @@
-SUMMARY = "SNMP SMI/MIB Parser"
-DESCRIPTION = "A pure-Python implementation of SNMP/SMI MIB \
-  parsing and conversion library. Can produce PySNMP MIB modules. \
-"
-HOMEPAGE = "https://pypi.python.org/pypi/pysmi"
-SECTION = "devel/python"
-
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=d8b1bbadd635f187dee74d999a8c67b8"
-
-SRCNAME = "pysmi"
-
-SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "f8754e9ed75698cc16b40f125df85b12"
-SRC_URI[sha256sum] = "e0912180fc6faa9c264df78f97e7c451f77f84f5bd840098d2ce7b1bf70082bc"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
 inherit setuptools
+require python-pysmi.inc
 
 RDEPENDS_${PN} = "python-ply"
+
meta-python/recipes-devtools/python/python-pysnmp.inc new file +21 -0
new file mode 100644
index 000000000..9b67f6bc7
@@ -0,0 +1,21 @@
+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.rst;md5=b15d29f500f748d1c2a15709769090a8"
+
+SRCNAME = "pysnmp"
+
+SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "6d1b514997326bed18f1ae1510f6b1c9"
+SRC_URI[sha256sum] = "d5d1e59780126e963dd92e25993b783295734e71bef181f602e51f7393260441"
+
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+RDEPENDS_${PN} += "python-pycrypto"
meta-python/recipes-devtools/python/python-pysnmp_4.4.9.bb +3 -24
index 9ff4df2c9..c36d69b6a 100644
@@ -1,26 +1,5 @@
-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.rst;md5=b15d29f500f748d1c2a15709769090a8"
-
-SRCNAME = "pysnmp"
-
-SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "6d1b514997326bed18f1ae1510f6b1c9"
-SRC_URI[sha256sum] = "d5d1e59780126e963dd92e25993b783295734e71bef181f602e51f7393260441"
-
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
 inherit setuptools
+require python-pysnmp.inc
+
+RDEPENDS_${PN} += "python-pyasn1 python-pysmi"
 
-RDEPENDS_${PN} += "python-pycrypto \
-                   python-pyasn1 \
-                   python-pysmi \
-"
meta-python/recipes-devtools/python/python3-ply_3.10.bb new file +3 -0
new file mode 100644
index 000000000..401dd0df5
@@ -0,0 +1,3 @@
+inherit setuptools3
+require python-ply.inc
+
meta-python/recipes-devtools/python/python3-pysmi_0.1.2.bb new file +3 -0
new file mode 100644
index 000000000..829f16682
@@ -0,0 +1,3 @@
+inherit setuptools3
+require python-pysmi.inc
+RDEPENDS_${PN} = "python3-ply"
meta-python/recipes-devtools/python/python3-pysnmp_4.4.9.bb new file +5 -1
new file mode 100644
index 000000000..046d3e5d0
@@ -0,0 +1,5 @@
+inherit setuptools3
+require python-pysnmp.inc
+
+RDEPENDS_${PN} += "python3-pyasn1 python3-pysmi"
+
--

2.11.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw

Also, the short log (subject) is awkward. Please follow the pattern of other commits. Perhaps split into three commits for each of the modules? ”python-foo: add recipe for v1.0”

Also, Signed-off-by is a legal indication that you are the author and have the rights to contribute. This means a legal name and not your nickname is expected. Many folks do not realize the implications.

Thank you for contributing. We appreciate it.

Quoted 276 lines · Khem Raj

this has gone stale and does not apply on top of master anymore. Can you please rebase it and send again

Quoted 6 lines · thstead

Created Python2 and Python 3 packages for:
- pysnmp
- ply
- pysmi

Quoted 6 lines
---
 meta-python/recipes-devtools/python/python-ply.inc | 17 ++++++++++++++
 .../recipes-devtools/python/python-ply_3.10.bb     | 18 ++-------------
 .../recipes-devtools/python/python-pysmi.inc       | 19 +++++++++++++++
 .../recipes-devtools/python/python-pysmi_0.1.2.bb  | 21

++---------------

Quoted 1 line
 .../recipes-devtools/python/python-pysnmp.inc      | 21

+++++++++++++++++

Quoted 1 line
 .../recipes-devtools/python/python-pysnmp_4.4.9.bb | 27

+++-------------------

Quoted 8 lines
 .../recipes-devtools/python/python3-ply_3.10.bb    |  3 +++
 .../recipes-devtools/python/python3-pysmi_0.1.2.bb |  3 +++
 .../python/python3-pysnmp_4.4.9.bb                 |  5 ++++
 9 files changed, 75 insertions(+), 59 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-ply.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pysmi.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pysnmp.inc
 create mode 100644 meta-python/recipes-devtools/python/

python3-ply_3.10.bb

Quoted 1 line
 create mode 100644 meta-python/recipes-devtools/python/

python3-pysmi_0.1.2.bb

Quoted 1 line
 create mode 100644 meta-python/recipes-devtools/python/

python3-pysnmp_4.4.9.bb

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python-ply.inc

meta-python/recipes-devtools/python/python-ply.inc line 2

Quoted 7 lines

new file mode 100644
index 000000000..8e61efa79

meta-python/recipes-devtools/python/python-ply.inc new file +2 -0
@@ -0,0 +1,17 @@
+SUMMARY = "Python Lex and Yacc"
+DESCRIPTION = "Python ply: PLY is yet another implementation of lex and

yacc for Python"

meta-python/recipes-devtools/python/python-ply.inc

Quoted 4 lines
meta-python/recipes-devtools/python/python-ply.inc new file +4 -0
+HOMEPAGE = "https://pypi.python.org/pypi/ply"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM =

"file://README.md;beginline=3;endline=30;md5=fcb04bc2f765e46ab7084d6ab6e452bb"

meta-python/recipes-devtools/python/python-ply.inc

Quoted 4 lines
meta-python/recipes-devtools/python/python-ply.inc new file +4 -0
+
+SRCNAME = "ply"
+
+SRC_URI = "

https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz
"

meta-python/recipes-devtools/python/python-ply.inc

Quoted 3 lines
meta-python/recipes-devtools/python/python-ply.inc new file +3 -0
+
+SRC_URI[md5sum] = "1d63c166ab250bab87d8dcc42dcca70e"
+SRC_URI[sha256sum] =

"96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb"

Review

Quoted 5 lines
meta-python/recipes-devtools/python/python-ply.inc new file +4 -0
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python-ply_3.10.bb

meta-python/recipes-devtools/python/python-ply_3.10.bb line 2

Quoted 6 lines

index 8e61efa79..6f5c4e6c8 100644

meta-python/recipes-devtools/python/python-ply_3.10.bb +0 -2
@@ -1,17 +1,3 @@
-SUMMARY = "Python Lex and Yacc"
-DESCRIPTION = "Python ply: PLY is yet another implementation of lex and

yacc for Python"

meta-python/recipes-devtools/python/python-ply_3.10.bb

Quoted 4 lines
meta-python/recipes-devtools/python/python-ply_3.10.bb +0 -4
-HOMEPAGE = "https://pypi.python.org/pypi/ply"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM =

"file://README.md;beginline=3;endline=30;md5=fcb04bc2f765e46ab7084d6ab6e452bb"

meta-python/recipes-devtools/python/python-ply_3.10.bb

Quoted 4 lines
meta-python/recipes-devtools/python/python-ply_3.10.bb +0 -4
-
-SRCNAME = "ply"
-
-SRC_URI = "

https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz
"

meta-python/recipes-devtools/python/python-ply_3.10.bb

Quoted 3 lines
meta-python/recipes-devtools/python/python-ply_3.10.bb +0 -3
-
-SRC_URI[md5sum] = "1d63c166ab250bab87d8dcc42dcca70e"
-SRC_URI[sha256sum] =

"96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb"

Review

Quoted 7 lines
meta-python/recipes-devtools/python/python-ply_3.10.bb +2 -3
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
 inherit setuptools
+require python-ply.inc
+
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python-pysmi.inc

Quoted 5 lines

new file mode 100644
index 000000000..12ba0c68a

meta-python/recipes-devtools/python/python-pysmi.inc line 9

Quoted 9 lines
meta-python/recipes-devtools/python/python-pysmi.inc new file +9 -0
@@ -0,0 +1,19 @@
+SUMMARY = "SNMP SMI/MIB Parser"
+DESCRIPTION = "A pure-Python implementation of SNMP/SMI MIB \
+  parsing and conversion library. Can produce PySNMP MIB modules. \
+"
+HOMEPAGE = "https://pypi.python.org/pypi/pysmi"
+SECTION = "devel/python"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM =

"file://LICENSE.rst;md5=d8b1bbadd635f187dee74d999a8c67b8"

meta-python/recipes-devtools/python/python-pysmi.inc

Quoted 4 lines
meta-python/recipes-devtools/python/python-pysmi.inc new file +4 -0
+
+SRCNAME = "pysmi"
+
+SRC_URI = "

https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz
"

meta-python/recipes-devtools/python/python-pysmi.inc

Quoted 3 lines
meta-python/recipes-devtools/python/python-pysmi.inc new file +3 -0
+
+SRC_URI[md5sum] = "f8754e9ed75698cc16b40f125df85b12"
+SRC_URI[sha256sum] =

"e0912180fc6faa9c264df78f97e7c451f77f84f5bd840098d2ce7b1bf70082bc"

Review

Quoted 4 lines
meta-python/recipes-devtools/python/python-pysmi.inc new file +3 -0
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb

meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb line 9

Quoted 13 lines

index aa234dd70..2fe56ca04 100644

meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb +0 -9
@@ -1,22 +1,5 @@
-SUMMARY = "SNMP SMI/MIB Parser"
-DESCRIPTION = "A pure-Python implementation of SNMP/SMI MIB \
-  parsing and conversion library. Can produce PySNMP MIB modules. \
-"
-HOMEPAGE = "https://pypi.python.org/pypi/pysmi"
-SECTION = "devel/python"
-
-LICENSE = "BSD"
-LIC_FILES_CHKSUM =

"file://LICENSE.rst;md5=d8b1bbadd635f187dee74d999a8c67b8"

meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb

Quoted 4 lines
meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb +0 -4
-
-SRCNAME = "pysmi"
-
-SRC_URI = "

https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz
"

meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb

Quoted 3 lines
meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb +0 -3
-
-SRC_URI[md5sum] = "f8754e9ed75698cc16b40f125df85b12"
-SRC_URI[sha256sum] =

"e0912180fc6faa9c264df78f97e7c451f77f84f5bd840098d2ce7b1bf70082bc"

Review

Quoted 9 lines
meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb +2 -3
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
 inherit setuptools
+require python-pysmi.inc
 
 RDEPENDS_${PN} = "python-ply"
+
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python-pysnmp.inc

Quoted 5 lines

new file mode 100644
index 000000000..9b67f6bc7

meta-python/recipes-devtools/python/python-pysnmp.inc line 9

Quoted 9 lines
meta-python/recipes-devtools/python/python-pysnmp.inc new file +9 -0
@@ -0,0 +1,21 @@
+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.rst;md5=b15d29f500f748d1c2a15709769090a8"

meta-python/recipes-devtools/python/python-pysnmp.inc

Quoted 4 lines
meta-python/recipes-devtools/python/python-pysnmp.inc new file +4 -0
+
+SRCNAME = "pysnmp"
+
+SRC_URI = "

https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz
"

meta-python/recipes-devtools/python/python-pysnmp.inc

Quoted 3 lines
meta-python/recipes-devtools/python/python-pysnmp.inc new file +3 -0
+
+SRC_URI[md5sum] = "6d1b514997326bed18f1ae1510f6b1c9"
+SRC_URI[sha256sum] =

"d5d1e59780126e963dd92e25993b783295734e71bef181f602e51f7393260441"

Review

Quoted 6 lines
meta-python/recipes-devtools/python/python-pysnmp.inc new file +5 -0
+
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+RDEPENDS_${PN} += "python-pycrypto"
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python-pysnmp_4.4.9.bb

meta-python/recipes-devtools/python/python-pysnmp_4.4.9.bb line 9

Quoted 13 lines

index 9ff4df2c9..c36d69b6a 100644

meta-python/recipes-devtools/python/python-pysnmp_4.4.9.bb +0 -9
@@ -1,26 +1,5 @@
-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.rst;md5=b15d29f500f748d1c2a15709769090a8"

meta-python/recipes-devtools/python/python-pysnmp_4.4.9.bb

Quoted 4 lines
meta-python/recipes-devtools/python/python-pysnmp_4.4.9.bb +0 -4
-
-SRCNAME = "pysnmp"
-
-SRC_URI = "

https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz
"

meta-python/recipes-devtools/python/python-pysnmp_4.4.9.bb

Quoted 3 lines
meta-python/recipes-devtools/python/python-pysnmp_4.4.9.bb +0 -3
-
-SRC_URI[md5sum] = "6d1b514997326bed18f1ae1510f6b1c9"
-SRC_URI[sha256sum] =

"d5d1e59780126e963dd92e25993b783295734e71bef181f602e51f7393260441"

Review

Quoted 14 lines
meta-python/recipes-devtools/python/python-pysnmp_4.4.9.bb +3 -8
-
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
 inherit setuptools
+require python-pysnmp.inc
+
+RDEPENDS_${PN} += "python-pyasn1 python-pysmi"
 
-RDEPENDS_${PN} += "python-pycrypto \
-                   python-pyasn1 \
-                   python-pysmi \
-"
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python3-ply_3.10.bb

Review

Quoted 9 lines

new file mode 100644
index 000000000..401dd0df5

meta-python/recipes-devtools/python/python3-ply_3.10.bb new file +3 -0
@@ -0,0 +1,3 @@
+inherit setuptools3
+require python-ply.inc
+
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python3-pysmi_0.1.2.bb

Review

Quoted 9 lines

new file mode 100644
index 000000000..829f16682

meta-python/recipes-devtools/python/python3-pysmi_0.1.2.bb new file +3 -0
@@ -0,0 +1,3 @@
+inherit setuptools3
+require python-pysmi.inc
+RDEPENDS_${PN} = "python3-ply"
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python3-pysnmp_4.4.9.bb

Quoted 13 lines

new file mode 100644
index 000000000..046d3e5d0

meta-python/recipes-devtools/python/python3-pysnmp_4.4.9.bb new file +5 -1
@@ -0,0 +1,5 @@
+inherit setuptools3
+require python-pysnmp.inc
+
+RDEPENDS_${PN} += "python3-pyasn1 python3-pysmi"
+
--

2.11.0

Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel