Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/heat/
Date: Thu, 30 Aug 2018 23:12:59
Message-Id: 1535670740.5f4a764d89a0f04d551c703f7d923e2d724b62c7.prometheanfire@gentoo
1 commit: 5f4a764d89a0f04d551c703f7d923e2d724b62c7
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 30 23:11:03 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 30 23:12:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f4a764d
7
8 sys-cluster/heat: 11.0.0 bump ROCKY
9
10 Package-Manager: Portage-2.3.48, Repoman-2.3.10
11
12 sys-cluster/heat/Manifest | 3 +
13 sys-cluster/heat/heat-11.0.0.ebuild | 160 +++++++++++++++++++++++++++++++
14 sys-cluster/heat/heat-2018.2.9999.ebuild | 160 +++++++++++++++++++++++++++++++
15 3 files changed, 323 insertions(+)
16
17 diff --git a/sys-cluster/heat/Manifest b/sys-cluster/heat/Manifest
18 index ed7d57a31b4..123494e7512 100644
19 --- a/sys-cluster/heat/Manifest
20 +++ b/sys-cluster/heat/Manifest
21 @@ -1,6 +1,9 @@
22 DIST heat-10.0.1.tar.gz 2353949 BLAKE2B 401cc24ebc2c5105666719a9d89a55116f4f8139dd7fb4a5b5e37f3da39240dfedb3b61b810f72750390e4f9dc0f8e6b69499c1b921f222064a610fd85cd8b84 SHA512 019df95a16f7d5f89a726248d33780ef4fa7fc2ff91b9a0a756548fa91993eb625097b9ab0dd232019669161ccf6fbf43132237d4666bf200f141173bbb07782
23 +DIST heat-11.0.0.tar.gz 2316538 BLAKE2B c7c56d273761af1846ef69d2a29563f96550afa97022ef749ac5fbd5c62117214bcfd0bd802a315168ea97d94cdf647c5e9c655803dc6f798ca7d64e0f1a9339 SHA512 bc38b062e273d4dfb11ba72c558b4c0ed7a9220a083cf1cc22b42583b864cc4bce8fb80acaa5a88f8f3e1658d585ee2950466d35ca5cb367390141a28aed1e6f
24 DIST heat-9.0.4.tar.gz 2365172 BLAKE2B 069ee142fc8f8dba7eb6cdd9386a4fa32db85cb9a2bc454da1e4290acfd17d364de34706a3199fb7b68b4a4ce1c24d1b8d7781b4d1b984e6171e78ff32335008 SHA512 fd75a7cd9e656c58e81d47292687024ba6b61cccdbeab3ce2472f05f238a944ef4dfa120b39b6f2285aa434b3386ea13d3ca07a48b70d1f53798384a344c53a2
25 DIST heat.conf.sample-10.0.1 92161 BLAKE2B 745cdb4eb6006079201cfe31b6486a5d759a93d1deceb42c3e9c5224b9512437013a5f44eb0f81694949efad648559a1b4e436992a91986206e50b65c69a09b8 SHA512 44b9f0e5779a21afc73a2720181ffaf778d5e54f61db7b177b59a777985c6155dac1d6b535eed311be372236f4d39d0601a8814c5ad7aa0c48acf3771bf65120
26 +DIST heat.conf.sample-11.0.0 89219 BLAKE2B 6db6b6476c90bedb8bccb88d6e792fd62d599bf4721153f9cd79fc22d6e99f5096dbbbb560d5ead9ee2388529a9ff0514e591444c462621e37ecdc0879ed6f78 SHA512 aedde1cea25ecbdff4de8fe410bcb13cf937a4479b9fa27aab8170f92956499c678c2546cc3f373f58c287f13576b1561613b5ff71e6fae5b60bb3d580a90f4f
27 DIST heat.conf.sample-2017.2.9999 88901 BLAKE2B 050cfaacb46a8d9b79a17b7406acf6bca9be27a21f8278194021cadc69fb364c630ca0f0e7a320dfe9d46303d779eb8b5c31efaa9c25d3695caf70cab18b1b4d SHA512 f62feaa4a0d27866876aed9f78099501247ae4b7deaefd04d77b1f4b2a1d1c991e6f3e68d9f82e3b6a4358c99fbffd90f14a05ff98105df0ef0db68ef8bc6932
28 DIST heat.conf.sample-2018.1.9999 92161 BLAKE2B 745cdb4eb6006079201cfe31b6486a5d759a93d1deceb42c3e9c5224b9512437013a5f44eb0f81694949efad648559a1b4e436992a91986206e50b65c69a09b8 SHA512 44b9f0e5779a21afc73a2720181ffaf778d5e54f61db7b177b59a777985c6155dac1d6b535eed311be372236f4d39d0601a8814c5ad7aa0c48acf3771bf65120
29 +DIST heat.conf.sample-2018.2.9999 89219 BLAKE2B 6db6b6476c90bedb8bccb88d6e792fd62d599bf4721153f9cd79fc22d6e99f5096dbbbb560d5ead9ee2388529a9ff0514e591444c462621e37ecdc0879ed6f78 SHA512 aedde1cea25ecbdff4de8fe410bcb13cf937a4479b9fa27aab8170f92956499c678c2546cc3f373f58c287f13576b1561613b5ff71e6fae5b60bb3d580a90f4f
30 DIST heat.conf.sample-9.0.4 88901 BLAKE2B 050cfaacb46a8d9b79a17b7406acf6bca9be27a21f8278194021cadc69fb364c630ca0f0e7a320dfe9d46303d779eb8b5c31efaa9c25d3695caf70cab18b1b4d SHA512 f62feaa4a0d27866876aed9f78099501247ae4b7deaefd04d77b1f4b2a1d1c991e6f3e68d9f82e3b6a4358c99fbffd90f14a05ff98105df0ef0db68ef8bc6932
31
32 diff --git a/sys-cluster/heat/heat-11.0.0.ebuild b/sys-cluster/heat/heat-11.0.0.ebuild
33 new file mode 100644
34 index 00000000000..a0c7acdf6cf
35 --- /dev/null
36 +++ b/sys-cluster/heat/heat-11.0.0.ebuild
37 @@ -0,0 +1,160 @@
38 +# Copyright 1999-2018 Gentoo Foundation
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=6
42 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
43 +
44 +inherit distutils-r1 eutils linux-info user
45 +
46 +DESCRIPTION="A CloudFormation-compatible openstack-native cloud orchestration engine."
47 +HOMEPAGE="https://launchpad.net/heat"
48 +
49 +if [[ ${PV} == *9999 ]];then
50 + inherit git-r3
51 + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.rocky -> heat.conf.sample-${PV}"
52 + EGIT_REPO_URI="https://github.com/openstack/heat.git"
53 + EGIT_BRANCH="stable/rocky"
54 +else
55 + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.rocky -> heat.conf.sample-${PV}
56 + https://tarballs.openstack.org/${PN}/${P}.tar.gz"
57 + KEYWORDS="~amd64 ~arm64 ~x86"
58 +fi
59 +
60 +LICENSE="Apache-2.0"
61 +SLOT="0"
62 +IUSE="+mysql +memcached postgres sqlite"
63 +REQUIRED_USE="|| ( mysql postgres sqlite )"
64 +
65 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
66 + !~dev-python/pbr-2.1.0"
67 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
68 + ${CDEPEND}
69 + app-admin/sudo"
70 +
71 +RDEPEND="
72 + ${CDEPEND}
73 + >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
74 + !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]
75 + >=dev-python/croniter-0.3.4[${PYTHON_USEDEP}]
76 + >=dev-python/cryptography-1.2.1[${PYTHON_USEDEP}]
77 + >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
78 + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}]
79 + >=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}]
80 + >=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}]
81 + >=dev-python/lxml-3.4.1[${PYTHON_USEDEP}]
82 + !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}]
83 + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
84 + >=dev-python/neutron-lib-1.14.0[${PYTHON_USEDEP}]
85 + >=dev-python/openstacksdk-0.11.2[${PYTHON_USEDEP}]
86 + >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}]
87 + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
88 + >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}]
89 + >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}]
90 + >=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}]
91 + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
92 + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
93 + >=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}]
94 + >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
95 + >=dev-python/oslo-policy-1.30.0[${PYTHON_USEDEP}]
96 + >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}]
97 + >=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}]
98 + !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}]
99 + >=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}]
100 + !~dev-python/oslo-service-1.28.1[${PYTHON_USEDEP}]
101 + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
102 + >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
103 + >=dev-python/oslo-versionedobjects-1.31.2[${PYTHON_USEDEP}]
104 + >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
105 + >=dev-python/aodhclient-0.9.0[${PYTHON_USEDEP}]
106 + >=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}]
107 + >=dev-python/python-blazarclient-1.0.0[${PYTHON_USEDEP}]
108 + >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}]
109 + >=dev-python/python-designateclient-2.7.0[${PYTHON_USEDEP}]
110 + >=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}]
111 + >=dev-python/python-heatclient-1.10.0[${PYTHON_USEDEP}]
112 + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
113 + >=dev-python/python-magnumclient-2.1.0[${PYTHON_USEDEP}]
114 + >=dev-python/python-manilaclient-1.16.0[${PYTHON_USEDEP}]
115 + >=dev-python/python-mistralclient-3.1.0[${PYTHON_USEDEP}]
116 + !~dev-python/python-mistralclient-3.2.0[${PYTHON_USEDEP}]
117 + >=dev-python/python-monascaclient-1.12.0[${PYTHON_USEDEP}]
118 + >=dev-python/python-neutronclient-6.7.0[${PYTHON_USEDEP}]
119 + >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}]
120 + >=dev-python/python-octaviaclient-1.3.0[${PYTHON_USEDEP}]
121 + >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}]
122 + >=dev-python/python-saharaclient-1.4.0[${PYTHON_USEDEP}]
123 + >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}]
124 + >=dev-python/python-troveclient-2.2.0[${PYTHON_USEDEP}]
125 + >=dev-python/python-zaqarclient-1.0.0[${PYTHON_USEDEP}]
126 + >=dev-python/python-zunclient-2.0.0[${PYTHON_USEDEP}]
127 + >=dev-python/pytz-2013.6[${PYTHON_USEDEP}]
128 + >=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}]
129 + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
130 + >=dev-python/tenacity-4.4.0[${PYTHON_USEDEP}]
131 + >=dev-python/routes-2.3.1[${PYTHON_USEDEP}]
132 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
133 + sqlite? (
134 + >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}]
135 + !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}]
136 + !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}]
137 + !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}]
138 + !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}]
139 + )
140 + mysql? (
141 + >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
142 + !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}]
143 + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
144 + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
145 + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
146 + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
147 + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
148 + )
149 + postgres? (
150 + >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
151 + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
152 + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
153 + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
154 + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
155 + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
156 + )
157 + >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}]
158 + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
159 + >=dev-python/webob-1.7.1[${PYTHON_USEDEP}]
160 + >=dev-python/yaql-1.1.3[${PYTHON_USEDEP}]"
161 +
162 +PATCHES=(
163 +)
164 +
165 +pkg_setup() {
166 + enewgroup heat
167 + enewuser heat -1 -1 /var/lib/heat heat
168 +}
169 +
170 +python_prepare_all() {
171 + sed -i '/^hacking/d' test-requirements.txt || die
172 + distutils-r1_python_prepare_all
173 +}
174 +
175 +python_install_all() {
176 + distutils-r1_python_install_all
177 + diropts -m0750 -o heat -g heat
178 + keepdir /etc/heat
179 + dodir /etc/heat/environment.d
180 + dodir /etc/heat/templates
181 +
182 + for svc in api api-cfn engine; do
183 + newinitd "${FILESDIR}/heat.initd" heat-${svc}
184 + done
185 +
186 + insinto /etc/heat
187 + insopts -m0640 -o heat -g heat
188 + newins "${DISTDIR}/heat.conf.sample-${PV}" "heat.conf.sample"
189 + doins "etc/heat/api-paste.ini"
190 + insinto /etc/heat/templates
191 + doins "etc/heat/templates/"*
192 + insinto /etc/heat/environment.d
193 + doins "etc/heat/environment.d/default.yaml"
194 +
195 + dodir /var/log/heat
196 + fowners heat:heat /var/log/heat
197 +}
198
199 diff --git a/sys-cluster/heat/heat-2018.2.9999.ebuild b/sys-cluster/heat/heat-2018.2.9999.ebuild
200 new file mode 100644
201 index 00000000000..a0c7acdf6cf
202 --- /dev/null
203 +++ b/sys-cluster/heat/heat-2018.2.9999.ebuild
204 @@ -0,0 +1,160 @@
205 +# Copyright 1999-2018 Gentoo Foundation
206 +# Distributed under the terms of the GNU General Public License v2
207 +
208 +EAPI=6
209 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
210 +
211 +inherit distutils-r1 eutils linux-info user
212 +
213 +DESCRIPTION="A CloudFormation-compatible openstack-native cloud orchestration engine."
214 +HOMEPAGE="https://launchpad.net/heat"
215 +
216 +if [[ ${PV} == *9999 ]];then
217 + inherit git-r3
218 + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.rocky -> heat.conf.sample-${PV}"
219 + EGIT_REPO_URI="https://github.com/openstack/heat.git"
220 + EGIT_BRANCH="stable/rocky"
221 +else
222 + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.rocky -> heat.conf.sample-${PV}
223 + https://tarballs.openstack.org/${PN}/${P}.tar.gz"
224 + KEYWORDS="~amd64 ~arm64 ~x86"
225 +fi
226 +
227 +LICENSE="Apache-2.0"
228 +SLOT="0"
229 +IUSE="+mysql +memcached postgres sqlite"
230 +REQUIRED_USE="|| ( mysql postgres sqlite )"
231 +
232 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
233 + !~dev-python/pbr-2.1.0"
234 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
235 + ${CDEPEND}
236 + app-admin/sudo"
237 +
238 +RDEPEND="
239 + ${CDEPEND}
240 + >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
241 + !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]
242 + >=dev-python/croniter-0.3.4[${PYTHON_USEDEP}]
243 + >=dev-python/cryptography-1.2.1[${PYTHON_USEDEP}]
244 + >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
245 + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}]
246 + >=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}]
247 + >=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}]
248 + >=dev-python/lxml-3.4.1[${PYTHON_USEDEP}]
249 + !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}]
250 + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
251 + >=dev-python/neutron-lib-1.14.0[${PYTHON_USEDEP}]
252 + >=dev-python/openstacksdk-0.11.2[${PYTHON_USEDEP}]
253 + >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}]
254 + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
255 + >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}]
256 + >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}]
257 + >=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}]
258 + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
259 + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
260 + >=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}]
261 + >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
262 + >=dev-python/oslo-policy-1.30.0[${PYTHON_USEDEP}]
263 + >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}]
264 + >=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}]
265 + !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}]
266 + >=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}]
267 + !~dev-python/oslo-service-1.28.1[${PYTHON_USEDEP}]
268 + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
269 + >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
270 + >=dev-python/oslo-versionedobjects-1.31.2[${PYTHON_USEDEP}]
271 + >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
272 + >=dev-python/aodhclient-0.9.0[${PYTHON_USEDEP}]
273 + >=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}]
274 + >=dev-python/python-blazarclient-1.0.0[${PYTHON_USEDEP}]
275 + >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}]
276 + >=dev-python/python-designateclient-2.7.0[${PYTHON_USEDEP}]
277 + >=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}]
278 + >=dev-python/python-heatclient-1.10.0[${PYTHON_USEDEP}]
279 + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
280 + >=dev-python/python-magnumclient-2.1.0[${PYTHON_USEDEP}]
281 + >=dev-python/python-manilaclient-1.16.0[${PYTHON_USEDEP}]
282 + >=dev-python/python-mistralclient-3.1.0[${PYTHON_USEDEP}]
283 + !~dev-python/python-mistralclient-3.2.0[${PYTHON_USEDEP}]
284 + >=dev-python/python-monascaclient-1.12.0[${PYTHON_USEDEP}]
285 + >=dev-python/python-neutronclient-6.7.0[${PYTHON_USEDEP}]
286 + >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}]
287 + >=dev-python/python-octaviaclient-1.3.0[${PYTHON_USEDEP}]
288 + >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}]
289 + >=dev-python/python-saharaclient-1.4.0[${PYTHON_USEDEP}]
290 + >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}]
291 + >=dev-python/python-troveclient-2.2.0[${PYTHON_USEDEP}]
292 + >=dev-python/python-zaqarclient-1.0.0[${PYTHON_USEDEP}]
293 + >=dev-python/python-zunclient-2.0.0[${PYTHON_USEDEP}]
294 + >=dev-python/pytz-2013.6[${PYTHON_USEDEP}]
295 + >=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}]
296 + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
297 + >=dev-python/tenacity-4.4.0[${PYTHON_USEDEP}]
298 + >=dev-python/routes-2.3.1[${PYTHON_USEDEP}]
299 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
300 + sqlite? (
301 + >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}]
302 + !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}]
303 + !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}]
304 + !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}]
305 + !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}]
306 + )
307 + mysql? (
308 + >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
309 + !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}]
310 + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
311 + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
312 + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
313 + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
314 + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
315 + )
316 + postgres? (
317 + >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
318 + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
319 + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
320 + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
321 + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
322 + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
323 + )
324 + >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}]
325 + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
326 + >=dev-python/webob-1.7.1[${PYTHON_USEDEP}]
327 + >=dev-python/yaql-1.1.3[${PYTHON_USEDEP}]"
328 +
329 +PATCHES=(
330 +)
331 +
332 +pkg_setup() {
333 + enewgroup heat
334 + enewuser heat -1 -1 /var/lib/heat heat
335 +}
336 +
337 +python_prepare_all() {
338 + sed -i '/^hacking/d' test-requirements.txt || die
339 + distutils-r1_python_prepare_all
340 +}
341 +
342 +python_install_all() {
343 + distutils-r1_python_install_all
344 + diropts -m0750 -o heat -g heat
345 + keepdir /etc/heat
346 + dodir /etc/heat/environment.d
347 + dodir /etc/heat/templates
348 +
349 + for svc in api api-cfn engine; do
350 + newinitd "${FILESDIR}/heat.initd" heat-${svc}
351 + done
352 +
353 + insinto /etc/heat
354 + insopts -m0640 -o heat -g heat
355 + newins "${DISTDIR}/heat.conf.sample-${PV}" "heat.conf.sample"
356 + doins "etc/heat/api-paste.ini"
357 + insinto /etc/heat/templates
358 + doins "etc/heat/templates/"*
359 + insinto /etc/heat/environment.d
360 + doins "etc/heat/environment.d/default.yaml"
361 +
362 + dodir /var/log/heat
363 + fowners heat:heat /var/log/heat
364 +}