1 |
commit: 0af4e3424a850b172d9d7be753ea4694d50cba7b |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 24 07:18:43 2018 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 24 07:18:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af4e342 |
7 |
|
8 |
sys-cluster/heat: QUEENS |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
sys-cluster/heat/Manifest | 1 + |
13 |
sys-cluster/heat/heat-2018.1.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 ed3fd123a98..2824ecb3103 100644 |
18 |
--- a/sys-cluster/heat/Manifest |
19 |
+++ b/sys-cluster/heat/Manifest |
20 |
@@ -1,5 +1,6 @@ |
21 |
DIST heat-9.0.2.tar.gz 2364044 BLAKE2B ca2c6e1f504e7b443906e1c33d2105293313223d9af851a5c46719b5c74d95687d11ea2460f7fc3e818719c9132bb8e0041b4ae123d5a0eb12b5bff22606f474 SHA512 c27dbcd74abed231b5e375461c03e32d5a55c08d04619bf7f315baad14fb20e2041aa92656b7e597bc7c804533c6496f569ce450e81a52cab5735d6d84af2734 |
22 |
DIST heat-9.0.3.tar.gz 2364843 BLAKE2B 4edbd6716a84e6003cd02511e8c8036c84510bd4d842d9a32caae7c837bee591fb46d3edc8786d8015b8ffd09d4dde7bde4f49a6994766af40284715b2b99713 SHA512 5db5f0189da095951963d2cf30c7c3279e40537041a66b3d13cfebd13ba4256b74db49ba6269e14b2c4e21d10b7b00e77d5b94050e30c436dc271b406e4e9432 |
23 |
DIST heat.conf.sample-2017.2.9999 88901 BLAKE2B 050cfaacb46a8d9b79a17b7406acf6bca9be27a21f8278194021cadc69fb364c630ca0f0e7a320dfe9d46303d779eb8b5c31efaa9c25d3695caf70cab18b1b4d SHA512 f62feaa4a0d27866876aed9f78099501247ae4b7deaefd04d77b1f4b2a1d1c991e6f3e68d9f82e3b6a4358c99fbffd90f14a05ff98105df0ef0db68ef8bc6932 |
24 |
+DIST heat.conf.sample-2018.1.9999 92161 BLAKE2B 745cdb4eb6006079201cfe31b6486a5d759a93d1deceb42c3e9c5224b9512437013a5f44eb0f81694949efad648559a1b4e436992a91986206e50b65c69a09b8 SHA512 44b9f0e5779a21afc73a2720181ffaf778d5e54f61db7b177b59a777985c6155dac1d6b535eed311be372236f4d39d0601a8814c5ad7aa0c48acf3771bf65120 |
25 |
DIST heat.conf.sample-9.0.2 88901 BLAKE2B 050cfaacb46a8d9b79a17b7406acf6bca9be27a21f8278194021cadc69fb364c630ca0f0e7a320dfe9d46303d779eb8b5c31efaa9c25d3695caf70cab18b1b4d SHA512 f62feaa4a0d27866876aed9f78099501247ae4b7deaefd04d77b1f4b2a1d1c991e6f3e68d9f82e3b6a4358c99fbffd90f14a05ff98105df0ef0db68ef8bc6932 |
26 |
DIST heat.conf.sample-9.0.3 88901 BLAKE2B 050cfaacb46a8d9b79a17b7406acf6bca9be27a21f8278194021cadc69fb364c630ca0f0e7a320dfe9d46303d779eb8b5c31efaa9c25d3695caf70cab18b1b4d SHA512 f62feaa4a0d27866876aed9f78099501247ae4b7deaefd04d77b1f4b2a1d1c991e6f3e68d9f82e3b6a4358c99fbffd90f14a05ff98105df0ef0db68ef8bc6932 |
27 |
|
28 |
diff --git a/sys-cluster/heat/heat-2018.1.9999.ebuild b/sys-cluster/heat/heat-2018.1.9999.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..1fb77183dbd |
31 |
--- /dev/null |
32 |
+++ b/sys-cluster/heat/heat-2018.1.9999.ebuild |
33 |
@@ -0,0 +1,163 @@ |
34 |
+# Copyright 1999-2018 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 linux-info user |
41 |
+ |
42 |
+DESCRIPTION="A CloudFormation-compatible openstack-native cloud orchestration engine." |
43 |
+HOMEPAGE="https://launchpad.net/heat" |
44 |
+ |
45 |
+if [[ ${PV} == *9999 ]];then |
46 |
+ inherit git-r3 |
47 |
+ SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.queens -> heat.conf.sample-${PV}" |
48 |
+ EGIT_REPO_URI="https://github.com/openstack/heat.git" |
49 |
+ EGIT_BRANCH="stable/queens" |
50 |
+else |
51 |
+ SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.queens -> heat.conf.sample-${PV} |
52 |
+ https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
53 |
+ KEYWORDS="~amd64 ~arm64 ~x86" |
54 |
+fi |
55 |
+ |
56 |
+LICENSE="Apache-2.0" |
57 |
+SLOT="0" |
58 |
+IUSE="+mysql +memcached postgres sqlite" |
59 |
+REQUIRED_USE="|| ( mysql postgres sqlite )" |
60 |
+ |
61 |
+CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
62 |
+ !~dev-python/pbr-2.1.0" |
63 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
64 |
+ ${CDEPEND} |
65 |
+ app-admin/sudo" |
66 |
+ |
67 |
+RDEPEND=" |
68 |
+ ${CDEPEND} |
69 |
+ >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
70 |
+ !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/croniter-0.3.4[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/cryptography-1.9.0[${PYTHON_USEDEP}] |
73 |
+ !~dev-python/cryptography-2.0.0[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] |
75 |
+ !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}] |
76 |
+ <dev-python/eventlet-0.21.0[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/keystoneauth-3.3.0[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}] |
79 |
+ >=dev-python/lxml-3.4.1[${PYTHON_USEDEP}] |
80 |
+ !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}] |
81 |
+ >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/openstacksdk-0.9.19[${PYTHON_USEDEP}] |
83 |
+ >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}] |
84 |
+ >=dev-python/oslo-config-5.1.0[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/oslo-concurrency-3.25.0[${PYTHON_USEDEP}] |
86 |
+ >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}] |
88 |
+ >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
89 |
+ >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] |
90 |
+ >=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}] |
91 |
+ >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] |
92 |
+ >=dev-python/oslo-policy-1.30.0[${PYTHON_USEDEP}] |
93 |
+ >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] |
94 |
+ >=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}] |
95 |
+ !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] |
96 |
+ >=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}] |
97 |
+ !~dev-python/oslo-service-1.28.1[${PYTHON_USEDEP}] |
98 |
+ >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] |
99 |
+ >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
100 |
+ >=dev-python/oslo-versionedobjects-1.31.2[${PYTHON_USEDEP}] |
101 |
+ >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
102 |
+ >=dev-python/aodhclient-0.9.0[${PYTHON_USEDEP}] |
103 |
+ >=dev-python/python-barbicanclient-4.0.0[${PYTHON_USEDEP}] |
104 |
+ !~dev-python/python-barbicanclient-4.5.0[${PYTHON_USEDEP}] |
105 |
+ !~dev-python/python-barbicanclient-4.5.1[${PYTHON_USEDEP}] |
106 |
+ >=dev-python/python-ceilometerclient-2.5.0[${PYTHON_USEDEP}] |
107 |
+ >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}] |
108 |
+ >=dev-python/python-designateclient-2.7.0[${PYTHON_USEDEP}] |
109 |
+ >=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}] |
110 |
+ >=dev-python/python-heatclient-1.10.0[${PYTHON_USEDEP}] |
111 |
+ >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] |
112 |
+ >=dev-python/python-magnumclient-2.1.0[${PYTHON_USEDEP}] |
113 |
+ >=dev-python/python-manilaclient-1.16.0[${PYTHON_USEDEP}] |
114 |
+ >=dev-python/python-mistralclient-3.1.0[${PYTHON_USEDEP}] |
115 |
+ >=dev-python/python-monascaclient-1.7.0[${PYTHON_USEDEP}] |
116 |
+ >=dev-python/python-neutronclient-6.3.0[${PYTHON_USEDEP}] |
117 |
+ >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}] |
118 |
+ >=dev-python/python-octaviaclient-1.3.0[${PYTHON_USEDEP}] |
119 |
+ >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}] |
120 |
+ >=dev-python/python-saharaclient-1.4.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-1.0.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.10.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.3[${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 |
+} |