aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2019-09-29 16:28:28 +0800
committerKhem Raj <raj.khem@gmail.com>2019-09-30 16:54:51 -0700
commit7e5be41e9e916e8a76c8d62b606d7716175923f7 (patch)
treee38aa90cdf699789b9c87428fd3234679a8cd8ff
parent8188608dec575e204b5ac296dca7be4d96703446 (diff)
downloadmeta-openembedded-contrib-7e5be41e9e916e8a76c8d62b606d7716175923f7.tar.gz
meta-openembedded-contrib-7e5be41e9e916e8a76c8d62b606d7716175923f7.tar.bz2
meta-openembedded-contrib-7e5be41e9e916e8a76c8d62b606d7716175923f7.zip
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>
-rw-r--r--meta-python/recipes-devtools/python/python-pika.inc22
-rw-r--r--meta-python/recipes-devtools/python/python-pika_1.1.0.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-pika_1.1.0.bb2
3 files changed, 26 insertions, 0 deletions
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