aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb
blob: a41405f5b6462f1a6bcaf00a521761a9c3ad0e7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
DESCRIPTION = "Client library for Glance built on the OpenStack Images API"
HOMEPAGE = "https://github.com/openstack/python-glanceclient"
SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
SRC_URI = "git://github.com/openstack/python-glanceclient.git \
           file://glance-api-check.sh \
        "

PV = "2.17.0+git${SRCPV}"
SRCREV = "40c19aa44361e13ac997d325d357d3e4748fa063"
S = "${WORKDIR}/git"

DEPENDS += " \
        gmp \
        python-pip \
        python-pbr \
        "

inherit setuptools3 monitor rmargparse

FILES_${PN} += "${datadir}/${SRCNAME}"

# Satisfy setup.py 'setup_requires'
DEPENDS += " \
    python-pbr-native \
    "

RDEPENDS_${PN} += " \
   gmp \
   bash \
   python-pbr \
   python-babel \
   python-prettytable \
   python-keystoneauth1 \
   python-requests \
   python-warlock \
   python-six \
   python-oslo.utils \
   python-oslo.i18n \
   python-wrapt \
   python-pyopenssl \
   "

MONITOR_CHECKS_${PN} += "\
	glance-api-check.sh \
"