1 |
commit: c4237528a8195e175471b42e29ae36213b23fecf |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 21:52:14 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 21:52:14 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4237528 |
7 |
|
8 |
sys-cluster/heat: bup |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
sys-cluster/heat/Manifest | 1 + |
13 |
sys-cluster/heat/heat-7.0.2.ebuild | 152 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 153 insertions(+) |
15 |
|
16 |
diff --git a/sys-cluster/heat/Manifest b/sys-cluster/heat/Manifest |
17 |
index 186a522..fe38024 100644 |
18 |
--- a/sys-cluster/heat/Manifest |
19 |
+++ b/sys-cluster/heat/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST heat-7.0.1.tar.gz 2247183 SHA256 215637bf3643ac5a39fb2594559d871e8e3996a8bd80e9677b724a9ba58427b2 SHA512 bc5fdb2ad5298bae41bfa4ea369748543e0d644fdf0c0c9ac1d2d55e25eb6db634cfde31abbe2d1207f17a98339cbf60efd95b6a760aaa7e2381f2baf7ae6955 WHIRLPOOL 1875ab1f2d6a4306ad0b49631b5b2012c2a3795f94e94266f64efc5fa63c7358ab0b5f21b5db4933759255e515a7476efec388c6efe83a7fc9ef58388bc05242 |
22 |
+DIST heat-7.0.2.tar.gz 2257003 SHA256 5fb78bdb8859e3f037ffe11180b9a526830e8ce56a294bbb2dc79b638b7c99da SHA512 0655b8e264bbfa227405759d28d74c9f71eefb8d2abce3f75d3a72fd0d927c114a5bb4658e73c553302632a086af34faa1e37f5bbef1b84f3564ca3fbac624e7 WHIRLPOOL d1e3806534ad5d2930cd7b135ee78200b1d43f937cfcc3c3864263c6da8d0271476450f86b0ea2b84461a05ee794a3a1f3ed08086db9f0c1d1ed9d4f05a37db3 |
23 |
|
24 |
diff --git a/sys-cluster/heat/heat-7.0.2.ebuild b/sys-cluster/heat/heat-7.0.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..a6dec5c |
27 |
--- /dev/null |
28 |
+++ b/sys-cluster/heat/heat-7.0.2.ebuild |
29 |
@@ -0,0 +1,152 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+PYTHON_COMPAT=( python2_7 python3_4 ) |
36 |
+ |
37 |
+inherit distutils-r1 eutils user |
38 |
+ |
39 |
+DESCRIPTION="A CloudFormation-compatible openstack-native cloud orchistration engine." |
40 |
+HOMEPAGE="https://launchpad.net/heat" |
41 |
+SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
46 |
+IUSE="+mysql +memcached postgres sqlite" |
47 |
+REQUIRED_USE="|| ( mysql postgres sqlite )" |
48 |
+ |
49 |
+CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]" |
50 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
51 |
+ ${CDEPEND} |
52 |
+ app-admin/sudo" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ ${CDEPEND} |
56 |
+ >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/croniter-0.3.4[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/cryptography-1.0.0[${PYTHON_USEDEP}] |
59 |
+ !~dev-python/cryptography-1.3.0[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/keystoneauth-2.10.0[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/keystonemiddleware-4.0.0[${PYTHON_USEDEP}] |
65 |
+ !~dev-python/keystonemiddleware-4.1.0[${PYTHON_USEDEP}] |
66 |
+ !~dev-python/keystonemiddleware-4.5.0[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/netaddr-0.7.13[${PYTHON_USEDEP}] |
69 |
+ !~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/oslo-cache-1.5.0[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/oslo-concurrency-3.8.0[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/oslo-context-2.9.0[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/oslo-db-4.10.0[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/oslo-db-4.13.1[${PYTHON_USEDEP}] |
76 |
+ >=dev-python/oslo-db-4.13.2[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/oslo-log-1.14.0[${PYTHON_USEDEP}] |
79 |
+ >=dev-python/oslo-messaging-5.2.0[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/oslo-middleware-3.0.0[${PYTHON_USEDEP}] |
81 |
+ >=dev-python/oslo-policy-1.9.0[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/oslo-reports-0.6.0[${PYTHON_USEDEP}] |
83 |
+ >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] |
84 |
+ >=dev-python/oslo-service-1.10.0[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/oslo-utils-3.16.0[${PYTHON_USEDEP}] |
86 |
+ >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/oslo-versionedobjects-1.13.0[${PYTHON_USEDEP}] |
88 |
+ >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
89 |
+ >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] |
90 |
+ >=dev-python/aodhclient-0.5.0[${PYTHON_USEDEP}] |
91 |
+ >=dev-python/python-barbicanclient-4.0.0[${PYTHON_USEDEP}] |
92 |
+ >=dev-python/python-ceilometerclient-2.5.0[${PYTHON_USEDEP}] |
93 |
+ >=dev-python/python-cinderclient-1.6.0[${PYTHON_USEDEP}] |
94 |
+ !~dev-python/python-cinderclient-1.7.0[${PYTHON_USEDEP}] |
95 |
+ !~dev-python/python-cinderclient-1.7.1[${PYTHON_USEDEP}] |
96 |
+ >=dev-python/python-designateclient-1.5.0[${PYTHON_USEDEP}] |
97 |
+ >=dev-python/python-glanceclient-2.3.0[${PYTHON_USEDEP}] |
98 |
+ !~dev-python/python-glanceclient-2.4.0[${PYTHON_USEDEP}] |
99 |
+ >=dev-python/python-heatclient-1.4.0[${PYTHON_USEDEP}] |
100 |
+ >=dev-python/python-keystoneclient-2.0.0[${PYTHON_USEDEP}] |
101 |
+ !~dev-python/python-keystoneclient-2.1.0[${PYTHON_USEDEP}] |
102 |
+ >=dev-python/python-magnumclient-2.0.0[${PYTHON_USEDEP}] |
103 |
+ >=dev-python/python-manilaclient-1.10.0[${PYTHON_USEDEP}] |
104 |
+ >=dev-python/python-mistralclient-2.0.0[${PYTHON_USEDEP}] |
105 |
+ >=dev-python/python-monascaclient-1.1.0[${PYTHON_USEDEP}] |
106 |
+ >=dev-python/python-neutronclient-5.1.0[${PYTHON_USEDEP}] |
107 |
+ >=dev-python/python-novaclient-2.29.0[${PYTHON_USEDEP}] |
108 |
+ !~dev-python/python-novaclient-2.33.0[${PYTHON_USEDEP}] |
109 |
+ >=dev-python/python-openstackclient-2.1.0[${PYTHON_USEDEP}] |
110 |
+ >=dev-python/python-senlinclient-0.3.0[${PYTHON_USEDEP}] |
111 |
+ >=dev-python/python-swiftclient-2.2.0[${PYTHON_USEDEP}] |
112 |
+ >=dev-python/python-troveclient-2.2.0[${PYTHON_USEDEP}] |
113 |
+ >=dev-python/python-zaqarclient-1.0.0[${PYTHON_USEDEP}] |
114 |
+ >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
115 |
+ >=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}] |
116 |
+ >=dev-python/requests-2.10.0[${PYTHON_USEDEP}] |
117 |
+ >=dev-python/retrying-1.2.3[${PYTHON_USEDEP}] |
118 |
+ !~dev-python/retrying-1.3.0[${PYTHON_USEDEP}] |
119 |
+ >=dev-python/routes-1.12.3[${PYTHON_USEDEP}] |
120 |
+ !~dev-python/routes-2.0[${PYTHON_USEDEP}] |
121 |
+ !~dev-python/routes-2.1[$(python_gen_usedep 'python2_7')] |
122 |
+ !~dev-python/routes-2.3[${PYTHON_USEDEP}] |
123 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
124 |
+ sqlite? ( |
125 |
+ >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
126 |
+ <dev-python/sqlalchemy-1.1.0[sqlite,${PYTHON_USEDEP}] |
127 |
+ ) |
128 |
+ mysql? ( |
129 |
+ >=dev-python/pymysql-0.6.2[${PYTHON_USEDEP}] |
130 |
+ !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
131 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
132 |
+ <dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
133 |
+ ) |
134 |
+ postgres? ( |
135 |
+ >=dev-python/psycopg-2.5.0 |
136 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
137 |
+ <dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
138 |
+ ) |
139 |
+ >=dev-python/sqlalchemy-migrate-0.9.6[${PYTHON_USEDEP}] |
140 |
+ >=dev-python/stevedore-1.16.0[${PYTHON_USEDEP}] |
141 |
+ |
142 |
+ >=dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}] |
143 |
+ >=dev-python/yaql-1.1.0[${PYTHON_USEDEP}]" |
144 |
+ |
145 |
+PATCHES=( |
146 |
+) |
147 |
+ |
148 |
+pkg_setup() { |
149 |
+ enewgroup heat |
150 |
+ enewuser heat -1 -1 /var/lib/heat heat |
151 |
+} |
152 |
+ |
153 |
+python_prepare_all() { |
154 |
+ sed -i '/^hacking/d' test-requirements.txt || die |
155 |
+ distutils-r1_python_prepare_all |
156 |
+} |
157 |
+ |
158 |
+python_install() { |
159 |
+ distutils-r1_python_install |
160 |
+ diropts -m0750 -o heat -g heat |
161 |
+ keepdir /etc/heat |
162 |
+ dodir /etc/heat/environment.d |
163 |
+ dodir /etc/heat/templates |
164 |
+ |
165 |
+ for svc in api api-cfn engine; do |
166 |
+ newinitd "${FILESDIR}/heat.initd" heat-${svc} |
167 |
+ done |
168 |
+ |
169 |
+ insinto /etc/heat |
170 |
+ insopts -m0640 -o heat -g heat |
171 |
+ newins "${FILESDIR}/newton-heat.conf.sample" "heat.conf.sample" |
172 |
+ doins "etc/heat/api-paste.ini" |
173 |
+ doins "etc/heat/policy.json" |
174 |
+ insinto /etc/heat/templates |
175 |
+ doins "etc/heat/templates/"* |
176 |
+ insinto /etc/heat/environment.d |
177 |
+ doins "etc/heat/environment.d/default.yaml" |
178 |
+ |
179 |
+ dodir /var/log/heat |
180 |
+ fowners heat:heat /var/log/heat |
181 |
+} |