From: Alejandro del Castillo <[email protected]> Signed-off-by: Alejandro del Castillo <[email protected]> Signed-off-by: Ioan-Adrian Ratiu <[email protected]> --- .../recipes-devtools/python/python-pika.inc | 13 +++++++++++++ .../recipes-devtools/python/python-pika_git.bb | 14 +------------- .../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 -- 2.18.0 -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
