From e8bc055161fd31c38db48e66aad62aef34fceb91 Mon Sep 17 00:00:00 2001 From: zangrc Date: Tue, 1 Sep 2020 11:23:58 +0800 Subject: python3-cursive: 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 --- .../recipes-devtools/python/python-cursive_git.bb | 37 ---------------------- .../python/python3-cursive_0.2.2.bb | 31 ++++++++++++++++++ 2 files changed, 31 insertions(+), 37 deletions(-) delete mode 100644 meta-openstack/recipes-devtools/python/python-cursive_git.bb create mode 100644 meta-openstack/recipes-devtools/python/python3-cursive_0.2.2.bb diff --git a/meta-openstack/recipes-devtools/python/python-cursive_git.bb b/meta-openstack/recipes-devtools/python/python-cursive_git.bb deleted file mode 100644 index ce82998..0000000 --- a/meta-openstack/recipes-devtools/python/python-cursive_git.bb +++ /dev/null @@ -1,37 +0,0 @@ -DESCRIPTION = "Library for validation of digital signatures." -HOMEPAGE = "https://github.com/openstack/cursive" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" - -SRC_URI = "\ - git://git.openstack.org/openstack/cursive.git;branch=master \ - " - -PV="0.2.0+git${SRCPV}" -SRCREV="ad25a4016c56eeceb85764c7ac4501def2b5445a" -S = "${WORKDIR}/git" - -inherit setuptools3 - -DEPENDS += " \ - python-pbr \ - " - -# Satisfy setup.py 'setup_requires' -DEPENDS += " \ - python-pbr-native \ - " - -RDEPENDS_${PN} += " \ - python-pbr \ - python-lxml \ - python-cryptography \ - python-netifaces \ - python-six \ - python-oslo.serialization \ - python-oslo.utils \ - python-oslo.i18n \ - python-oslo.log \ - python-castellan \ - " diff --git a/meta-openstack/recipes-devtools/python/python3-cursive_0.2.2.bb b/meta-openstack/recipes-devtools/python/python3-cursive_0.2.2.bb new file mode 100644 index 0000000..770acdc --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-cursive_0.2.2.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "Library for validation of digital signatures." +HOMEPAGE = "https://github.com/openstack/cursive" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" + +inherit setuptools3 pypi + +SRC_URI[sha256sum] = "fbdc2b088bf0b9a69b1897d726e6027e8fba8f21f0a881344f70e7a407d9abda" + +DEPENDS += " \ + python3-pbr \ + " + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python3-pbr-native \ + " + +RDEPENDS_${PN} += " \ + python3-pbr \ + python3-lxml \ + python3-cryptography \ + python3-netifaces \ + python3-six \ + python3-oslo.serialization \ + python3-oslo.utils \ + python3-oslo.i18n \ + python3-oslo.log \ + python3-castellan \ + " -- cgit v1.2.3-54-g00ecf