1 |
commit: 4d8f8318b2b775b8b9c65c86f93cf8d388a0413a |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Apr 4 19:05:36 2022 +0000 |
4 |
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> |
5 |
CommitDate: Mon Apr 4 19:32:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d8f8318 |
7 |
|
8 |
sys-cluster/heat: add 18.0.0 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
sys-cluster/heat/Manifest | 1 + |
13 |
sys-cluster/heat/heat-18.0.0.ebuild | 170 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 171 insertions(+) |
15 |
|
16 |
diff --git a/sys-cluster/heat/Manifest b/sys-cluster/heat/Manifest |
17 |
index 6f603fe99..1a96049d4 100644 |
18 |
--- a/sys-cluster/heat/Manifest |
19 |
+++ b/sys-cluster/heat/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST openstack-heat-18.0.0.0rc1.tar.gz 2449476 BLAKE2B d1a616bd9d5d07e4b513ac73b8ad555a9641796b85e26b5682814e8cce01cd5785a312e3a26da2a98c2fba9145f84e801090b95739a3e9c61ab9cca9b7521b42 SHA512 891e2357be5334a1e542338ddb51baeda904a553a35ed3376d1ea7ba29818b5fb517d648f48d4e192d3e7a8f407d3a1363447a0bf701a87311e6904b4716703b |
22 |
+DIST openstack-heat-18.0.0.tar.gz 2449231 BLAKE2B a285cc9bb3ac9bb88c5694cefd664ae5e4ffe130317a290e39b5faadd7512cdd515fdc14bc5a03bd610bd11f4fb1f85627c5dd1974f14ad06f13f9a594c1c141 SHA512 222c9ae91a7ab189fe98908629f6c64ccb0cc7dd10fc331c206c10a31a499cc3bdc8717656d2e3c746857de8c85ae13289a8efd2c1a800b9b88553696c2e14e4 |
23 |
|
24 |
diff --git a/sys-cluster/heat/heat-18.0.0.ebuild b/sys-cluster/heat/heat-18.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..0d5f545e2 |
27 |
--- /dev/null |
28 |
+++ b/sys-cluster/heat/heat-18.0.0.ebuild |
29 |
@@ -0,0 +1,170 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+MYP="${P/_rc/rc}" |
36 |
+PYTHON_COMPAT=( python3_{8..9} ) |
37 |
+ |
38 |
+inherit distutils-r1 linux-info systemd |
39 |
+ |
40 |
+DESCRIPTION="A CloudFormation-compatible openstack-native cloud orchestration engine" |
41 |
+HOMEPAGE=" |
42 |
+ https://launchpad.net/heat |
43 |
+ https://opendev.org/openstack/heat/ |
44 |
+ https://pypi.org/project/openstack-heat/ |
45 |
+" |
46 |
+SRC_URI="https://tarballs.openstack.org/${PN}/openstack-${MYP}.tar.gz" |
47 |
+KEYWORDS="~amd64" |
48 |
+S="${WORKDIR}/openstack-${MYP}" |
49 |
+ |
50 |
+LICENSE="Apache-2.0 GPL-2" |
51 |
+SLOT="0" |
52 |
+IUSE="+mysql +memcached postgres sqlite" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/croniter-0.3.4[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/cryptography-2.5[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/debtcollector-1.19.0[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/eventlet-0.18.2[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/keystoneauth-3.18.0[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/keystonemiddleware-5.1.0[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/lxml-4.5.0[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/neutron-lib-1.14.0[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/openstacksdk-0.28.0[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/oslo-config-6.8.0[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/oslo-context-2.22.0[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/oslo-db-6.0.0[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/oslo-i18n-3.20.0[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/oslo-log-4.3.0[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] |
76 |
+ >=dev-python/oslo-policy-3.7.0[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/oslo-serialization-2.25.0[${PYTHON_USEDEP}] |
79 |
+ >=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/oslo-upgradecheck-1.3.0[${PYTHON_USEDEP}] |
81 |
+ >=dev-python/oslo-utils-4.5.0[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
83 |
+ >=dev-python/oslo-versionedobjects-1.31.2[${PYTHON_USEDEP}] |
84 |
+ >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/aodhclient-0.9.0[${PYTHON_USEDEP}] |
86 |
+ >=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/python-blazarclient-1.0.1[${PYTHON_USEDEP}] |
88 |
+ >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}] |
89 |
+ >=dev-python/python-designateclient-2.7.0[${PYTHON_USEDEP}] |
90 |
+ >=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}] |
91 |
+ >=dev-python/python-heatclient-1.10.0[${PYTHON_USEDEP}] |
92 |
+ >=dev-python/python-ironicclient-2.8.0[${PYTHON_USEDEP}] |
93 |
+ >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] |
94 |
+ >=dev-python/python-magnumclient-2.3.0[${PYTHON_USEDEP}] |
95 |
+ >=dev-python/python-manilaclient-1.16.0[${PYTHON_USEDEP}] |
96 |
+ >=dev-python/python-mistralclient-3.1.0[${PYTHON_USEDEP}] |
97 |
+ >=dev-python/python-monascaclient-1.12.0[${PYTHON_USEDEP}] |
98 |
+ >=dev-python/python-neutronclient-6.14.0[${PYTHON_USEDEP}] |
99 |
+ >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}] |
100 |
+ >=dev-python/python-octaviaclient-1.8.0[${PYTHON_USEDEP}] |
101 |
+ >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}] |
102 |
+ >=dev-python/python-saharaclient-1.4.0[${PYTHON_USEDEP}] |
103 |
+ >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}] |
104 |
+ >=dev-python/python-troveclient-2.2.0[${PYTHON_USEDEP}] |
105 |
+ >=dev-python/python-vitrageclient-2.7.0[${PYTHON_USEDEP}] |
106 |
+ >=dev-python/python-zaqarclient-1.3.0[${PYTHON_USEDEP}] |
107 |
+ >=dev-python/python-zunclient-3.4.0[${PYTHON_USEDEP}] |
108 |
+ >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
109 |
+ >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] |
110 |
+ >=dev-python/requests-2.23.0[${PYTHON_USEDEP}] |
111 |
+ >=dev-python/tenacity-6.1.0[${PYTHON_USEDEP}] |
112 |
+ >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] |
113 |
+ >=dev-python/sqlalchemy-migrate-0.13.0[${PYTHON_USEDEP}] |
114 |
+ >=dev-python/stevedore-3.1.0[${PYTHON_USEDEP}] |
115 |
+ >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] |
116 |
+ >=dev-python/yaql-1.1.3[${PYTHON_USEDEP}] |
117 |
+ |
118 |
+ mysql? ( |
119 |
+ >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
120 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
121 |
+ ) |
122 |
+ postgres? ( |
123 |
+ >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] |
124 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
125 |
+ ) |
126 |
+ sqlite? ( |
127 |
+ >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
128 |
+ ) |
129 |
+ |
130 |
+ acct-user/heat |
131 |
+ acct-group/heat |
132 |
+" |
133 |
+DEPEND=" |
134 |
+ ${RDEPEND} |
135 |
+ app-admin/sudo |
136 |
+" |
137 |
+BDEPEND=" |
138 |
+ test? ( |
139 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
140 |
+ >=dev-python/kombu-5.0.1[${PYTHON_USEDEP}] |
141 |
+ >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] |
142 |
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
143 |
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] |
144 |
+ >=dev-python/testresources-2.0.0[${PYTHON_USEDEP}] |
145 |
+ >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}] |
146 |
+ >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] |
147 |
+ ) |
148 |
+" |
149 |
+ |
150 |
+REQUIRED_USE=" |
151 |
+ test? ( mysql ) |
152 |
+ || ( mysql postgres sqlite ) |
153 |
+" |
154 |
+ |
155 |
+distutils_enable_tests pytest |
156 |
+ |
157 |
+python_prepare_all() { |
158 |
+ sed -i '/^hacking/d' test-requirements.txt || die |
159 |
+ distutils-r1_python_prepare_all |
160 |
+} |
161 |
+ |
162 |
+python_compile_all() { |
163 |
+ oslo-config-generator --config-file=config-generator.conf |
164 |
+ oslopolicy-sample-generator --config-file etc/heat/heat-policy-generator.conf |
165 |
+} |
166 |
+ |
167 |
+python_install_all() { |
168 |
+ distutils-r1_python_install_all |
169 |
+ diropts -m 0750 -o heat -g heat |
170 |
+ keepdir /etc/heat |
171 |
+ dodir /etc/heat/environment.d |
172 |
+ dodir /etc/heat/templates |
173 |
+ |
174 |
+ for svc in api api-cfn engine; do |
175 |
+ newinitd "${FILESDIR}/heat.initd" "heat-${svc}" |
176 |
+ done |
177 |
+ |
178 |
+ insinto /etc/heat |
179 |
+ insopts -m 0640 -o heat -g heat |
180 |
+ doins heat.conf.sample |
181 |
+ doins etc/heat/policy.yaml.sample |
182 |
+ doins "etc/heat/api-paste.ini" |
183 |
+ insinto /etc/heat/templates |
184 |
+ doins "etc/heat/templates/"* |
185 |
+ insinto /etc/heat/environment.d |
186 |
+ doins "etc/heat/environment.d/default.yaml" |
187 |
+ |
188 |
+ dodir /var/log/heat |
189 |
+ fowners heat:heat /var/log/heat |
190 |
+ keepdir /var/log/heat |
191 |
+ |
192 |
+ systemd_dounit "${FILESDIR}/heat-engine.service" |
193 |
+ systemd_dounit "${FILESDIR}/heat-api.service" |
194 |
+ |
195 |
+ insinto /etc/logrotate.d |
196 |
+ doins "${FILESDIR}/heat.logrotate" |
197 |
+ |
198 |
+ rm -r "${ED}/usr/etc" |
199 |
+} |