aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2019-09-16 10:39:11 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-09-18 13:57:13 -0400
commit8d84590282f649236a631824841028a226999f03 (patch)
tree74fd8b3de2ea57ab301777585040273dc5004321
parentd60764e54a6c969e9c125b9cdbea6b6454d00792 (diff)
downloadmeta-cloud-services-8d84590282f649236a631824841028a226999f03.tar.gz
meta-cloud-services-8d84590282f649236a631824841028a226999f03.tar.bz2
meta-cloud-services-8d84590282f649236a631824841028a226999f03.zip
python-amqplib: Add python3 version
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--meta-openstack/recipes-devtools/python/python-amqplib.inc16
-rw-r--r--meta-openstack/recipes-devtools/python/python-amqplib_1.0.2.bb17
-rw-r--r--meta-openstack/recipes-devtools/python/python3-amqplib_1.0.2.bb2
3 files changed, 19 insertions, 16 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-amqplib.inc b/meta-openstack/recipes-devtools/python/python-amqplib.inc
new file mode 100644
index 0000000..d9f22cb
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-amqplib.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "Python client for the Advanced Message Queuing Procotol (AMQP)"
+HOMEPAGE = "http://code.google.com/p/py-amqplib/"
+SECTION = "devel/python"
+LICENSE = "LGPL-3.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1702a92c723f09e3fab3583b165a8d90"
+
+PR = "r1"
+SRCNAME = "amqplib"
+
+SRC_URI = "https://github.com/barryp/py-amqplib/archive/${PV}.tar.gz"
+
+SRC_URI[md5sum] = "ff405a7b57aa98cdf07d02bd8090fa29"
+SRC_URI[sha256sum] = "9461d73f75ca704e6b656738b5dad42a1948e61dfbc8233077d84d00f74c3936"
+
+S = "${WORKDIR}/py-amqplib-${PV}"
+
diff --git a/meta-openstack/recipes-devtools/python/python-amqplib_1.0.2.bb b/meta-openstack/recipes-devtools/python/python-amqplib_1.0.2.bb
index 1afc76e..a39284a 100644
--- a/meta-openstack/recipes-devtools/python/python-amqplib_1.0.2.bb
+++ b/meta-openstack/recipes-devtools/python/python-amqplib_1.0.2.bb
@@ -1,17 +1,2 @@
-DESCRIPTION = "Python client for the Advanced Message Queuing Procotol (AMQP)"
-HOMEPAGE = "http://code.google.com/p/py-amqplib/"
-SECTION = "devel/python"
-LICENSE = "LGPL-3.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1702a92c723f09e3fab3583b165a8d90"
-
-PR = "r1"
-SRCNAME = "amqplib"
-
-SRC_URI = "https://github.com/barryp/py-amqplib/archive/${PV}.tar.gz"
-
-SRC_URI[md5sum] = "ff405a7b57aa98cdf07d02bd8090fa29"
-SRC_URI[sha256sum] = "9461d73f75ca704e6b656738b5dad42a1948e61dfbc8233077d84d00f74c3936"
-
-S = "${WORKDIR}/py-amqplib-${PV}"
-
inherit setuptools
+require python-amqplib.inc
diff --git a/meta-openstack/recipes-devtools/python/python3-amqplib_1.0.2.bb b/meta-openstack/recipes-devtools/python/python3-amqplib_1.0.2.bb
new file mode 100644
index 0000000..7623d17
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-amqplib_1.0.2.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-amqplib.inc