From 58b0f2f4e91db218e9e4b5ea058b07b7ddecbf89 Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Mon, 23 Nov 2020 22:42:07 +0800 Subject: python3-manilaclient: Change to python3 Signed-off-by: Zheng Ruoqin Signed-off-by: Bruce Ashfield --- .../python/python-manilaclient_git.bb | 40 ---------------------- .../python/python3-manilaclient_2.3.0.bb | 37 ++++++++++++++++++++ 2 files changed, 37 insertions(+), 40 deletions(-) delete mode 100644 meta-openstack/recipes-devtools/python/python-manilaclient_git.bb create mode 100644 meta-openstack/recipes-devtools/python/python3-manilaclient_2.3.0.bb diff --git a/meta-openstack/recipes-devtools/python/python-manilaclient_git.bb b/meta-openstack/recipes-devtools/python/python-manilaclient_git.bb deleted file mode 100644 index 2748efc..0000000 --- a/meta-openstack/recipes-devtools/python/python-manilaclient_git.bb +++ /dev/null @@ -1,40 +0,0 @@ -DESCRIPTION = "Python bindings to the OpenStack Manila API" -HOMEPAGE = "https://github.com/openstack/python-manilaclient" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=9edbbf5857ab51214ef0e8b79069bb07" - -DEPENDS += " \ - python-pip \ - python-pbr \ - " - -# Satisfy setup.py 'setup_requires' -DEPENDS += " \ - python-pbr-native \ - " - -RDEPENDS_${PN} +=" \ - python-pbr \ - python-iso8601 \ - python-oslo.config \ - python-oslo.log \ - python-oslo.serialization \ - python-oslo.utils \ - python-prettytable \ - python-pycrypto \ - python-requests \ - python-simplejson \ - python-babel \ - python-six \ - python-keystoneclient \ - " - -SRCNAME = "manilaclient" -SRC_URI = "git://github.com/openstack/${BPN}.git;branch=master" - -PV = "1.29.0+git${SRCPV}" -SRCREV = "1b2cafb008bee70242b68a03212bcc575df683b9" -S = "${WORKDIR}/git" - -inherit setuptools3 rmargparse diff --git a/meta-openstack/recipes-devtools/python/python3-manilaclient_2.3.0.bb b/meta-openstack/recipes-devtools/python/python3-manilaclient_2.3.0.bb new file mode 100644 index 0000000..78403c2 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-manilaclient_2.3.0.bb @@ -0,0 +1,37 @@ +DESCRIPTION = "Python bindings to the OpenStack Manila API" +HOMEPAGE = "https://github.com/openstack/python-manilaclient" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9edbbf5857ab51214ef0e8b79069bb07" + +SRC_URI[sha256sum] = "7b5b3215215a720ace08e53caca447a605dee9c8b3b3cfaa302b6bc7e63e4a28" + +DEPENDS += " \ + python3-pip \ + python3-pbr \ + " + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python3-pbr-native \ + " + +RDEPENDS_${PN} +=" \ + python3-pbr \ + python3-iso8601 \ + python3-oslo.config \ + python3-oslo.log \ + python3-oslo.serialization \ + python3-oslo.utils \ + python3-prettytable \ + python3-pycrypto \ + python3-requests \ + python3-simplejson \ + python3-babel \ + python3-six \ + python3-keystoneclient \ + " + +PYPI_PACKAGE = "python-manilaclient" + +inherit setuptools3 pypi -- cgit v1.2.3-54-g00ecf