From da044b447145c3e475030fe91ae54ed2d35001d7 Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Tue, 22 Sep 2020 10:29:46 +0800 Subject: python3-mistralclient: Change to python3 Because python2 is no longer maintained, bb file is changed to python3 version. Signed-off-by: Zheng Ruoqin Signed-off-by: Bruce Ashfield --- .../python/python-mistralclient_git.bb | 32 ---------------------- .../python/python3-mistralclient_4.1.1.bb | 29 ++++++++++++++++++++ 2 files changed, 29 insertions(+), 32 deletions(-) delete mode 100644 meta-openstack/recipes-devtools/python/python-mistralclient_git.bb create mode 100644 meta-openstack/recipes-devtools/python/python3-mistralclient_4.1.1.bb (limited to 'meta-openstack') diff --git a/meta-openstack/recipes-devtools/python/python-mistralclient_git.bb b/meta-openstack/recipes-devtools/python/python-mistralclient_git.bb deleted file mode 100644 index c9002e9..0000000 --- a/meta-openstack/recipes-devtools/python/python-mistralclient_git.bb +++ /dev/null @@ -1,32 +0,0 @@ -DESCRIPTION = "Python client for Mistral REST API" -HOMEPAGE = "https://github.com/openstack/python-mistralclient" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" - -DEPENDS += " \ - python-pip \ - python-pbr \ - " - -# Satisfy setup.py 'setup_requires' -DEPENDS += " \ - python-pbr-native \ - " - -RDEPENDS_${PN} +=" \ - python-cliff \ - python-pbr \ - python-keystoneclient \ - python-pyyaml \ - python-requests \ - " - -SRCNAME = "mistralclient" -SRC_URI = "git://github.com/openstack/${BPN}.git;branch=master" - -PV = "1.1.0+git${SRCPV}" -SRCREV = "48e2780ee0148efc186c8972ca22e572fa2433c5" -S = "${WORKDIR}/git" - -inherit setuptools3 diff --git a/meta-openstack/recipes-devtools/python/python3-mistralclient_4.1.1.bb b/meta-openstack/recipes-devtools/python/python3-mistralclient_4.1.1.bb new file mode 100644 index 0000000..dd0eb90 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-mistralclient_4.1.1.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "Python client for Mistral REST API" +HOMEPAGE = "https://github.com/openstack/python-mistralclient" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" + +SRC_URI[sha256sum] = "b03d52ec860df292192a0face767585633e209ba9297fc71da70d42d6a76aebe" + +PYPI_PACKAGE = "python-mistralclient" + +DEPENDS += " \ + python3-pip \ + python3-pbr \ + " + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python3-pbr-native \ + " + +RDEPENDS_${PN} +=" \ + python3-cliff \ + python3-pbr \ + python3-keystoneclient \ + python3-pyyaml \ + python3-requests \ + " + +inherit setuptools3 pypi -- cgit v1.2.3-54-g00ecf