diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python3-keystoneclient_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python3-keystoneclient_git.bb | 64 |
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 @@ | |||
| 1 | DESCRIPTION = "Client library for OpenStack Identity API" | ||
| 2 | HOMEPAGE = "https://github.com/openstack/python-keystoneclient" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4a4d0e932ffae1c0131528d30d419c55" | ||
| 6 | |||
| 7 | SRCNAME = "keystoneclient" | ||
| 8 | |||
| 9 | SRC_URI = "file://keystone-api-check.sh" | ||
| 10 | |||
| 11 | SRC_URI = "\ | ||
| 12 | git://github.com/openstack/python-keystoneclient.git;branch=stable/pike \ | ||
| 13 | file://keystone-api-check.sh \ | ||
| 14 | " | ||
| 15 | |||
| 16 | PV = "4.1.0+git${SRCPV}" | ||
| 17 | SRCREV = "7ff05baa1fa56f152173651f16fc6fd181291292" | ||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | |||
| 20 | inherit setuptools3 monitor | ||
| 21 | |||
| 22 | FILES_${PN}-doc += "${datadir}/keystoneclient" | ||
| 23 | |||
| 24 | DEPENDS += " \ | ||
| 25 | python3-pip \ | ||
| 26 | python3-pbr \ | ||
| 27 | " | ||
| 28 | |||
| 29 | # Satisfy setup.py 'setup_requires' | ||
| 30 | DEPENDS += " \ | ||
| 31 | python3-pbr-native \ | ||
| 32 | " | ||
| 33 | |||
| 34 | RDEPENDS_${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 | |||
| 49 | do_install_append() { | ||
| 50 | cp -r ${S}/examples ${D}${PYTHON_SITEPACKAGES_DIR}/${SRCNAME} | ||
| 51 | } | ||
| 52 | |||
| 53 | PACKAGES =+ " ${SRCNAME}-tests" | ||
| 54 | |||
| 55 | FILES_${SRCNAME}-tests = "${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/examples \ | ||
| 56 | " | ||
| 57 | RDEPENDS_${SRCNAME}-tests += " \ | ||
| 58 | python3-httpretty \ | ||
| 59 | bash \ | ||
| 60 | " | ||
| 61 | |||
| 62 | MONITOR_CHECKS_${PN} += "\ | ||
| 63 | keystone-api-check.sh \ | ||
| 64 | " | ||
