Gentoo Archives: gentoo-commits

From: "Matt Thode (prometheanfire)" <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/cinder: cinder-2013.2.ebuild cinder-2013.1.4.ebuild ChangeLog cinder-2013.1.3-r4.ebuild
Date: Tue, 29 Oct 2013 06:07:21
Message-Id: 20131029060713.67F1C20047@flycatcher.gentoo.org
1 prometheanfire 13/10/29 06:07:13
2
3 Modified: ChangeLog
4 Added: cinder-2013.2.ebuild cinder-2013.1.4.ebuild
5 Removed: cinder-2013.1.3-r4.ebuild
6 Log:
7 new cinder packages
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
10
11 Revision Changes Path
12 1.22 sys-cluster/cinder/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/ChangeLog?rev=1.22&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/ChangeLog?rev=1.22&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/ChangeLog?r1=1.21&r2=1.22
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/cinder/ChangeLog,v
21 retrieving revision 1.21
22 retrieving revision 1.22
23 diff -u -r1.21 -r1.22
24 --- ChangeLog 23 Oct 2013 02:30:59 -0000 1.21
25 +++ ChangeLog 29 Oct 2013 06:07:13 -0000 1.22
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sys-cluster/cinder
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/ChangeLog,v 1.21 2013/10/23 02:30:59 prometheanfire Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/ChangeLog,v 1.22 2013/10/29 06:07:13 prometheanfire Exp $
31 +
32 +*cinder-2013.1.4 (29 Oct 2013)
33 +*cinder-2013.2 (29 Oct 2013)
34 +
35 + 29 Oct 2013; Matthew Thode <prometheanfire@g.o>
36 + +cinder-2013.1.4.ebuild, +cinder-2013.2.ebuild, -cinder-2013.1.3-r4.ebuild:
37 + new cinder packages
38
39 *cinder-2013.2.9999 (23 Oct 2013)
40
41
42
43
44 1.1 sys-cluster/cinder/cinder-2013.2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/cinder-2013.2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/cinder-2013.2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: cinder-2013.2.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-2013.2.ebuild,v 1.1 2013/10/29 06:07:13 prometheanfire Exp $
54
55 EAPI=5
56 PYTHON_COMPAT=( python2_7 )
57
58 inherit distutils-r1 eutils
59
60 DESCRIPTION="Cinder is the OpenStack Block storage service. This is a spin out
61 of nova-volumes."
62 HOMEPAGE="https://launchpad.net/cinder"
63 SRC_URI="http://launchpad.net/${PN}/havana/${PV}/+download/${P}.tar.gz"
64
65 LICENSE="Apache-2.0"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="+api +scheduler +volume mysql postgres sqlite"
69 REQUIRED_USE="|| ( mysql postgres sqlite )"
70
71 #sudo is a build dep because I want the sudoers.d directory to exist, lazy.
72 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
73 >=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
74 <dev-python/pbr-1.0[${PYTHON_USEDEP}]
75 app-admin/sudo"
76
77 RDEPEND="=dev-python/amqplib-0.6.1-r1[${PYTHON_USEDEP}]
78 >=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
79 virtual/python-argparse[${PYTHON_USEDEP}]
80 >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
81 >=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}]
82 >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}]
83 >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}]
84 >=dev-python/kombu-2.4.8[${PYTHON_USEDEP}]
85 >=dev-python/lockfile-0.8[${PYTHON_USEDEP}]
86 >=dev-python/lxml-2.3[${PYTHON_USEDEP}]
87 dev-python/netaddr[${PYTHON_USEDEP}]
88 >=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}]
89 >=dev-python/paramiko-1.8.0[${PYTHON_USEDEP}]
90 dev-python/paste[${PYTHON_USEDEP}]
91 >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
92 >=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}]
93 >=dev-python/python-keystoneclient-0.3.0[${PYTHON_USEDEP}]
94 >=dev-python/python-novaclient-2.15.0[${PYTHON_USEDEP}]
95 >=dev-python/python-swiftclient-1.5[${PYTHON_USEDEP}]
96 >=dev-python/routes-1.12.3[${PYTHON_USEDEP}]
97 dev-python/six[${PYTHON_USEDEP}]
98 sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
99 <dev-python/sqlalchemy-0.7.99[sqlite,${PYTHON_USEDEP}] )
100 mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
101 <dev-python/sqlalchemy-0.7.99[mysql,${PYTHON_USEDEP}] )
102 postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
103 <dev-python/sqlalchemy-0.7.99[postgres,${PYTHON_USEDEP}] )
104 >=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}]
105 >=dev-python/stevedore-0.10[${PYTHON_USEDEP}]
106 >=dev-python/suds-0.4[${PYTHON_USEDEP}]
107 >=dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}]
108 <dev-python/webob-1.3[${PYTHON_USEDEP}]
109 >=sys-block/iscsitarget-1.4.20.2_p20130821
110 sys-fs/lvm2
111 sys-block/open-iscsi"
112
113 PATCHES=( )
114
115 pkg_setup() {
116 enewgroup cinder
117 enewuser cinder -1 -1 /var/lib/cinder cinder
118 }
119
120 python_install() {
121 distutils-r1_python_install
122 keepdir /etc/cinder
123 dodir /etc/cinder/rootwrap.d
124 newinitd "${FILESDIR}/cinder-init" "cinder"
125 newconfd "${FILESDIR}/cinder-confd" "cinder"
126 use api && dosym /etc/init.d/cinder /etc/init.d/cinder-api
127 use scheduler && dosym /etc/init.d/cinder /etc/init.d/cinder-scheduler
128 use volume && dosym /etc/init.d/cinder /etc/init.d/cinder-volume
129
130 insinto /etc/cinder
131 newins "${S}/etc/cinder/cinder.conf.sample" "cinder.conf"
132 newins "${S}/etc/cinder/api-paste.ini" "api-paste.ini"
133 newins "${S}/etc/cinder/logging_sample.conf" "logging_sample.conf"
134 newins "${S}/etc/cinder/policy.json" "policy.json"
135 newins "${S}/etc/cinder/rootwrap.conf" "rootwrap.conf"
136 insinto /etc/cinder/rootwrap.d
137 newins "${S}/etc/cinder/rootwrap.d/volume.filters" "volume.filters"
138
139 #add sudoers definitions for user nova
140 insinto /etc/sudoers.d/
141 doins "${FILESDIR}/cinder-sudoers"
142 dodir /var/log/cinder
143 fowners cinder:cinder /var/log/cinder
144 }
145
146
147
148 1.1 sys-cluster/cinder/cinder-2013.1.4.ebuild
149
150 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/cinder-2013.1.4.ebuild?rev=1.1&view=markup
151 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/cinder-2013.1.4.ebuild?rev=1.1&content-type=text/plain
152
153 Index: cinder-2013.1.4.ebuild
154 ===================================================================
155 # Copyright 1999-2013 Gentoo Foundation
156 # Distributed under the terms of the GNU General Public License v2
157 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-2013.1.4.ebuild,v 1.1 2013/10/29 06:07:13 prometheanfire Exp $
158
159 EAPI=5
160 PYTHON_COMPAT=( python2_7 )
161
162 inherit distutils-r1 eutils
163
164 DESCRIPTION="Cinder is the OpenStack Block storage service. This is a spin out
165 of nova-volumes."
166 HOMEPAGE="https://launchpad.net/cinder"
167 SRC_URI="http://launchpad.net/${PN}/grizzly/${PV}/+download/${P}.tar.gz"
168
169 LICENSE="Apache-2.0"
170 SLOT="0"
171 KEYWORDS="~amd64 ~x86"
172 IUSE="+api +scheduler +volume mysql postgres sqlite"
173 REQUIRED_USE="|| ( mysql postgres sqlite )"
174
175 #sudo is a build dep because I want the sudoers.d directory to exist, lazy.
176 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
177 app-admin/sudo"
178
179 RDEPEND="~dev-python/amqplib-0.6.1[${PYTHON_USEDEP}]
180 >=dev-python/anyjson-0.2.4[${PYTHON_USEDEP}]
181 >=dev-python/eventlet-0.9.17[${PYTHON_USEDEP}]
182 >=dev-python/kombu-1.0.4[${PYTHON_USEDEP}]
183 >=dev-python/lockfile-0.8[${PYTHON_USEDEP}]
184 >=dev-python/lxml-2.3[${PYTHON_USEDEP}]
185 >=dev-python/routes-1.12.3[${PYTHON_USEDEP}]
186 ~dev-python/webob-1.2.3[${PYTHON_USEDEP}]
187 >=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}]
188 >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
189 dev-python/paste[${PYTHON_USEDEP}]
190 sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
191 <dev-python/sqlalchemy-0.7.10[sqlite,${PYTHON_USEDEP}] )
192 mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
193 <dev-python/sqlalchemy-0.7.10[mysql,${PYTHON_USEDEP}] )
194 postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
195 <dev-python/sqlalchemy-0.7.10[postgres,${PYTHON_USEDEP}] )
196 >=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}]
197 >=dev-python/stevedore-0.8[${PYTHON_USEDEP}]
198 >=dev-python/suds-0.4[${PYTHON_USEDEP}]
199 dev-python/paramiko[${PYTHON_USEDEP}]
200 >=dev-python/Babel-0.9.6[${PYTHON_USEDEP}]
201 >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}]
202 >=dev-python/setuptools-git-0.4[${PYTHON_USEDEP}]
203 >=dev-python/python-glanceclient-0.5.0[${PYTHON_USEDEP}]
204 <dev-python/python-glanceclient-2[${PYTHON_USEDEP}]
205 >=dev-python/python-keystoneclient-0.2.0[${PYTHON_USEDEP}]
206 dev-python/python-swiftclient[${PYTHON_USEDEP}]
207 >=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}]
208 <dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}]
209 virtual/python-argparse[${PYTHON_USEDEP}]
210 >=sys-block/iscsitarget-1.4.20.2_p20130821
211 sys-fs/lvm2
212 sys-block/open-iscsi"
213
214 PATCHES=( )
215
216 pkg_setup() {
217 enewgroup cinder
218 enewuser cinder -1 -1 /var/lib/cinder cinder
219 }
220
221 src_prepare() {
222 sed -i 's/setuptools_git>=0.4//g' "${S}/setup.py"
223 }
224
225 python_install() {
226 distutils-r1_python_install
227 keepdir /etc/cinder
228 dodir /etc/cinder/rootwrap.d
229 newinitd "${FILESDIR}/cinder-init" "cinder"
230 newconfd "${FILESDIR}/cinder-confd" "cinder"
231 use api && dosym /etc/init.d/cinder /etc/init.d/cinder-api
232 use scheduler && dosym /etc/init.d/cinder /etc/init.d/cinder-scheduler
233 use volume && dosym /etc/init.d/cinder /etc/init.d/cinder-volume
234
235 insinto /etc/cinder
236 newins "${S}/etc/cinder/cinder.conf.sample" "cinder.conf"
237 newins "${S}/etc/cinder/api-paste.ini" "api-paste.ini"
238 newins "${S}/etc/cinder/logging_sample.conf" "logging_sample.conf"
239 newins "${S}/etc/cinder/policy.json" "policy.json"
240 newins "${S}/etc/cinder/rootwrap.conf" "rootwrap.conf"
241 insinto /etc/cinder/rootwrap.d
242 newins "${S}/etc/cinder/rootwrap.d/volume.filters" "volume.filters"
243
244 #add sudoers definitions for user nova
245 insinto /etc/sudoers.d/
246 doins "${FILESDIR}/cinder-sudoers"
247 dodir /var/log/cinder
248 fowners cinder:cinder /var/log/cinder
249 }