summaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
authorzhengruoqin <zhengrq.fnst@cn.fujitsu.com>2020-11-23 22:41:53 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-12-01 16:30:52 -0500
commite1e8e9c2936344de5a967d6520bde933f06abb1a (patch)
treed9d4981945f14cf1549e45af51ef1113171a5a0b /meta-openstack
parent58b0f2f4e91db218e9e4b5ea058b07b7ddecbf89 (diff)
downloadmeta-cloud-services-e1e8e9c2936344de5a967d6520bde933f06abb1a.tar.gz
python3-magnumclient: Change to python3
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack')
-rw-r--r--meta-openstack/recipes-devtools/python/python-magnumclient_git.bb39
-rw-r--r--meta-openstack/recipes-devtools/python/python3-magnumclient_3.2.1.bb36
2 files changed, 36 insertions, 39 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-magnumclient_git.bb b/meta-openstack/recipes-devtools/python/python-magnumclient_git.bb
deleted file mode 100644
index 959852b..0000000
--- a/meta-openstack/recipes-devtools/python/python-magnumclient_git.bb
+++ /dev/null
@@ -1,39 +0,0 @@
1DESCRIPTION = "Python client for containers service"
2HOMEPAGE = "https://github.com/openstack/python-magnumclient"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
6
7DEPENDS += " \
8 python-pip \
9 python-pbr \
10 "
11
12# Satisfy setup.py 'setup_requires'
13DEPENDS += " \
14 python-pbr-native \
15 "
16
17RDEPENDS_${PN} +=" \
18 python-pbr \
19 python-babel \
20 python-oslo.config \
21 python-oslo.i18n \
22 python-oslo.serialization \
23 python-oslo.utils \
24 python-iso8601 \
25 python-requests \
26 python-keystoneclient \
27 python-pyyaml \
28 python-stevedore \
29 python-six \
30 "
31
32SRCNAME = "magnumclient"
33SRC_URI = "git://github.com/openstack/${BPN}.git;branch=master"
34
35PV = "1.0.0.0b1+git${SRCPV}"
36SRCREV = "fb1ff6777eb96a5b7ba38156bf8354cda9b88ad4"
37S = "${WORKDIR}/git"
38
39inherit setuptools3 rmargparse
diff --git a/meta-openstack/recipes-devtools/python/python3-magnumclient_3.2.1.bb b/meta-openstack/recipes-devtools/python/python3-magnumclient_3.2.1.bb
new file mode 100644
index 0000000..28af248
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-magnumclient_3.2.1.bb
@@ -0,0 +1,36 @@
1DESCRIPTION = "Python client for containers service"
2HOMEPAGE = "https://github.com/openstack/python-magnumclient"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
6
7SRC_URI[sha256sum] = "3d03a3a3cf4b9ece4e903a77415356767c2bea44ce5c1449a00edb527fc9cb0e"
8
9DEPENDS += " \
10 python3-pip \
11 python3-pbr \
12 "
13
14# Satisfy setup.py 'setup_requires'
15DEPENDS += " \
16 python3-pbr-native \
17 "
18
19RDEPENDS_${PN} +=" \
20 python3-pbr \
21 python3-babel \
22 python3-oslo.config \
23 python3-oslo.i18n \
24 python3-oslo.serialization \
25 python3-oslo.utils \
26 python3-iso8601 \
27 python3-requests \
28 python3-keystoneclient \
29 python3-pyyaml \
30 python3-stevedore \
31 python3-six \
32 "
33
34PYPI_PACKAGE = "python-magnumclient"
35
36inherit setuptools3 pypi