python-pika: add recipes for python2 and python3
PATCH 1/1 python-pika: add recipes for python2 and python3
From: Jackie Huang <[email protected]>
Pika is a pure-Python implementation of the AMQP 0-9-1 protocol including RabbitMQ’s extensions.
Signed-off-by Jackie Huang <[email protected]>
--- .../recipes-devtools/python/python-pika.inc | 22 ++++++++++++++++++++++ .../recipes-devtools/python/python-pika_1.1.0.bb | 2 ++ .../recipes-devtools/python/python3-pika_1.1.0.bb | 2 ++ 3 files changed, 26 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-pika.inc create mode 100644 meta-python/recipes-devtools/python/python-pika_1.1.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pika_1.1.0.bb
meta-python/recipes-devtools/python/python-pika.inc new file +22 -0
@@ -0,0 +1,22 @@ +SUMMARY = "Pika is a RabbitMQ (AMQP 0-9-1) client library for Python." +DESCRIPTION = " \ +Pika is a pure-Python implementation of the AMQP 0-9-1 protocol \ +including RabbitMQ’s extensions. \ +" +SECTION = "devel/python" +HOMEPAGE = "https://pika.readthedocs.io" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=535836bf0a5de515a7bfee026075701d" + +SRC_URI[md5sum] = "6002400cdd33bf85ec8680ece72910d4" +SRC_URI[sha256sum] = "9fa76ba4b65034b878b2b8de90ff8660a59d925b087c5bb88f8fdbb4b64a1dbf" + +inherit pypi + +PYPI_PACKAGE = "pika" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-tornado \ + ${PYTHON_PN}-twisted \ +"
meta-python/recipes-devtools/python/python-pika_1.1.0.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools +require python-pika.inc
meta-python/recipes-devtools/python/python3-pika_1.1.0.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pika.inc
Signature · 1 line
2.7.4