1 |
commit: 2fa8a8e9d884c82ffd1faefb09d07e5c46e2d7bb |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 30 22:04:18 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 30 22:07:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fa8a8e9 |
7 |
|
8 |
sys-cluster/heat: PIKE |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
sys-cluster/heat/Manifest | 1 + |
13 |
sys-cluster/heat/heat-2017.2.9999.ebuild | 163 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 164 insertions(+) |
15 |
|
16 |
diff --git a/sys-cluster/heat/Manifest b/sys-cluster/heat/Manifest |
17 |
index 49fabf2ff95..0a0f368bf56 100644 |
18 |
--- a/sys-cluster/heat/Manifest |
19 |
+++ b/sys-cluster/heat/Manifest |
20 |
@@ -3,5 +3,6 @@ DIST heat-7.0.6.tar.gz 2253662 SHA256 2881c02f265f961c78506ae2b0acdf7f74a7a29451 |
21 |
DIST heat-8.0.3.tar.gz 2309587 SHA256 0161fa534c7255b5be3b494ed6dcbba888fd37ea3ecda054b21815e4c5472d52 SHA512 4cdc4e10c298cc56bba64e258465b504b78b7be0abf3340e9db677b429232a2fd3841948ee2054c255d66db1eb986c4ca0cb940e21d86e458e0ce048810fe917 WHIRLPOOL f6e7db8beceea6c64e79b96fea477b6400e2b75f3f886482ce1fdcb42a78ff07dc324f2fa1b69f90957e7491d73fd1c79d6eb1630d05c96ff387409b26f73a57 |
22 |
DIST heat-8.0.4.tar.gz 2304762 SHA256 7997dac0f35ad7fb236536959a46e843dab56dbce5694849585cb97affbbb198 SHA512 9846114813b743ba9abfb4ce6e9d3cdcddfb81a242fda83a9d22a9fc30017fec2464f3b75364d9be38d50218e79485f3405e429fac1830d163c50737b07c2865 WHIRLPOOL 8420bffb6e2b86528d9104abb981368fa2fe36b33057b0e02f1fcf9e9106a4cd58bdb833e459e38a64bd47b2f4955e15f589673b57442184e3bcd60894feab4b |
23 |
DIST heat.conf.sample-2017.1.9999 88798 SHA256 688a6fd65df3b9f004345c8cf739c5a553b6806213c399ac25846d1ad248e963 SHA512 5ea23f33ddc2b34414371a612041abd075694a7d63bb55efd1e75f313b4e9f35e0d68b420536bc474cd4896b0295d8763bdecbb07c71d29c462c14183159e560 WHIRLPOOL 9a91069136dcbf15d47a4b5df6521ca2740eb1a88feab57b28f2f921e517ae7557125b5ea877d4c9ed5314321c8de551270722809d270c1b8ae0245d2a75b515 |
24 |
+DIST heat.conf.sample-2017.2.9999 88901 SHA256 cb46fbbfa0e8ccccdc84c4637312f0d21b0c95037d2b3404623653c1b5eb0a92 SHA512 f62feaa4a0d27866876aed9f78099501247ae4b7deaefd04d77b1f4b2a1d1c991e6f3e68d9f82e3b6a4358c99fbffd90f14a05ff98105df0ef0db68ef8bc6932 WHIRLPOOL 284ad592883c8e42518872d603d097672056ba25a194569f31ee9244d1095f640f02097fda0a6539b47247ba580929d79ec173f1847bfc5e19bf45fb8cbe4720 |
25 |
DIST heat.conf.sample-8.0.3 88798 SHA256 688a6fd65df3b9f004345c8cf739c5a553b6806213c399ac25846d1ad248e963 SHA512 5ea23f33ddc2b34414371a612041abd075694a7d63bb55efd1e75f313b4e9f35e0d68b420536bc474cd4896b0295d8763bdecbb07c71d29c462c14183159e560 WHIRLPOOL 9a91069136dcbf15d47a4b5df6521ca2740eb1a88feab57b28f2f921e517ae7557125b5ea877d4c9ed5314321c8de551270722809d270c1b8ae0245d2a75b515 |
26 |
DIST heat.conf.sample-8.0.4 88798 SHA256 688a6fd65df3b9f004345c8cf739c5a553b6806213c399ac25846d1ad248e963 SHA512 5ea23f33ddc2b34414371a612041abd075694a7d63bb55efd1e75f313b4e9f35e0d68b420536bc474cd4896b0295d8763bdecbb07c71d29c462c14183159e560 WHIRLPOOL 9a91069136dcbf15d47a4b5df6521ca2740eb1a88feab57b28f2f921e517ae7557125b5ea877d4c9ed5314321c8de551270722809d270c1b8ae0245d2a75b515 |
27 |
|
28 |
diff --git a/sys-cluster/heat/heat-2017.2.9999.ebuild b/sys-cluster/heat/heat-2017.2.9999.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..66ec5b6da47 |
31 |
--- /dev/null |
32 |
+++ b/sys-cluster/heat/heat-2017.2.9999.ebuild |
33 |
@@ -0,0 +1,163 @@ |
34 |
+# Copyright 1999-2017 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+PYTHON_COMPAT=( python2_7 python3_{4,5} ) |
39 |
+ |
40 |
+inherit distutils-r1 eutils git-r3 linux-info user |
41 |
+ |
42 |
+DESCRIPTION="A CloudFormation-compatible openstack-native cloud orchistration engine." |
43 |
+HOMEPAGE="https://launchpad.net/heat" |
44 |
+SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.pike -> heat.conf.sample-${PV}" |
45 |
+EGIT_REPO_URI="https://github.com/openstack/heat.git" |
46 |
+EGIT_BRANCH="stable/pike" |
47 |
+ |
48 |
+LICENSE="Apache-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="" |
51 |
+IUSE="+mysql +memcached postgres sqlite" |
52 |
+REQUIRED_USE="|| ( mysql postgres sqlite )" |
53 |
+ |
54 |
+CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
55 |
+ !~dev-python/pbr-2.1.0" |
56 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
+ ${CDEPEND} |
58 |
+ app-admin/sudo" |
59 |
+ |
60 |
+RDEPEND=" |
61 |
+ ${CDEPEND} |
62 |
+ >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
63 |
+ !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/croniter-0.3.4[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/cryptography-1.6.0[${PYTHON_USEDEP}] |
66 |
+ !~dev-python/cryptography-2.0.0[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] |
69 |
+ !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}] |
70 |
+ <dev-python/eventlet-0.21.0[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/keystoneauth-3.1.0[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/keystonemiddleware-4.12.0[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
74 |
+ !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/netaddr-0.7.13[${PYTHON_USEDEP}] |
76 |
+ !~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/openstacksdk-0.9.17[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/oslo-cache-1.5.0[${PYTHON_USEDEP}] |
79 |
+ >=dev-python/oslo-config-4.0.0[${PYTHON_USEDEP}] |
80 |
+ !~dev-python/oslo-config-4.3.0[${PYTHON_USEDEP}] |
81 |
+ !~dev-python/oslo-config-4.4.0[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/oslo-concurrency-3.8.0[${PYTHON_USEDEP}] |
83 |
+ >=dev-python/oslo-context-2.14.0[${PYTHON_USEDEP}] |
84 |
+ >=dev-python/oslo-db-4.24.0[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] |
86 |
+ !~dev-python/oslo-i18n-3.15.2[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/oslo-log-3.22.0[${PYTHON_USEDEP}] |
88 |
+ >=dev-python/oslo-messaging-5.24.2[${PYTHON_USEDEP}] |
89 |
+ !~dev-python/oslo-messaging-5.25.0[${PYTHON_USEDEP}] |
90 |
+ >=dev-python/oslo-middleware-3.27.0[${PYTHON_USEDEP}] |
91 |
+ >=dev-python/oslo-policy-1.23.0[${PYTHON_USEDEP}] |
92 |
+ >=dev-python/oslo-reports-0.6.0[${PYTHON_USEDEP}] |
93 |
+ >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] |
94 |
+ !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] |
95 |
+ >=dev-python/oslo-service-1.10.0[${PYTHON_USEDEP}] |
96 |
+ >=dev-python/oslo-utils-3.20.0[${PYTHON_USEDEP}] |
97 |
+ >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
98 |
+ >=dev-python/oslo-versionedobjects-1.17.0[${PYTHON_USEDEP}] |
99 |
+ >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
100 |
+ >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] |
101 |
+ >=dev-python/aodhclient-0.7.0[${PYTHON_USEDEP}] |
102 |
+ >=dev-python/python-barbicanclient-4.0.0[${PYTHON_USEDEP}] |
103 |
+ !~dev-python/python-barbicanclient-4.5.0[${PYTHON_USEDEP}] |
104 |
+ !~dev-python/python-barbicanclient-4.5.1[${PYTHON_USEDEP}] |
105 |
+ >=dev-python/python-ceilometerclient-2.5.0[${PYTHON_USEDEP}] |
106 |
+ >=dev-python/python-cinderclient-3.1.0[${PYTHON_USEDEP}] |
107 |
+ >=dev-python/python-designateclient-1.5.0[${PYTHON_USEDEP}] |
108 |
+ >=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}] |
109 |
+ >=dev-python/python-heatclient-1.6.1[${PYTHON_USEDEP}] |
110 |
+ >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] |
111 |
+ >=dev-python/python-magnumclient-2.0.0[${PYTHON_USEDEP}] |
112 |
+ >=dev-python/python-manilaclient-1.12.0[${PYTHON_USEDEP}] |
113 |
+ >=dev-python/python-mistralclient-3.1.0[${PYTHON_USEDEP}] |
114 |
+ >=dev-python/python-monascaclient-1.7.0[${PYTHON_USEDEP}] |
115 |
+ >=dev-python/python-neutronclient-6.3.0[${PYTHON_USEDEP}] |
116 |
+ >=dev-python/python-novaclient-9.0.0[${PYTHON_USEDEP}] |
117 |
+ >=dev-python/python-openstackclient-3.3.0[${PYTHON_USEDEP}] |
118 |
+ !~dev-python/python-openstackclient-3.10.0[${PYTHON_USEDEP}] |
119 |
+ >=dev-python/python-saharaclient-1.1.0[${PYTHON_USEDEP}] |
120 |
+ >=dev-python/python-senlinclient-1.1.0[${PYTHON_USEDEP}] |
121 |
+ >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}] |
122 |
+ >=dev-python/python-troveclient-2.2.0[${PYTHON_USEDEP}] |
123 |
+ >=dev-python/python-zaqarclient-1.0.0[${PYTHON_USEDEP}] |
124 |
+ >=dev-python/python-zunclient-0.2.0[${PYTHON_USEDEP}] |
125 |
+ >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
126 |
+ >=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}] |
127 |
+ >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] |
128 |
+ >=dev-python/tenacity-3.2.1[${PYTHON_USEDEP}] |
129 |
+ >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] |
130 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
131 |
+ sqlite? ( |
132 |
+ >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
133 |
+ !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}] |
134 |
+ !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}] |
135 |
+ !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}] |
136 |
+ !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}] |
137 |
+ ) |
138 |
+ mysql? ( |
139 |
+ >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
140 |
+ !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
141 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
142 |
+ !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
143 |
+ !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
144 |
+ !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
145 |
+ !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
146 |
+ ) |
147 |
+ postgres? ( |
148 |
+ >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] |
149 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
150 |
+ !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
151 |
+ !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
152 |
+ !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
153 |
+ !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
154 |
+ ) |
155 |
+ >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] |
156 |
+ >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] |
157 |
+ >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] |
158 |
+ >=dev-python/yaql-1.1.0[${PYTHON_USEDEP}]" |
159 |
+ |
160 |
+PATCHES=( |
161 |
+) |
162 |
+ |
163 |
+pkg_setup() { |
164 |
+ enewgroup heat |
165 |
+ enewuser heat -1 -1 /var/lib/heat heat |
166 |
+} |
167 |
+ |
168 |
+python_prepare_all() { |
169 |
+ sed -i '/^hacking/d' test-requirements.txt || die |
170 |
+ distutils-r1_python_prepare_all |
171 |
+} |
172 |
+ |
173 |
+python_install_all() { |
174 |
+ distutils-r1_python_install_all |
175 |
+ diropts -m0750 -o heat -g heat |
176 |
+ keepdir /etc/heat |
177 |
+ dodir /etc/heat/environment.d |
178 |
+ dodir /etc/heat/templates |
179 |
+ |
180 |
+ for svc in api api-cfn engine; do |
181 |
+ newinitd "${FILESDIR}/heat.initd" heat-${svc} |
182 |
+ done |
183 |
+ |
184 |
+ insinto /etc/heat |
185 |
+ insopts -m0640 -o heat -g heat |
186 |
+ newins "${DISTDIR}/heat.conf.sample-${PV}" "heat.conf.sample" |
187 |
+ doins "etc/heat/api-paste.ini" |
188 |
+ doins "etc/heat/policy.json" |
189 |
+ insinto /etc/heat/templates |
190 |
+ doins "etc/heat/templates/"* |
191 |
+ insinto /etc/heat/environment.d |
192 |
+ doins "etc/heat/environment.d/default.yaml" |
193 |
+ |
194 |
+ dodir /var/log/heat |
195 |
+ fowners heat:heat /var/log/heat |
196 |
+} |