python-pika: add recipes for python2 and python3

Pika is a pure-Python implementation of the AMQP 0-9-1
protocol including RabbitMQ’s extensions.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jackie Huang 2019-09-29 16:28:28 +08:00 committed by Khem Raj
parent 8188608dec
commit 7e5be41e9e
3 changed files with 26 additions and 0 deletions

View File

@ -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 RabbitMQs 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 \
"

View File

@ -0,0 +1,2 @@
inherit setuptools
require python-pika.inc

View File

@ -0,0 +1,2 @@
inherit setuptools3
require python-pika.inc