aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2019-09-16 11:26:39 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-09-18 13:57:12 -0400
commit22b0491aa783909abce3cf62f3a38f5fbeb84e16 (patch)
treec73284a9af9171ecf4ad5f48c7ee725b718f915e /meta-openstack
parent9cf16c10f822215926a31d0bafbdf63746a9139b (diff)
downloadmeta-cloud-services-22b0491aa783909abce3cf62f3a38f5fbeb84e16.tar.gz
meta-cloud-services-22b0491aa783909abce3cf62f3a38f5fbeb84e16.tar.bz2
meta-cloud-services-22b0491aa783909abce3cf62f3a38f5fbeb84e16.zip
python-routes: 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-routes.inc15
-rw-r--r--meta-openstack/recipes-devtools/python/python-routes_git.bb17
-rw-r--r--meta-openstack/recipes-devtools/python/python3-routes_git.bb2
3 files changed, 18 insertions, 16 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-routes.inc b/meta-openstack/recipes-devtools/python/python-routes.inc
new file mode 100644
index 0000000..4224552
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-routes.inc
@@ -0,0 +1,15 @@
+DESCRIPTION = "A Python re-implementation of the Rails routes system."
+HOMEPAGE = "http://routes.groovie.org"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=90976c1a0e3029278f882cfe2e84a6ae"
+
+PV = "2.4.1+git${SRCPV}"
+SRCREV = "2dcef8079cf09f427eeb0be62374f6c1a52bf59d"
+
+SRCNAME = "Routes"
+SRC_URI = "git://github.com/bbangert/routes.git"
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_${PN} += "${PYTHON_PN}-repoze.lru"
diff --git a/meta-openstack/recipes-devtools/python/python-routes_git.bb b/meta-openstack/recipes-devtools/python/python-routes_git.bb
index 408f0a8..11fea85 100644
--- a/meta-openstack/recipes-devtools/python/python-routes_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-routes_git.bb
@@ -1,17 +1,2 @@
-DESCRIPTION = "A Python re-implementation of the Rails routes system."
-HOMEPAGE = "http://routes.groovie.org"
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=90976c1a0e3029278f882cfe2e84a6ae"
-
-PV = "2.4.1+git${SRCPV}"
-SRCREV = "2dcef8079cf09f427eeb0be62374f6c1a52bf59d"
-
-SRCNAME = "Routes"
-SRC_URI = "git://github.com/bbangert/routes.git"
-
-S = "${WORKDIR}/git"
-
inherit setuptools
-
-RDEPENDS_${PN} += "python-repoze.lru"
+require python-routes.inc
diff --git a/meta-openstack/recipes-devtools/python/python3-routes_git.bb b/meta-openstack/recipes-devtools/python/python3-routes_git.bb
new file mode 100644
index 0000000..06dd1ad
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-routes_git.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-routes.inc