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: Tue, 08 May 2018 16:55:51
Message-Id: 1525798529.65638d92e8f01a647d6f692e20ed16e5c70b6977.prometheanfire@gentoo
1 commit: 65638d92e8f01a647d6f692e20ed16e5c70b6977
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 8 16:28:57 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue May 8 16:55:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65638d92
7
8 sys-cluster/heat: 10.0.1 bup
9
10 Package-Manager: Portage-2.3.27, Repoman-2.3.9
11
12 sys-cluster/heat/Manifest | 2 +
13 sys-cluster/heat/heat-10.0.1.ebuild | 163 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 165 insertions(+)
15
16 diff --git a/sys-cluster/heat/Manifest b/sys-cluster/heat/Manifest
17 index f8ec8aa1957..ef719355eae 100644
18 --- a/sys-cluster/heat/Manifest
19 +++ b/sys-cluster/heat/Manifest
20 @@ -1,7 +1,9 @@
21 DIST heat-10.0.0.tar.gz 2349675 BLAKE2B 24968c117d19e69638dbddd6d25d34f05e1454f788187049f1f35a067e029afe141693f41b497031e2ebb039cea2475bcf13ad814a21844540d41f1a2e4260ef SHA512 43a5ab5330a830657cc5265875240d85d442404db1bb3ff7372acc28fc4b8f410414704a928765cf97eb550fa47d0bd228ad62efb098093552baba0f1e1305e9
22 +DIST heat-10.0.1.tar.gz 2353949 BLAKE2B 401cc24ebc2c5105666719a9d89a55116f4f8139dd7fb4a5b5e37f3da39240dfedb3b61b810f72750390e4f9dc0f8e6b69499c1b921f222064a610fd85cd8b84 SHA512 019df95a16f7d5f89a726248d33780ef4fa7fc2ff91b9a0a756548fa91993eb625097b9ab0dd232019669161ccf6fbf43132237d4666bf200f141173bbb07782
23 DIST heat-9.0.3.tar.gz 2364843 BLAKE2B 4edbd6716a84e6003cd02511e8c8036c84510bd4d842d9a32caae7c837bee591fb46d3edc8786d8015b8ffd09d4dde7bde4f49a6994766af40284715b2b99713 SHA512 5db5f0189da095951963d2cf30c7c3279e40537041a66b3d13cfebd13ba4256b74db49ba6269e14b2c4e21d10b7b00e77d5b94050e30c436dc271b406e4e9432
24 DIST heat-9.0.4.tar.gz 2365172 BLAKE2B 069ee142fc8f8dba7eb6cdd9386a4fa32db85cb9a2bc454da1e4290acfd17d364de34706a3199fb7b68b4a4ce1c24d1b8d7781b4d1b984e6171e78ff32335008 SHA512 fd75a7cd9e656c58e81d47292687024ba6b61cccdbeab3ce2472f05f238a944ef4dfa120b39b6f2285aa434b3386ea13d3ca07a48b70d1f53798384a344c53a2
25 DIST heat.conf.sample-10.0.0 92161 BLAKE2B 745cdb4eb6006079201cfe31b6486a5d759a93d1deceb42c3e9c5224b9512437013a5f44eb0f81694949efad648559a1b4e436992a91986206e50b65c69a09b8 SHA512 44b9f0e5779a21afc73a2720181ffaf778d5e54f61db7b177b59a777985c6155dac1d6b535eed311be372236f4d39d0601a8814c5ad7aa0c48acf3771bf65120
26 +DIST heat.conf.sample-10.0.1 92161 BLAKE2B 745cdb4eb6006079201cfe31b6486a5d759a93d1deceb42c3e9c5224b9512437013a5f44eb0f81694949efad648559a1b4e436992a91986206e50b65c69a09b8 SHA512 44b9f0e5779a21afc73a2720181ffaf778d5e54f61db7b177b59a777985c6155dac1d6b535eed311be372236f4d39d0601a8814c5ad7aa0c48acf3771bf65120
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-9.0.3 88901 BLAKE2B 050cfaacb46a8d9b79a17b7406acf6bca9be27a21f8278194021cadc69fb364c630ca0f0e7a320dfe9d46303d779eb8b5c31efaa9c25d3695caf70cab18b1b4d SHA512 f62feaa4a0d27866876aed9f78099501247ae4b7deaefd04d77b1f4b2a1d1c991e6f3e68d9f82e3b6a4358c99fbffd90f14a05ff98105df0ef0db68ef8bc6932
30
31 diff --git a/sys-cluster/heat/heat-10.0.1.ebuild b/sys-cluster/heat/heat-10.0.1.ebuild
32 new file mode 100644
33 index 00000000000..c3a89383e2c
34 --- /dev/null
35 +++ b/sys-cluster/heat/heat-10.0.1.ebuild
36 @@ -0,0 +1,163 @@
37 +# Copyright 1999-2018 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=6
41 +PYTHON_COMPAT=( python2_7 python3_{4,5} )
42 +
43 +inherit distutils-r1 eutils linux-info user
44 +
45 +DESCRIPTION="A CloudFormation-compatible openstack-native cloud orchestration engine."
46 +HOMEPAGE="https://launchpad.net/heat"
47 +
48 +if [[ ${PV} == *9999 ]];then
49 + inherit git-r3
50 + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.queens -> heat.conf.sample-${PV}"
51 + EGIT_REPO_URI="https://github.com/openstack/heat.git"
52 + EGIT_BRANCH="stable/queens"
53 +else
54 + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.queens -> heat.conf.sample-${PV}
55 + https://tarballs.openstack.org/${PN}/${P}.tar.gz"
56 + KEYWORDS="~amd64 ~arm64 ~x86"
57 +fi
58 +
59 +LICENSE="Apache-2.0"
60 +SLOT="0"
61 +IUSE="+mysql +memcached postgres sqlite"
62 +REQUIRED_USE="|| ( mysql postgres sqlite )"
63 +
64 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
65 + !~dev-python/pbr-2.1.0"
66 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
67 + ${CDEPEND}
68 + app-admin/sudo"
69 +
70 +RDEPEND="
71 + ${CDEPEND}
72 + >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
73 + !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]
74 + >=dev-python/croniter-0.3.4[${PYTHON_USEDEP}]
75 + >=dev-python/cryptography-1.9.0[${PYTHON_USEDEP}]
76 + !~dev-python/cryptography-2.0.0[${PYTHON_USEDEP}]
77 + >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
78 + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}]
79 + <dev-python/eventlet-0.21.0[${PYTHON_USEDEP}]
80 + >=dev-python/keystoneauth-3.3.0[${PYTHON_USEDEP}]
81 + >=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}]
82 + >=dev-python/lxml-3.4.1[${PYTHON_USEDEP}]
83 + !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}]
84 + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
85 + >=dev-python/openstacksdk-0.9.19[${PYTHON_USEDEP}]
86 + >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}]
87 + >=dev-python/oslo-config-5.1.0[${PYTHON_USEDEP}]
88 + >=dev-python/oslo-concurrency-3.25.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.0.0[${PYTHON_USEDEP}]
107 + !~dev-python/python-barbicanclient-4.5.0[${PYTHON_USEDEP}]
108 + !~dev-python/python-barbicanclient-4.5.1[${PYTHON_USEDEP}]
109 + >=dev-python/python-ceilometerclient-2.5.0[${PYTHON_USEDEP}]
110 + >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}]
111 + >=dev-python/python-designateclient-2.7.0[${PYTHON_USEDEP}]
112 + >=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}]
113 + >=dev-python/python-heatclient-1.10.0[${PYTHON_USEDEP}]
114 + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
115 + >=dev-python/python-magnumclient-2.1.0[${PYTHON_USEDEP}]
116 + >=dev-python/python-manilaclient-1.16.0[${PYTHON_USEDEP}]
117 + >=dev-python/python-mistralclient-3.1.0[${PYTHON_USEDEP}]
118 + !~dev-python/python-mistralclient-3.2.0[${PYTHON_USEDEP}]
119 + >=dev-python/python-monascaclient-1.7.0[${PYTHON_USEDEP}]
120 + >=dev-python/python-neutronclient-6.3.0[${PYTHON_USEDEP}]
121 + >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}]
122 + >=dev-python/python-octaviaclient-1.3.0[${PYTHON_USEDEP}]
123 + >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}]
124 + >=dev-python/python-saharaclient-1.4.0[${PYTHON_USEDEP}]
125 + >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}]
126 + >=dev-python/python-troveclient-2.2.0[${PYTHON_USEDEP}]
127 + >=dev-python/python-zaqarclient-1.0.0[${PYTHON_USEDEP}]
128 + >=dev-python/python-zunclient-1.0.0[${PYTHON_USEDEP}]
129 + >=dev-python/pytz-2013.6[${PYTHON_USEDEP}]
130 + >=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}]
131 + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
132 + >=dev-python/tenacity-3.2.1[${PYTHON_USEDEP}]
133 + >=dev-python/routes-2.3.1[${PYTHON_USEDEP}]
134 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
135 + sqlite? (
136 + >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}]
137 + !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}]
138 + !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}]
139 + !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}]
140 + !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}]
141 + )
142 + mysql? (
143 + >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
144 + !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}]
145 + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
146 + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
147 + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
148 + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
149 + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
150 + )
151 + postgres? (
152 + >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
153 + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
154 + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
155 + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
156 + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
157 + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
158 + )
159 + >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}]
160 + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
161 + >=dev-python/webob-1.7.1[${PYTHON_USEDEP}]
162 + >=dev-python/yaql-1.1.3[${PYTHON_USEDEP}]"
163 +
164 +PATCHES=(
165 +)
166 +
167 +pkg_setup() {
168 + enewgroup heat
169 + enewuser heat -1 -1 /var/lib/heat heat
170 +}
171 +
172 +python_prepare_all() {
173 + sed -i '/^hacking/d' test-requirements.txt || die
174 + distutils-r1_python_prepare_all
175 +}
176 +
177 +python_install_all() {
178 + distutils-r1_python_install_all
179 + diropts -m0750 -o heat -g heat
180 + keepdir /etc/heat
181 + dodir /etc/heat/environment.d
182 + dodir /etc/heat/templates
183 +
184 + for svc in api api-cfn engine; do
185 + newinitd "${FILESDIR}/heat.initd" heat-${svc}
186 + done
187 +
188 + insinto /etc/heat
189 + insopts -m0640 -o heat -g heat
190 + newins "${DISTDIR}/heat.conf.sample-${PV}" "heat.conf.sample"
191 + doins "etc/heat/api-paste.ini"
192 + insinto /etc/heat/templates
193 + doins "etc/heat/templates/"*
194 + insinto /etc/heat/environment.d
195 + doins "etc/heat/environment.d/default.yaml"
196 +
197 + dodir /var/log/heat
198 + fowners heat:heat /var/log/heat
199 +}