From 244e12531ec559c99b337c0da8163ae49a6a7085 Mon Sep 17 00:00:00 2001 From: Alejandro del Castillo Date: Mon, 27 Aug 2018 15:12:27 +0300 Subject: python3-pika: add recipe Signed-off-by: Alejandro del Castillo Signed-off-by: Ioan-Adrian Ratiu Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-pika.inc | 13 +++++++++++++ meta-openstack/recipes-devtools/python/python-pika_git.bb | 14 +------------- meta-openstack/recipes-devtools/python/python3-pika_git.bb | 3 +++ 3 files changed, 17 insertions(+), 13 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-pika.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-pika_git.bb diff --git a/meta-openstack/recipes-devtools/python/python-pika.inc b/meta-openstack/recipes-devtools/python/python-pika.inc new file mode 100644 index 0000000..d33979d --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-pika.inc @@ -0,0 +1,13 @@ +SUMMARY = "Pure Python RabbitMQ/AMQP 0-9-1 client library" +HOMEPAGE = "https://github.com/pika/pika" +SECTION = "devel/python" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fb26c37045f9e0d2c5e24b711bd7f01c" + +PV = "0.10.0+git${SRCPV}" +SRCREV = "b907f91415169b7f590174ab5d228e75a1b273e6" + +SRC_URI = "git://github.com/pika/pika" + +S = "${WORKDIR}/git" diff --git a/meta-openstack/recipes-devtools/python/python-pika_git.bb b/meta-openstack/recipes-devtools/python/python-pika_git.bb index 6d2e55a..9d58184 100644 --- a/meta-openstack/recipes-devtools/python/python-pika_git.bb +++ b/meta-openstack/recipes-devtools/python/python-pika_git.bb @@ -1,15 +1,3 @@ -SUMMARY = "Pure Python RabbitMQ/AMQP 0-9-1 client library" -HOMEPAGE = "https://github.com/pika/pika" -SECTION = "devel/python" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=fb26c37045f9e0d2c5e24b711bd7f01c" - -PV = "0.10.0+git${SRCPV}" -SRCREV = "b907f91415169b7f590174ab5d228e75a1b273e6" - -SRC_URI = "git://github.com/pika/pika" - -S = "${WORKDIR}/git" +require python-pika.inc inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-pika_git.bb b/meta-openstack/recipes-devtools/python/python3-pika_git.bb new file mode 100644 index 0000000..93f50b4 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-pika_git.bb @@ -0,0 +1,3 @@ +require python-pika.inc + +inherit setuptools3 -- cgit v1.2.3-54-g00ecf