1 |
commit: 3cc0d13f948056be5abeab40aba76b928c394433 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 28 15:40:19 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 28 15:40:40 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc0d13f |
7 |
|
8 |
sys-cluster/heat: 7.0.6 and 8.0.4 bup |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
sys-cluster/heat/Manifest | 3 + |
13 |
sys-cluster/heat/heat-7.0.6.ebuild | 151 +++++++++++++++++++++++++++++++++++++ |
14 |
sys-cluster/heat/heat-8.0.4.ebuild | 148 ++++++++++++++++++++++++++++++++++++ |
15 |
3 files changed, 302 insertions(+) |
16 |
|
17 |
diff --git a/sys-cluster/heat/Manifest b/sys-cluster/heat/Manifest |
18 |
index 1da3007eb41..49fabf2ff95 100644 |
19 |
--- a/sys-cluster/heat/Manifest |
20 |
+++ b/sys-cluster/heat/Manifest |
21 |
@@ -1,4 +1,7 @@ |
22 |
DIST heat-7.0.5.tar.gz 2260039 SHA256 c9043fb6c74cff5b6bee6a8f73e636acb7d99e6c4105d386f43ac20d1aa6d207 SHA512 1ae5a73676e52a08e20d0dcb639fddd53c698d1484b007240bcc39548c8a11667a41dc237b2f3fa66697b38c8f551bef35229aaa7c4b9191fa906472a6c2cc1d WHIRLPOOL 84d175dd7ac7a896d7a940577e07c71e70976df256a9dde5f5477035e74ef526f2f853cd37a4c6fd134f80399984bc069fa0acbfe4f013a924cb92bc2dc31942 |
23 |
+DIST heat-7.0.6.tar.gz 2253662 SHA256 2881c02f265f961c78506ae2b0acdf7f74a7a294517f23b43dadad854dd53653 SHA512 49cdf09fd38e663fc35226d743ea54f64303c86ccda2071db77ca1df861da253226a453d194b4652fe1f5c542529200c16232d654d8b7c0d59e5cd5c9e215834 WHIRLPOOL 85fd932158f3024a8dbcd36a5bd2c3cacee453bb53c267a8de68dca3f4eafe6ea0bb22f8a6416fab958dd798469ca64685f4704f97bfe9f31ba3b87f561b9034 |
24 |
DIST heat-8.0.3.tar.gz 2309587 SHA256 0161fa534c7255b5be3b494ed6dcbba888fd37ea3ecda054b21815e4c5472d52 SHA512 4cdc4e10c298cc56bba64e258465b504b78b7be0abf3340e9db677b429232a2fd3841948ee2054c255d66db1eb986c4ca0cb940e21d86e458e0ce048810fe917 WHIRLPOOL f6e7db8beceea6c64e79b96fea477b6400e2b75f3f886482ce1fdcb42a78ff07dc324f2fa1b69f90957e7491d73fd1c79d6eb1630d05c96ff387409b26f73a57 |
25 |
+DIST heat-8.0.4.tar.gz 2304762 SHA256 7997dac0f35ad7fb236536959a46e843dab56dbce5694849585cb97affbbb198 SHA512 9846114813b743ba9abfb4ce6e9d3cdcddfb81a242fda83a9d22a9fc30017fec2464f3b75364d9be38d50218e79485f3405e429fac1830d163c50737b07c2865 WHIRLPOOL 8420bffb6e2b86528d9104abb981368fa2fe36b33057b0e02f1fcf9e9106a4cd58bdb833e459e38a64bd47b2f4955e15f589673b57442184e3bcd60894feab4b |
26 |
DIST heat.conf.sample-2017.1.9999 88798 SHA256 688a6fd65df3b9f004345c8cf739c5a553b6806213c399ac25846d1ad248e963 SHA512 5ea23f33ddc2b34414371a612041abd075694a7d63bb55efd1e75f313b4e9f35e0d68b420536bc474cd4896b0295d8763bdecbb07c71d29c462c14183159e560 WHIRLPOOL 9a91069136dcbf15d47a4b5df6521ca2740eb1a88feab57b28f2f921e517ae7557125b5ea877d4c9ed5314321c8de551270722809d270c1b8ae0245d2a75b515 |
27 |
DIST heat.conf.sample-8.0.3 88798 SHA256 688a6fd65df3b9f004345c8cf739c5a553b6806213c399ac25846d1ad248e963 SHA512 5ea23f33ddc2b34414371a612041abd075694a7d63bb55efd1e75f313b4e9f35e0d68b420536bc474cd4896b0295d8763bdecbb07c71d29c462c14183159e560 WHIRLPOOL 9a91069136dcbf15d47a4b5df6521ca2740eb1a88feab57b28f2f921e517ae7557125b5ea877d4c9ed5314321c8de551270722809d270c1b8ae0245d2a75b515 |
28 |
+DIST heat.conf.sample-8.0.4 88798 SHA256 688a6fd65df3b9f004345c8cf739c5a553b6806213c399ac25846d1ad248e963 SHA512 5ea23f33ddc2b34414371a612041abd075694a7d63bb55efd1e75f313b4e9f35e0d68b420536bc474cd4896b0295d8763bdecbb07c71d29c462c14183159e560 WHIRLPOOL 9a91069136dcbf15d47a4b5df6521ca2740eb1a88feab57b28f2f921e517ae7557125b5ea877d4c9ed5314321c8de551270722809d270c1b8ae0245d2a75b515 |
29 |
|
30 |
diff --git a/sys-cluster/heat/heat-7.0.6.ebuild b/sys-cluster/heat/heat-7.0.6.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..314e4bdbd57 |
33 |
--- /dev/null |
34 |
+++ b/sys-cluster/heat/heat-7.0.6.ebuild |
35 |
@@ -0,0 +1,151 @@ |
36 |
+# Copyright 1999-2017 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+PYTHON_COMPAT=( python2_7 python3_4 ) |
41 |
+ |
42 |
+inherit distutils-r1 eutils user |
43 |
+ |
44 |
+DESCRIPTION="A CloudFormation-compatible openstack-native cloud orchistration engine." |
45 |
+HOMEPAGE="https://launchpad.net/heat" |
46 |
+SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="Apache-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
51 |
+IUSE="+mysql +memcached postgres sqlite" |
52 |
+REQUIRED_USE="|| ( mysql postgres sqlite )" |
53 |
+ |
54 |
+CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]" |
55 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
56 |
+ ${CDEPEND} |
57 |
+ app-admin/sudo" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ ${CDEPEND} |
61 |
+ >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/croniter-0.3.4[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/cryptography-1.0.0[${PYTHON_USEDEP}] |
64 |
+ !~dev-python/cryptography-1.3.0[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/keystoneauth-2.10.0[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/keystonemiddleware-4.0.0[${PYTHON_USEDEP}] |
70 |
+ !~dev-python/keystonemiddleware-4.1.0[${PYTHON_USEDEP}] |
71 |
+ !~dev-python/keystonemiddleware-4.5.0[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/netaddr-0.7.13[${PYTHON_USEDEP}] |
74 |
+ !~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/oslo-cache-1.5.0[${PYTHON_USEDEP}] |
76 |
+ >=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/oslo-concurrency-3.8.0[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/oslo-context-2.9.0[${PYTHON_USEDEP}] |
79 |
+ >=dev-python/oslo-db-4.10.0[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/oslo-db-4.13.1[${PYTHON_USEDEP}] |
81 |
+ >=dev-python/oslo-db-4.13.2[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] |
83 |
+ >=dev-python/oslo-log-1.14.0[${PYTHON_USEDEP}] |
84 |
+ >=dev-python/oslo-messaging-5.2.0[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/oslo-middleware-3.0.0[${PYTHON_USEDEP}] |
86 |
+ >=dev-python/oslo-policy-1.9.0[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/oslo-reports-0.6.0[${PYTHON_USEDEP}] |
88 |
+ >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] |
89 |
+ >=dev-python/oslo-service-1.10.0[${PYTHON_USEDEP}] |
90 |
+ >=dev-python/oslo-utils-3.16.0[${PYTHON_USEDEP}] |
91 |
+ >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
92 |
+ >=dev-python/oslo-versionedobjects-1.13.0[${PYTHON_USEDEP}] |
93 |
+ >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
94 |
+ >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] |
95 |
+ >=dev-python/aodhclient-0.5.0[${PYTHON_USEDEP}] |
96 |
+ >=dev-python/python-barbicanclient-4.0.0[${PYTHON_USEDEP}] |
97 |
+ >=dev-python/python-ceilometerclient-2.5.0[${PYTHON_USEDEP}] |
98 |
+ >=dev-python/python-cinderclient-1.6.0[${PYTHON_USEDEP}] |
99 |
+ !~dev-python/python-cinderclient-1.7.0[${PYTHON_USEDEP}] |
100 |
+ !~dev-python/python-cinderclient-1.7.1[${PYTHON_USEDEP}] |
101 |
+ >=dev-python/python-designateclient-1.5.0[${PYTHON_USEDEP}] |
102 |
+ >=dev-python/python-glanceclient-2.3.0[${PYTHON_USEDEP}] |
103 |
+ !~dev-python/python-glanceclient-2.4.0[${PYTHON_USEDEP}] |
104 |
+ >=dev-python/python-heatclient-1.4.0[${PYTHON_USEDEP}] |
105 |
+ >=dev-python/python-keystoneclient-2.0.0[${PYTHON_USEDEP}] |
106 |
+ !~dev-python/python-keystoneclient-2.1.0[${PYTHON_USEDEP}] |
107 |
+ >=dev-python/python-magnumclient-2.0.0[${PYTHON_USEDEP}] |
108 |
+ >=dev-python/python-manilaclient-1.10.0[${PYTHON_USEDEP}] |
109 |
+ >=dev-python/python-mistralclient-2.0.0[${PYTHON_USEDEP}] |
110 |
+ >=dev-python/python-monascaclient-1.1.0[${PYTHON_USEDEP}] |
111 |
+ >=dev-python/python-neutronclient-5.1.0[${PYTHON_USEDEP}] |
112 |
+ >=dev-python/python-novaclient-2.29.0[${PYTHON_USEDEP}] |
113 |
+ !~dev-python/python-novaclient-2.33.0[${PYTHON_USEDEP}] |
114 |
+ >=dev-python/python-openstackclient-2.1.0[${PYTHON_USEDEP}] |
115 |
+ >=dev-python/python-senlinclient-0.3.0[${PYTHON_USEDEP}] |
116 |
+ >=dev-python/python-swiftclient-2.2.0[${PYTHON_USEDEP}] |
117 |
+ >=dev-python/python-troveclient-2.2.0[${PYTHON_USEDEP}] |
118 |
+ >=dev-python/python-zaqarclient-1.0.0[${PYTHON_USEDEP}] |
119 |
+ >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
120 |
+ >=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}] |
121 |
+ >=dev-python/requests-2.10.0[${PYTHON_USEDEP}] |
122 |
+ >=dev-python/retrying-1.2.3[${PYTHON_USEDEP}] |
123 |
+ !~dev-python/retrying-1.3.0[${PYTHON_USEDEP}] |
124 |
+ >=dev-python/routes-1.12.3[${PYTHON_USEDEP}] |
125 |
+ !~dev-python/routes-2.0[${PYTHON_USEDEP}] |
126 |
+ !~dev-python/routes-2.1[$(python_gen_usedep 'python2_7')] |
127 |
+ !~dev-python/routes-2.3[${PYTHON_USEDEP}] |
128 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
129 |
+ sqlite? ( |
130 |
+ >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
131 |
+ <dev-python/sqlalchemy-1.1.0[sqlite,${PYTHON_USEDEP}] |
132 |
+ ) |
133 |
+ mysql? ( |
134 |
+ >=dev-python/pymysql-0.6.2[${PYTHON_USEDEP}] |
135 |
+ !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
136 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
137 |
+ <dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
138 |
+ ) |
139 |
+ postgres? ( |
140 |
+ >=dev-python/psycopg-2.5.0 |
141 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
142 |
+ <dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
143 |
+ ) |
144 |
+ >=dev-python/sqlalchemy-migrate-0.9.6[${PYTHON_USEDEP}] |
145 |
+ >=dev-python/stevedore-1.16.0[${PYTHON_USEDEP}] |
146 |
+ |
147 |
+ >=dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}] |
148 |
+ >=dev-python/yaql-1.1.0[${PYTHON_USEDEP}]" |
149 |
+ |
150 |
+PATCHES=( |
151 |
+) |
152 |
+ |
153 |
+pkg_setup() { |
154 |
+ enewgroup heat |
155 |
+ enewuser heat -1 -1 /var/lib/heat heat |
156 |
+} |
157 |
+ |
158 |
+python_prepare_all() { |
159 |
+ sed -i '/^hacking/d' test-requirements.txt || die |
160 |
+ distutils-r1_python_prepare_all |
161 |
+} |
162 |
+ |
163 |
+python_install() { |
164 |
+ distutils-r1_python_install |
165 |
+ diropts -m0750 -o heat -g heat |
166 |
+ keepdir /etc/heat |
167 |
+ dodir /etc/heat/environment.d |
168 |
+ dodir /etc/heat/templates |
169 |
+ |
170 |
+ for svc in api api-cfn engine; do |
171 |
+ newinitd "${FILESDIR}/heat.initd" heat-${svc} |
172 |
+ done |
173 |
+ |
174 |
+ insinto /etc/heat |
175 |
+ insopts -m0640 -o heat -g heat |
176 |
+ newins "${FILESDIR}/newton-heat.conf.sample" "heat.conf.sample" |
177 |
+ doins "etc/heat/api-paste.ini" |
178 |
+ doins "etc/heat/policy.json" |
179 |
+ insinto /etc/heat/templates |
180 |
+ doins "etc/heat/templates/"* |
181 |
+ insinto /etc/heat/environment.d |
182 |
+ doins "etc/heat/environment.d/default.yaml" |
183 |
+ |
184 |
+ dodir /var/log/heat |
185 |
+ fowners heat:heat /var/log/heat |
186 |
+} |
187 |
|
188 |
diff --git a/sys-cluster/heat/heat-8.0.4.ebuild b/sys-cluster/heat/heat-8.0.4.ebuild |
189 |
new file mode 100644 |
190 |
index 00000000000..ea586ee6ec4 |
191 |
--- /dev/null |
192 |
+++ b/sys-cluster/heat/heat-8.0.4.ebuild |
193 |
@@ -0,0 +1,148 @@ |
194 |
+# Copyright 1999-2017 Gentoo Foundation |
195 |
+# Distributed under the terms of the GNU General Public License v2 |
196 |
+ |
197 |
+EAPI=6 |
198 |
+PYTHON_COMPAT=( python2_7 python3_{4,5} ) |
199 |
+ |
200 |
+inherit distutils-r1 eutils linux-info user |
201 |
+ |
202 |
+DESCRIPTION="A CloudFormation-compatible openstack-native cloud orchistration engine." |
203 |
+HOMEPAGE="https://launchpad.net/heat" |
204 |
+SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz |
205 |
+ https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.ocata -> heat.conf.sample-${PV}" |
206 |
+ |
207 |
+LICENSE="Apache-2.0" |
208 |
+SLOT="0" |
209 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
210 |
+IUSE="+mysql +memcached postgres sqlite" |
211 |
+REQUIRED_USE="|| ( mysql postgres sqlite )" |
212 |
+ |
213 |
+CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]" |
214 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
215 |
+ ${CDEPEND} |
216 |
+ app-admin/sudo" |
217 |
+ |
218 |
+RDEPEND=" |
219 |
+ ${CDEPEND} |
220 |
+ >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
221 |
+ >=dev-python/croniter-0.3.4[${PYTHON_USEDEP}] |
222 |
+ >=dev-python/cryptography-1.0.0[${PYTHON_USEDEP}] |
223 |
+ !~dev-python/cryptography-1.3.0[${PYTHON_USEDEP}] |
224 |
+ >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] |
225 |
+ >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] |
226 |
+ >=dev-python/keystoneauth-2.18.0[${PYTHON_USEDEP}] |
227 |
+ >=dev-python/keystonemiddleware-4.12.0[${PYTHON_USEDEP}] |
228 |
+ >=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
229 |
+ !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}] |
230 |
+ >=dev-python/netaddr-0.7.13[${PYTHON_USEDEP}] |
231 |
+ !~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}] |
232 |
+ >=dev-python/oslo-cache-1.5.0[${PYTHON_USEDEP}] |
233 |
+ >=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}] |
234 |
+ !~dev-python/oslo-config-3.18.0[${PYTHON_USEDEP}] |
235 |
+ >=dev-python/oslo-concurrency-3.8.0[${PYTHON_USEDEP}] |
236 |
+ >=dev-python/oslo-context-2.9.0[${PYTHON_USEDEP}] |
237 |
+ >=dev-python/oslo-db-4.15.0[${PYTHON_USEDEP}] |
238 |
+ >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] |
239 |
+ >=dev-python/oslo-log-3.11.0[${PYTHON_USEDEP}] |
240 |
+ >=dev-python/oslo-messaging-5.14.0[${PYTHON_USEDEP}] |
241 |
+ >=dev-python/oslo-middleware-3.0.0[${PYTHON_USEDEP}] |
242 |
+ >=dev-python/oslo-policy-1.17.0[${PYTHON_USEDEP}] |
243 |
+ >=dev-python/oslo-reports-0.6.0[${PYTHON_USEDEP}] |
244 |
+ >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] |
245 |
+ >=dev-python/oslo-service-1.10.0[${PYTHON_USEDEP}] |
246 |
+ >=dev-python/oslo-utils-3.18.0[${PYTHON_USEDEP}] |
247 |
+ >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
248 |
+ >=dev-python/oslo-versionedobjects-1.17.0[${PYTHON_USEDEP}] |
249 |
+ >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
250 |
+ >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] |
251 |
+ >=dev-python/aodhclient-0.7.0[${PYTHON_USEDEP}] |
252 |
+ >=dev-python/python-barbicanclient-4.0.0[${PYTHON_USEDEP}] |
253 |
+ >=dev-python/python-ceilometerclient-2.5.0[${PYTHON_USEDEP}] |
254 |
+ >=dev-python/python-cinderclient-1.6.0[${PYTHON_USEDEP}] |
255 |
+ !~dev-python/python-cinderclient-1.7.0[${PYTHON_USEDEP}] |
256 |
+ !~dev-python/python-cinderclient-1.7.1[${PYTHON_USEDEP}] |
257 |
+ >=dev-python/python-designateclient-1.5.0[${PYTHON_USEDEP}] |
258 |
+ >=dev-python/python-glanceclient-2.5.0[${PYTHON_USEDEP}] |
259 |
+ >=dev-python/python-heatclient-1.6.1[${PYTHON_USEDEP}] |
260 |
+ >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] |
261 |
+ >=dev-python/python-magnumclient-2.0.0[${PYTHON_USEDEP}] |
262 |
+ >=dev-python/python-manilaclient-1.12.0[${PYTHON_USEDEP}] |
263 |
+ >=dev-python/python-mistralclient-2.0.0[${PYTHON_USEDEP}] |
264 |
+ >=dev-python/python-monascaclient-1.1.0[${PYTHON_USEDEP}] |
265 |
+ >=dev-python/python-neutronclient-5.1.0[${PYTHON_USEDEP}] |
266 |
+ >=dev-python/python-novaclient-6.0.0[${PYTHON_USEDEP}] |
267 |
+ !~dev-python/python-novaclient-7.0.0[${PYTHON_USEDEP}] |
268 |
+ >=dev-python/python-openstackclient-3.3.0[${PYTHON_USEDEP}] |
269 |
+ >=dev-python/python-saharaclient-1.1.0[${PYTHON_USEDEP}] |
270 |
+ >=dev-python/python-senlinclient-1.1.0[${PYTHON_USEDEP}] |
271 |
+ >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}] |
272 |
+ >=dev-python/python-troveclient-2.2.0[${PYTHON_USEDEP}] |
273 |
+ >=dev-python/python-zaqarclient-1.0.0[${PYTHON_USEDEP}] |
274 |
+ >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
275 |
+ >=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}] |
276 |
+ >=dev-python/requests-2.10.0[${PYTHON_USEDEP}] |
277 |
+ !~dev-python/requests-2.12.2[${PYTHON_USEDEP}] |
278 |
+ >=dev-python/tenacity-3.2.1[${PYTHON_USEDEP}] |
279 |
+ >=dev-python/routes-1.12.3[${PYTHON_USEDEP}] |
280 |
+ !~dev-python/routes-2.0[${PYTHON_USEDEP}] |
281 |
+ !~dev-python/routes-2.1[$(python_gen_usedep 'python2_7')] |
282 |
+ !~dev-python/routes-2.3[${PYTHON_USEDEP}] |
283 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
284 |
+ sqlite? ( |
285 |
+ >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
286 |
+ <dev-python/sqlalchemy-1.1.0[sqlite,${PYTHON_USEDEP}] |
287 |
+ ) |
288 |
+ mysql? ( |
289 |
+ >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
290 |
+ !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
291 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
292 |
+ <dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
293 |
+ ) |
294 |
+ postgres? ( |
295 |
+ >=dev-python/psycopg-2.5.0 |
296 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
297 |
+ <dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
298 |
+ ) |
299 |
+ >=dev-python/sqlalchemy-migrate-0.9.6[${PYTHON_USEDEP}] |
300 |
+ >=dev-python/stevedore-1.17.1[${PYTHON_USEDEP}] |
301 |
+ |
302 |
+ >=dev-python/webob-1.6.0[${PYTHON_USEDEP}] |
303 |
+ >=dev-python/yaql-1.1.0[${PYTHON_USEDEP}]" |
304 |
+ |
305 |
+PATCHES=( |
306 |
+) |
307 |
+ |
308 |
+pkg_setup() { |
309 |
+ enewgroup heat |
310 |
+ enewuser heat -1 -1 /var/lib/heat heat |
311 |
+} |
312 |
+ |
313 |
+python_prepare_all() { |
314 |
+ sed -i '/^hacking/d' test-requirements.txt || die |
315 |
+ distutils-r1_python_prepare_all |
316 |
+} |
317 |
+ |
318 |
+python_install_all() { |
319 |
+ distutils-r1_python_install_all |
320 |
+ diropts -m0750 -o heat -g heat |
321 |
+ keepdir /etc/heat |
322 |
+ dodir /etc/heat/environment.d |
323 |
+ dodir /etc/heat/templates |
324 |
+ |
325 |
+ for svc in api api-cfn engine; do |
326 |
+ newinitd "${FILESDIR}/heat.initd" heat-${svc} |
327 |
+ done |
328 |
+ |
329 |
+ insinto /etc/heat |
330 |
+ insopts -m0640 -o heat -g heat |
331 |
+ newins "${DISTDIR}/heat.conf.sample-${PV}" "heat.conf.sample" |
332 |
+ doins "etc/heat/api-paste.ini" |
333 |
+ doins "etc/heat/policy.json" |
334 |
+ insinto /etc/heat/templates |
335 |
+ doins "etc/heat/templates/"* |
336 |
+ insinto /etc/heat/environment.d |
337 |
+ doins "etc/heat/environment.d/default.yaml" |
338 |
+ |
339 |
+ dodir /var/log/heat |
340 |
+ fowners heat:heat /var/log/heat |
341 |
+} |