summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python3-keystoneclient_git.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@cn.fujitsu.com>2020-07-28 08:44:55 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-07-30 15:45:58 -0400
commit13fff861efce1e32bc19a375d81b2e36d9d394c4 (patch)
tree21e5ec5441be0be55ca71611c049c7d0de27d267 /meta-openstack/recipes-devtools/python/python3-keystoneclient_git.bb
parentddfe1ab29a36032213eddeaa808aa1f05775a756 (diff)
downloadmeta-cloud-services-13fff861efce1e32bc19a375d81b2e36d9d394c4.tar.gz
python3-keystoneclient: Change python to python3
Version updated to 3.13.1 Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python3-keystoneclient_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python3-keystoneclient_git.bb64
1 files changed, 64 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python3-keystoneclient_git.bb b/meta-openstack/recipes-devtools/python/python3-keystoneclient_git.bb
new file mode 100644
index 0000000..c8fe38a
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-keystoneclient_git.bb
@@ -0,0 +1,64 @@
1DESCRIPTION = "Client library for OpenStack Identity API"
2HOMEPAGE = "https://github.com/openstack/python-keystoneclient"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=4a4d0e932ffae1c0131528d30d419c55"
6
7SRCNAME = "keystoneclient"
8
9SRC_URI = "file://keystone-api-check.sh"
10
11SRC_URI = "\
12 git://github.com/openstack/python-keystoneclient.git;branch=stable/pike \
13 file://keystone-api-check.sh \
14 "
15
16PV = "4.1.0+git${SRCPV}"
17SRCREV = "7ff05baa1fa56f152173651f16fc6fd181291292"
18S = "${WORKDIR}/git"
19
20inherit setuptools3 monitor
21
22FILES_${PN}-doc += "${datadir}/keystoneclient"
23
24DEPENDS += " \
25 python3-pip \
26 python3-pbr \
27 "
28
29# Satisfy setup.py 'setup_requires'
30DEPENDS += " \
31 python3-pbr-native \
32 "
33
34RDEPENDS_${PN} += " \
35 bash \
36 python3-pbr \
37 python3-debtcollector \
38 python3-keystoneauth1 \
39 python3-oslo.config \
40 python3-oslo.i18n \
41 python3-oslo.serialization \
42 python3-oslo.utils \
43 python3-positional \
44 python3-requests \
45 python3-six \
46 python3-stevedore \
47 "
48
49do_install_append() {
50 cp -r ${S}/examples ${D}${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}
51}
52
53PACKAGES =+ " ${SRCNAME}-tests"
54
55FILES_${SRCNAME}-tests = "${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/examples \
56 "
57RDEPENDS_${SRCNAME}-tests += " \
58 python3-httpretty \
59 bash \
60 "
61
62MONITOR_CHECKS_${PN} += "\
63 keystone-api-check.sh \
64"