From 3c5c84590d661c3f0793da71020a306d4546c893 Mon Sep 17 00:00:00 2001 From: zangrc Date: Mon, 23 Nov 2020 22:55:00 +0800 Subject: python3-openstacksdk: Change to python3 Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../python/python-openstacksdk_git.bb | 34 ------------------ .../python/python3-openstacksdk_git.bb | 41 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 34 deletions(-) delete mode 100644 meta-openstack/recipes-devtools/python/python-openstacksdk_git.bb create mode 100644 meta-openstack/recipes-devtools/python/python3-openstacksdk_git.bb (limited to 'meta-openstack/recipes-devtools') diff --git a/meta-openstack/recipes-devtools/python/python-openstacksdk_git.bb b/meta-openstack/recipes-devtools/python/python-openstacksdk_git.bb deleted file mode 100644 index 3e52d0e..0000000 --- a/meta-openstack/recipes-devtools/python/python-openstacksdk_git.bb +++ /dev/null @@ -1,34 +0,0 @@ -DESCRIPTION = "Unified SDK for OpenStack" -HOMEPAGE = "https://github.com/openstack/python-openstacksdk" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" - -SRC_URI = " \ - git://github.com/openstack/python-openstacksdk.git;branch=master \ - " - -PV = "0.9.19+git${SRCPV}" -SRCREV = "bd60aa4a21676b8901691298eb0786fc231f7bff" -S = "${WORKDIR}/git" - -inherit setuptools3 - -DEPENDS += "\ - python-pbr \ - " - -# Satisfy setup.py 'setup_requires' -DEPENDS += " \ - python-pbr-native \ - " - -RDEPENDS_${PN} += " \ - python-pbr \ - python-jsonpatch \ - python-six \ - python-stevedore \ - python-os-client-config \ - python-keystoneauth1 \ - python-deprecation \ - " diff --git a/meta-openstack/recipes-devtools/python/python3-openstacksdk_git.bb b/meta-openstack/recipes-devtools/python/python3-openstacksdk_git.bb new file mode 100644 index 0000000..7c14818 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-openstacksdk_git.bb @@ -0,0 +1,41 @@ +DESCRIPTION = "Unified SDK for OpenStack" +HOMEPAGE = "https://github.com/openstack/python-openstacksdk" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" + +SRC_URI = " \ + git://github.com/openstack/python-openstacksdk.git;branch=master \ + " + +PV = "0.52.0+git${SRCPV}" +SRCREV = "e169c495de39a2d97ef1d8bb7894b18e4ef268dd" +S = "${WORKDIR}/git" + +inherit setuptools3 + +DEPENDS += "\ + python3-pbr \ + " + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python3-pbr-native \ + " + +RDEPENDS_${PN} += " \ + python3-pbr \ + bash \ + python3-jsonpatch \ + python3-six \ + python3-stevedore \ + python3-os-client-config \ + python3-keystoneauth1 \ + python3-deprecation \ + python3-os-service-types \ + python3-munch \ + python3-jmespath \ + python3-netifaces \ + python3-decorator \ + python3-dogpile.cache \ + " -- cgit v1.2.3-54-g00ecf