Signed-off-by: Zang Ruochen <[email protected]>
---
 .../python/python-os-traits_git.bb            | 29 -------------------
 .../python/python3-os-traits_2.4.0.bb         | 22 ++++++++++++++
 2 files changed, 22 insertions(+), 29 deletions(-)
 delete mode 100644 
meta-openstack/recipes-devtools/python/python-os-traits_git.bb
 create mode 100644 
meta-openstack/recipes-devtools/python/python3-os-traits_2.4.0.bb

diff --git a/meta-openstack/recipes-devtools/python/python-os-traits_git.bb 
b/meta-openstack/recipes-devtools/python/python-os-traits_git.bb
deleted file mode 100644
index 70b7b69..0000000
--- a/meta-openstack/recipes-devtools/python/python-os-traits_git.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-DESCRIPTION = "OpenStack library containing standardized trait strings."
-HOMEPAGE = "https://github.com/openstack/os-traits";
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
-
-SRC_URI = "\
-       git://github.com/openstack/os-traits.git;branch=stable/pike \
-       "
-
-PV = "0.3.3+git${SRCPV}"
-SRCREV = "3e8b4a77aaf2d8b64f89ba3b479113d0b44bbe2f"
-S = "${WORKDIR}/git"
-
-inherit setuptools3
-
-DEPENDS += " \
-        python-pbr \
-        "
-
-# Satisfy setup.py 'setup_requires'
-DEPENDS += " \
-        python-pbr-native \
-       "
-
-RDEPENDS_${PN} += " \
-        python-pbr \
-        python-six \
-       "
diff --git a/meta-openstack/recipes-devtools/python/python3-os-traits_2.4.0.bb 
b/meta-openstack/recipes-devtools/python/python3-os-traits_2.4.0.bb
new file mode 100644
index 0000000..72bd1b2
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-os-traits_2.4.0.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "OpenStack library containing standardized trait strings."
+HOMEPAGE = "https://github.com/openstack/os-traits";
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
+
+SRC_URI[sha256sum] = 
"af1df9485a3119c2a6647639c8bb8bb852cb839ad9c12fa1d9e72f402c66af49"
+
+inherit setuptools3 pypi
+
+DEPENDS += " \
+        python3-pbr \
+        "
+
+DEPENDS += " \
+        python3-pbr-native \
+       "
+
+RDEPENDS_${PN} += " \
+        python3-pbr \
+        python3-six \
+       "
-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#5672): 
https://lists.yoctoproject.org/g/meta-virtualization/message/5672
Mute This Topic: https://lists.yoctoproject.org/mt/75980426/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to