aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2019-09-16 11:12:34 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-09-18 13:57:12 -0400
commit5c1e3a3941dc39cecc701562e18f1745848a5617 (patch)
tree98134fe6507fc2768dd71d6621d513406067c633 /meta-openstack
parent22b0491aa783909abce3cf62f3a38f5fbeb84e16 (diff)
downloadmeta-cloud-services-5c1e3a3941dc39cecc701562e18f1745848a5617.tar.gz
meta-cloud-services-5c1e3a3941dc39cecc701562e18f1745848a5617.tar.bz2
meta-cloud-services-5c1e3a3941dc39cecc701562e18f1745848a5617.zip
python-pecan: Add python3 version
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack')
-rw-r--r--meta-openstack/recipes-devtools/python/python-pecan.inc16
-rw-r--r--meta-openstack/recipes-devtools/python/python-pecan_1.3.3.bb18
-rw-r--r--meta-openstack/recipes-devtools/python/python3-pecan_1.3.3.bb2
3 files changed, 20 insertions, 16 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-pecan.inc b/meta-openstack/recipes-devtools/python/python-pecan.inc
new file mode 100644
index 0000000..884ce75
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-pecan.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "WSGI object-dispatching web framework"
+HOMEPAGE = "https://pypi.python.org/pypi/pecan/"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d846877d24bbb3d7a00a985c90378e8c"
+
+SRC_URI[md5sum] = "8f006ed860f7fbdf0c0bf5ad0cf2f3b4"
+SRC_URI[sha256sum] = "b5461add4e3f35a7ee377b3d7f72ff13e93f40f3823b3208ab978b29bde936ff"
+
+inherit pypi
+
+RDEPENDS_${PN} = "${PYTHON_PN}-mako \
+ ${PYTHON_PN}-webtest \
+ ${PYTHON_PN}-six \
+ ${PYTHON_PN}-logutils \
+"
diff --git a/meta-openstack/recipes-devtools/python/python-pecan_1.3.3.bb b/meta-openstack/recipes-devtools/python/python-pecan_1.3.3.bb
index 62f29fa..6fa052e 100644
--- a/meta-openstack/recipes-devtools/python/python-pecan_1.3.3.bb
+++ b/meta-openstack/recipes-devtools/python/python-pecan_1.3.3.bb
@@ -1,16 +1,2 @@
-DESCRIPTION = "WSGI object-dispatching web framework"
-HOMEPAGE = "https://pypi.python.org/pypi/pecan/"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d846877d24bbb3d7a00a985c90378e8c"
-
-SRC_URI[md5sum] = "8f006ed860f7fbdf0c0bf5ad0cf2f3b4"
-SRC_URI[sha256sum] = "b5461add4e3f35a7ee377b3d7f72ff13e93f40f3823b3208ab978b29bde936ff"
-
-inherit setuptools pypi
-
-RDEPENDS_${PN} = "python-mako \
- python-webtest \
- python-six \
- python-logutils \
-"
+inherit setuptools
+require python-pecan.inc
diff --git a/meta-openstack/recipes-devtools/python/python3-pecan_1.3.3.bb b/meta-openstack/recipes-devtools/python/python3-pecan_1.3.3.bb
new file mode 100644
index 0000000..2e6a223
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-pecan_1.3.3.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-pecan.inc