Consolidate inc and bb files into a single bb file.

Signed-off-by: Zheng Ruoqin <[email protected]>
---
 .../recipes-devtools/python/python-routes.inc   | 15 ---------------
 .../python/python3-routes_2.5.1.bb              | 17 +++++++++++++++++
 .../python/python3-routes_git.bb                |  2 --
 3 files changed, 17 insertions(+), 17 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-routes.inc
 create mode 100644 
meta-openstack/recipes-devtools/python/python3-routes_2.5.1.bb
 delete mode 100644 meta-openstack/recipes-devtools/python/python3-routes_git.bb

diff --git a/meta-openstack/recipes-devtools/python/python-routes.inc 
b/meta-openstack/recipes-devtools/python/python-routes.inc
deleted file mode 100644
index 4224552f..00000000
--- a/meta-openstack/recipes-devtools/python/python-routes.inc
+++ /dev/null
@@ -1,15 +0,0 @@
-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/python3-routes_2.5.1.bb 
b/meta-openstack/recipes-devtools/python/python3-routes_2.5.1.bb
new file mode 100644
index 00000000..309bb292
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-routes_2.5.1.bb
@@ -0,0 +1,17 @@
+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"
+
+SRC_URI[sha256sum] = 
"b6346459a15f0cbab01a45a90c3d25caf980d4733d628b4cc1952b865125d053"
+
+PYPI_PACKAGE = "Routes"
+
+inherit setuptools3 pypi
+
+RDEPENDS_${PN} += " \
+       ${PYTHON_PN}-netclient \        
+       ${PYTHON_PN}-six \      
+       ${PYTHON_PN}-repoze.lru \       
+"
diff --git a/meta-openstack/recipes-devtools/python/python3-routes_git.bb 
b/meta-openstack/recipes-devtools/python/python3-routes_git.bb
deleted file mode 100644
index 06dd1ad7..00000000
--- a/meta-openstack/recipes-devtools/python/python3-routes_git.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-inherit setuptools3
-require python-routes.inc
-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6040): 
https://lists.yoctoproject.org/g/meta-virtualization/message/6040
Mute This Topic: https://lists.yoctoproject.org/mt/78154827/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to