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, 01 Mar 2018 09:58:19
Message-Id: 1519898256.d72f26966e1c0e27b1a035e1a6aa78e7dc91da9a.prometheanfire@gentoo
1 commit: d72f26966e1c0e27b1a035e1a6aa78e7dc91da9a
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 1 09:54:00 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 1 09:57:36 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d72f2696
7
8 sys-cluster/heat: 10.0.0 bup QUEENS
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 sys-cluster/heat/Manifest | 2 +
13 sys-cluster/heat/heat-10.0.0.ebuild | 163 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 165 insertions(+)
15
16 diff --git a/sys-cluster/heat/Manifest b/sys-cluster/heat/Manifest
17 index 2824ecb3103..f7f5bfee46b 100644
18 --- a/sys-cluster/heat/Manifest
19 +++ b/sys-cluster/heat/Manifest
20 @@ -1,5 +1,7 @@
21 +DIST heat-10.0.0.tar.gz 2349675 BLAKE2B 24968c117d19e69638dbddd6d25d34f05e1454f788187049f1f35a067e029afe141693f41b497031e2ebb039cea2475bcf13ad814a21844540d41f1a2e4260ef SHA512 43a5ab5330a830657cc5265875240d85d442404db1bb3ff7372acc28fc4b8f410414704a928765cf97eb550fa47d0bd228ad62efb098093552baba0f1e1305e9
22 DIST heat-9.0.2.tar.gz 2364044 BLAKE2B ca2c6e1f504e7b443906e1c33d2105293313223d9af851a5c46719b5c74d95687d11ea2460f7fc3e818719c9132bb8e0041b4ae123d5a0eb12b5bff22606f474 SHA512 c27dbcd74abed231b5e375461c03e32d5a55c08d04619bf7f315baad14fb20e2041aa92656b7e597bc7c804533c6496f569ce450e81a52cab5735d6d84af2734
23 DIST heat-9.0.3.tar.gz 2364843 BLAKE2B 4edbd6716a84e6003cd02511e8c8036c84510bd4d842d9a32caae7c837bee591fb46d3edc8786d8015b8ffd09d4dde7bde4f49a6994766af40284715b2b99713 SHA512 5db5f0189da095951963d2cf30c7c3279e40537041a66b3d13cfebd13ba4256b74db49ba6269e14b2c4e21d10b7b00e77d5b94050e30c436dc271b406e4e9432
24 +DIST heat.conf.sample-10.0.0 92161 BLAKE2B 745cdb4eb6006079201cfe31b6486a5d759a93d1deceb42c3e9c5224b9512437013a5f44eb0f81694949efad648559a1b4e436992a91986206e50b65c69a09b8 SHA512 44b9f0e5779a21afc73a2720181ffaf778d5e54f61db7b177b59a777985c6155dac1d6b535eed311be372236f4d39d0601a8814c5ad7aa0c48acf3771bf65120
25 DIST heat.conf.sample-2017.2.9999 88901 BLAKE2B 050cfaacb46a8d9b79a17b7406acf6bca9be27a21f8278194021cadc69fb364c630ca0f0e7a320dfe9d46303d779eb8b5c31efaa9c25d3695caf70cab18b1b4d SHA512 f62feaa4a0d27866876aed9f78099501247ae4b7deaefd04d77b1f4b2a1d1c991e6f3e68d9f82e3b6a4358c99fbffd90f14a05ff98105df0ef0db68ef8bc6932
26 DIST heat.conf.sample-2018.1.9999 92161 BLAKE2B 745cdb4eb6006079201cfe31b6486a5d759a93d1deceb42c3e9c5224b9512437013a5f44eb0f81694949efad648559a1b4e436992a91986206e50b65c69a09b8 SHA512 44b9f0e5779a21afc73a2720181ffaf778d5e54f61db7b177b59a777985c6155dac1d6b535eed311be372236f4d39d0601a8814c5ad7aa0c48acf3771bf65120
27 DIST heat.conf.sample-9.0.2 88901 BLAKE2B 050cfaacb46a8d9b79a17b7406acf6bca9be27a21f8278194021cadc69fb364c630ca0f0e7a320dfe9d46303d779eb8b5c31efaa9c25d3695caf70cab18b1b4d SHA512 f62feaa4a0d27866876aed9f78099501247ae4b7deaefd04d77b1f4b2a1d1c991e6f3e68d9f82e3b6a4358c99fbffd90f14a05ff98105df0ef0db68ef8bc6932
28
29 diff --git a/sys-cluster/heat/heat-10.0.0.ebuild b/sys-cluster/heat/heat-10.0.0.ebuild
30 new file mode 100644
31 index 00000000000..1fb77183dbd
32 --- /dev/null
33 +++ b/sys-cluster/heat/heat-10.0.0.ebuild
34 @@ -0,0 +1,163 @@
35 +# Copyright 1999-2018 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=6
39 +PYTHON_COMPAT=( python2_7 python3_{4,5} )
40 +
41 +inherit distutils-r1 eutils linux-info user
42 +
43 +DESCRIPTION="A CloudFormation-compatible openstack-native cloud orchestration engine."
44 +HOMEPAGE="https://launchpad.net/heat"
45 +
46 +if [[ ${PV} == *9999 ]];then
47 + inherit git-r3
48 + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.queens -> heat.conf.sample-${PV}"
49 + EGIT_REPO_URI="https://github.com/openstack/heat.git"
50 + EGIT_BRANCH="stable/queens"
51 +else
52 + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.queens -> heat.conf.sample-${PV}
53 + https://tarballs.openstack.org/${PN}/${P}.tar.gz"
54 + KEYWORDS="~amd64 ~arm64 ~x86"
55 +fi
56 +
57 +LICENSE="Apache-2.0"
58 +SLOT="0"
59 +IUSE="+mysql +memcached postgres sqlite"
60 +REQUIRED_USE="|| ( mysql postgres sqlite )"
61 +
62 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
63 + !~dev-python/pbr-2.1.0"
64 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
65 + ${CDEPEND}
66 + app-admin/sudo"
67 +
68 +RDEPEND="
69 + ${CDEPEND}
70 + >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
71 + !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]
72 + >=dev-python/croniter-0.3.4[${PYTHON_USEDEP}]
73 + >=dev-python/cryptography-1.9.0[${PYTHON_USEDEP}]
74 + !~dev-python/cryptography-2.0.0[${PYTHON_USEDEP}]
75 + >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
76 + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}]
77 + <dev-python/eventlet-0.21.0[${PYTHON_USEDEP}]
78 + >=dev-python/keystoneauth-3.3.0[${PYTHON_USEDEP}]
79 + >=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}]
80 + >=dev-python/lxml-3.4.1[${PYTHON_USEDEP}]
81 + !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}]
82 + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
83 + >=dev-python/openstacksdk-0.9.19[${PYTHON_USEDEP}]
84 + >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}]
85 + >=dev-python/oslo-config-5.1.0[${PYTHON_USEDEP}]
86 + >=dev-python/oslo-concurrency-3.25.0[${PYTHON_USEDEP}]
87 + >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}]
88 + >=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}]
89 + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
90 + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
91 + >=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}]
92 + >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
93 + >=dev-python/oslo-policy-1.30.0[${PYTHON_USEDEP}]
94 + >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}]
95 + >=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}]
96 + !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}]
97 + >=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}]
98 + !~dev-python/oslo-service-1.28.1[${PYTHON_USEDEP}]
99 + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
100 + >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
101 + >=dev-python/oslo-versionedobjects-1.31.2[${PYTHON_USEDEP}]
102 + >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
103 + >=dev-python/aodhclient-0.9.0[${PYTHON_USEDEP}]
104 + >=dev-python/python-barbicanclient-4.0.0[${PYTHON_USEDEP}]
105 + !~dev-python/python-barbicanclient-4.5.0[${PYTHON_USEDEP}]
106 + !~dev-python/python-barbicanclient-4.5.1[${PYTHON_USEDEP}]
107 + >=dev-python/python-ceilometerclient-2.5.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-monascaclient-1.7.0[${PYTHON_USEDEP}]
117 + >=dev-python/python-neutronclient-6.3.0[${PYTHON_USEDEP}]
118 + >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}]
119 + >=dev-python/python-octaviaclient-1.3.0[${PYTHON_USEDEP}]
120 + >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}]
121 + >=dev-python/python-saharaclient-1.4.0[${PYTHON_USEDEP}]
122 + >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}]
123 + >=dev-python/python-troveclient-2.2.0[${PYTHON_USEDEP}]
124 + >=dev-python/python-zaqarclient-1.0.0[${PYTHON_USEDEP}]
125 + >=dev-python/python-zunclient-1.0.0[${PYTHON_USEDEP}]
126 + >=dev-python/pytz-2013.6[${PYTHON_USEDEP}]
127 + >=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}]
128 + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
129 + >=dev-python/tenacity-3.2.1[${PYTHON_USEDEP}]
130 + >=dev-python/routes-2.3.1[${PYTHON_USEDEP}]
131 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
132 + sqlite? (
133 + >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}]
134 + !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}]
135 + !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}]
136 + !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}]
137 + !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}]
138 + )
139 + mysql? (
140 + >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
141 + !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}]
142 + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
143 + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
144 + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
145 + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
146 + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
147 + )
148 + postgres? (
149 + >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
150 + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
151 + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
152 + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
153 + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
154 + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
155 + )
156 + >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}]
157 + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
158 + >=dev-python/webob-1.7.1[${PYTHON_USEDEP}]
159 + >=dev-python/yaql-1.1.3[${PYTHON_USEDEP}]"
160 +
161 +PATCHES=(
162 +)
163 +
164 +pkg_setup() {
165 + enewgroup heat
166 + enewuser heat -1 -1 /var/lib/heat heat
167 +}
168 +
169 +python_prepare_all() {
170 + sed -i '/^hacking/d' test-requirements.txt || die
171 + distutils-r1_python_prepare_all
172 +}
173 +
174 +python_install_all() {
175 + distutils-r1_python_install_all
176 + diropts -m0750 -o heat -g heat
177 + keepdir /etc/heat
178 + dodir /etc/heat/environment.d
179 + dodir /etc/heat/templates
180 +
181 + for svc in api api-cfn engine; do
182 + newinitd "${FILESDIR}/heat.initd" heat-${svc}
183 + done
184 +
185 + insinto /etc/heat
186 + insopts -m0640 -o heat -g heat
187 + newins "${DISTDIR}/heat.conf.sample-${PV}" "heat.conf.sample"
188 + doins "etc/heat/api-paste.ini"
189 + doins "etc/heat/policy.json"
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 +}