From 63ea0fd0161b55deecec1a0f55fd1aa31ea4d5e8 Mon Sep 17 00:00:00 2001 From: zangrc Date: Tue, 1 Sep 2020 09:57:44 +0800 Subject: python3-castellan: 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-castellan_git.bb | 40 ---------------------- .../python/python3-castellan_3.4.0.bb | 33 ++++++++++++++++++ 2 files changed, 33 insertions(+), 40 deletions(-) delete mode 100644 meta-openstack/recipes-devtools/python/python-castellan_git.bb create mode 100644 meta-openstack/recipes-devtools/python/python3-castellan_3.4.0.bb diff --git a/meta-openstack/recipes-devtools/python/python-castellan_git.bb b/meta-openstack/recipes-devtools/python/python-castellan_git.bb deleted file mode 100644 index 9cc56d7..0000000 --- a/meta-openstack/recipes-devtools/python/python-castellan_git.bb +++ /dev/null @@ -1,40 +0,0 @@ -DESCRIPTION = "Generic Key Manager interface for OpenStack" -HOMEPAGE = "https://github.com/openstack/castellan" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" - -SRCNAME = "castellan" - -SRC_URI = "\ - git://git.openstack.org/openstack/${SRCNAME}.git;branch=stable/pike \ - " - -PV="0.12.1+git${SRCPV}" -SRCREV="124e9296fe79412b510c73b35936a6be91267d18" -S = "${WORKDIR}/git" - -inherit setuptools3 - -DEPENDS += " \ - python-pip \ - python-pbr \ - " - -# Satisfy setup.py 'setup_requires' -DEPENDS += " \ - python-pbr-native \ - " - -RDEPENDS_${PN} += " \ - python-pbr \ - python-babel \ - python-cryptography \ - python-barbicanclient \ - python-oslo.config \ - python-oslo.context \ - python-oslo.i18n \ - python-oslo.log \ - python-oslo.utils \ - python-keystoneauth1 \ - " diff --git a/meta-openstack/recipes-devtools/python/python3-castellan_3.4.0.bb b/meta-openstack/recipes-devtools/python/python3-castellan_3.4.0.bb new file mode 100644 index 0000000..062d375 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-castellan_3.4.0.bb @@ -0,0 +1,33 @@ +DESCRIPTION = "Generic Key Manager interface for OpenStack" +HOMEPAGE = "https://github.com/openstack/castellan" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" + +SRC_URI[sha256sum] = "53d39a4ae93c48d26f904f36ae2f3dedde6ad40d34b5f031c23055fff2a1d7f6" + +inherit setuptools3 pypi + +DEPENDS += " \ + python3-pip \ + python3-pbr \ + " + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python3-pbr-native \ + " + +RDEPENDS_${PN} += " \ + python3-pbr \ + python3-babel \ + python3-cryptography \ + python3-barbicanclient \ + python3-oslo.config \ + python3-oslo.context \ + python3-oslo.i18n \ + python3-oslo.log \ + python3-oslo.utils \ + python3-keystoneauth1 \ + bash \ + " -- cgit v1.2.3-54-g00ecf