From 5b7a11ef832e5df95d98b046ee71771dd126256c Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Wed, 5 Aug 2020 01:11:07 +0800 Subject: python3-swiftclient: change to python3 Signed-off-by: Zheng Ruoqin / Signed-off-by: Bruce Ashfield --- .../python/python-swiftclient_git.bb | 35 ---------------------- .../python/python3-swiftclient_3.10.0.bb | 31 +++++++++++++++++++ 2 files changed, 31 insertions(+), 35 deletions(-) delete mode 100644 meta-openstack/recipes-devtools/python/python-swiftclient_git.bb create mode 100644 meta-openstack/recipes-devtools/python/python3-swiftclient_3.10.0.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb b/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb deleted file mode 100644 index 7a99e8a..0000000 --- a/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb +++ /dev/null @@ -1,35 +0,0 @@ -DESCRIPTION = "Client library for OpenStack Object Storage API" -HOMEPAGE = "https://github.com/openstack/python-swiftclient" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" - -PR = "r0" -SRCNAME = "swiftclient" - -SRC_URI = "git://github.com/openstack/python-swiftclient.git;branch=master" - -PV = "3.8.1+git${SRCPV}" -SRCREV = "72b90fed4c62cf75497a7d66714f5fb0aa91f18b" -S = "${WORKDIR}/git" - -inherit setuptools3 python3-dir - -do_install_append() { - cp -r tests ${D}/${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/ -} - -DEPENDS += " \ - python-pip \ - python-pbr \ - " - -# Satisfy setup.py 'setup_requires' -DEPENDS += " \ - python-pbr-native \ - " - -RDEPENDS_${PN} += " \ - python-simplejson \ - python-pbr \ - " diff --git a/meta-openstack/recipes-devtools/python/python3-swiftclient_3.10.0.bb b/meta-openstack/recipes-devtools/python/python3-swiftclient_3.10.0.bb new file mode 100644 index 0000000..1025d9e --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-swiftclient_3.10.0.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "Client library for OpenStack Object Storage API" +HOMEPAGE = "https://github.com/openstack/python-swiftclient" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" + +PYPI_PACKAGE = "python-swiftclient" + +SRC_URI[sha256sum] = "66227eaf29a691c70675fb9982022980b92797c273dd5e6dc7e680425e9a3634" + +inherit pypi setuptools3 python3-dir + +do_install_append() { + cp -r test ${D}/${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/ +} + +DEPENDS += " \ + python3-pip \ + python3-pbr \ + " + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python3-pbr-native \ + " + +RDEPENDS_${PN} += " \ + python3-simplejson \ + python3-pbr \ + python3-requests \ + " -- cgit v1.2.3-54-g00ecf