1 |
commit: 0c22a7d671c78bacb6be074651eada751673cdb3 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 6 18:27:21 2016 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 6 18:27:21 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c22a7d6 |
7 |
|
8 |
sys-cluster/heat: NEWTON :D |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
sys-cluster/heat/Manifest | 1 + |
13 |
sys-cluster/heat/heat-7.0.0.ebuild | 151 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 152 insertions(+) |
15 |
|
16 |
diff --git a/sys-cluster/heat/Manifest b/sys-cluster/heat/Manifest |
17 |
new file mode 100644 |
18 |
index 00000000..be6b248 |
19 |
--- /dev/null |
20 |
+++ b/sys-cluster/heat/Manifest |
21 |
@@ -0,0 +1 @@ |
22 |
+DIST heat-7.0.0.tar.gz 2269393 SHA256 16db746d540cee87170ec1fa6fdca945b6d2ead91b39e59f4d2d4a4c1d69e2db SHA512 23026d56e871bb8d86b0020678c4a0233ec63d4b16d338e089f4e594f1814d8581c5c46f3035993934711e34beccc18acb350e85e98675f52aba6e194f3de3fc WHIRLPOOL 08c87c89597c3f92ccc8cb96888f53b27ac44a46b245ab5b993c96b34446330df76dc098f26ab5dcd2d46970052315ead7b93ad3a44855a4f17f46d694a624d8 |
23 |
|
24 |
diff --git a/sys-cluster/heat/heat-7.0.0.ebuild b/sys-cluster/heat/heat-7.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..9fccc60 |
27 |
--- /dev/null |
28 |
+++ b/sys-cluster/heat/heat-7.0.0.ebuild |
29 |
@@ -0,0 +1,151 @@ |
30 |
+# Copyright 1999-2016 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 |
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 |
+ keepdir /etc/heat |
161 |
+ dodir /etc/heat/environment.d |
162 |
+ dodir /etc/heat/templates |
163 |
+ |
164 |
+ for svc in api api-cfn engine; do |
165 |
+ newinitd "${FILESDIR}/heat.initd" heat-${svc} |
166 |
+ done |
167 |
+ |
168 |
+ insinto /etc/heat |
169 |
+ insopts -m0640 -o heat -g heat |
170 |
+ newins "${FILESDIR}/newton-heat.conf.sample" "heat.conf.sample" |
171 |
+ doins "etc/heat/api-paste.ini" |
172 |
+ doins "etc/heat/policy.json" |
173 |
+ insinto /etc/heat/templates |
174 |
+ doins "etc/heat/templates/"* |
175 |
+ insinto /etc/heat/environment.d |
176 |
+ doins "etc/heat/environment.d/default.yaml" |
177 |
+ |
178 |
+ dodir /var/log/heat |
179 |
+ fowners heat:heat /var/log/heat |
180 |
+} |