From 9377b94ede114001786331468bdde78ae215018a Mon Sep 17 00:00:00 2001 From: zangrc Date: Sat, 19 Sep 2020 05:20:38 +0800 Subject: python3-jsonpath-rw-ext: Change to python3 Because python2 is no longer maintained, bb file is changed to python3 version. Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../python/python-jsonpath-rw-ext_git.bb | 32 ---------------------- .../python/python3-jsonpath-rw-ext_1.2.2.bb | 28 +++++++++++++++++++ 2 files changed, 28 insertions(+), 32 deletions(-) delete mode 100644 meta-openstack/recipes-devtools/python/python-jsonpath-rw-ext_git.bb create mode 100644 meta-openstack/recipes-devtools/python/python3-jsonpath-rw-ext_1.2.2.bb diff --git a/meta-openstack/recipes-devtools/python/python-jsonpath-rw-ext_git.bb b/meta-openstack/recipes-devtools/python/python-jsonpath-rw-ext_git.bb deleted file mode 100644 index c6416f9..0000000 --- a/meta-openstack/recipes-devtools/python/python-jsonpath-rw-ext_git.bb +++ /dev/null @@ -1,32 +0,0 @@ -SUMMARY = "Extensions for JSONPath RW" -HOMEPAGE = "https://github.com/sileht/python-jsonpath-rw-ext" -SECTION = "devel/python" -LICENSE = "Apache-2.0" - -PV = "0.1.9+git${SRCPV}" -SRCREV = "0a2d032f9743f5c9dd0f29be20a22b3f3388a93d" - -SRCNAME = "jsonpath-rw-ext" - -LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" -SRC_URI = "git://github.com/sileht/${BPN}.git" - -S = "${WORKDIR}/git" - -inherit setuptools3 - -DEPENDS += " \ - python-pbr \ - " - -# Satisfy setup.py 'setup_requires' -DEPENDS += " \ - python-pbr-native \ - " - -RDEPENDS_${PN} += " \ - python-pbr \ - python-babel \ - python-jsonpath-rw \ - " - diff --git a/meta-openstack/recipes-devtools/python/python3-jsonpath-rw-ext_1.2.2.bb b/meta-openstack/recipes-devtools/python/python3-jsonpath-rw-ext_1.2.2.bb new file mode 100644 index 0000000..a4517a6 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-jsonpath-rw-ext_1.2.2.bb @@ -0,0 +1,28 @@ +SUMMARY = "Extensions for JSONPath RW" +HOMEPAGE = "https://github.com/sileht/python-jsonpath-rw-ext" +SECTION = "devel/python" +LICENSE = "Apache-2.0" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" + +SRC_URI[sha256sum] = "a9e44e803b6d87d135b09d1e5af0db4d4cf97ba62711a80aa51c8c721980a994" + +inherit pypi setuptools3 + +DEPENDS += " \ + python3-pbr \ + " + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python3-pbr-native \ + " + +RDEPENDS_${PN} += " \ + python3-pbr \ + python3-babel \ + python3-jsonpath-rw \ + python3-six \ + python3-ply \ + " + -- cgit v1.2.3-54-g00ecf