summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb
blob: 82dfdc38aee009a902e847c54a20c65827eb3a34 (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
48
49
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"
DEPENDS += " \
        gmp \
        python-pip \
        python-pbr \
        "

SRCREV = "d4196325eb05dadfaf62d8facbd8c6fe50f72166"
PV = "2.5.0+git${SRCPV}"

SRC_URI = "\
	git://github.com/openstack/${BPN}.git;protocol=https;branch=stable/newton \
	file://glance-api-check.sh \
	"

S = "${WORKDIR}/git"

inherit setuptools monitor rmargparse

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

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

RDEPENDS_${PN} = " \
    bash \
    gmp \
    python-babel \
    python-keystoneclient \
    python-oslo.i18n \
    python-oslo.utils \
    python-pbr \
    python-prettytable \
    python-pyopenssl \
    python-requests \
    python-setuptools-git \
    python-six \
    python-warlock \
    "

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