From 7e5be41e9e916e8a76c8d62b606d7716175923f7 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Sun, 29 Sep 2019 16:28:28 +0800 Subject: python-pika: add recipes for python2 and python3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pika is a pure-Python implementation of the AMQP 0-9-1 protocol including RabbitMQ’s extensions. Signed-off-by: Jackie Huang Signed-off-by: Khem Raj --- .../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 (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python-pika.inc b/meta-python/recipes-devtools/python/python-pika.inc new file mode 100644 index 0000000000..10be5bb62c --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pika.inc @@ -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 \ +" diff --git a/meta-python/recipes-devtools/python/python-pika_1.1.0.bb b/meta-python/recipes-devtools/python/python-pika_1.1.0.bb new file mode 100644 index 0000000000..f7e0198673 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pika_1.1.0.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-pika.inc diff --git a/meta-python/recipes-devtools/python/python3-pika_1.1.0.bb b/meta-python/recipes-devtools/python/python3-pika_1.1.0.bb new file mode 100644 index 0000000000..a1515881f2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pika_1.1.0.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pika.inc -- cgit 1.2.3-korg