blob: a9d20edff62a19085b5780ab5e894ea54c5241b7 (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
DESCRIPTION = "Trove Client Library for OpenStack Datbase service"
HOMEPAGE = "https://github.com/openstack/python-troveclient"
SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
SRCNAME = "troveclient"
SRC_URI = "\
git://github.com/openstack/python-troveclient.git;branch=master;protocol=https \
"
PV = "3.0.0+git${SRCPV}"
SRCREV = "960843de8142db6e61cc4d148a51f55862acbba0"
S = "${WORKDIR}/git"
inherit setuptools3 hosts default_configs rmargparse
USERADD_PACKAGES = "${PN}"
PROVIDES += " \
${SRCNAME} \
${SRCNAME}-tests \
"
PACKAGES += " \
${SRCNAME} \
${SRCNAME}-bin \
"
PACKAGES:prepend = " \
${SRCNAME}-tests \
"
FILES:${PN} = " \
${libdir}/* \
"
FILES:${SRCNAME}-tests = " \
${libdir}/python*/site-packages/${SRCNAME}/tests/* \
"
ALLOW_EMPTY:${SRCNAME} = "1"
FILES:${SRCNAME} = " \
"
FILES:${SRCNAME}-bin = " \
${bindir}/* \
"
DEPENDS += " \
python-pip \
python-pbr \
"
RDEPENDS:${PN} += " \
python-pbr \
python-prettytable \
python-requests \
python-simplejson \
python-babel \
python-six \
python-oslo.utils \
python-keystoneclient \
"
RDEPENDS:${SRCNAME}-tests += "python-mock"
RDEPENDS:${SRCNAME} += " \
${PN} \
${SRCNAME}-bin \
"
# Satisfy setup.py 'setup_requires'
DEPENDS += " \
python-pbr-native \
"
RDEPENDS:${SRCNAME}-bin += " \
${PN} \
"
|