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.1.5.ebuild ChangeLog cinder-2013.1.4.ebuild
Date: Sun, 23 Mar 2014 20:23:59
Message-Id: 20140323202355.8822B20051@flycatcher.gentoo.org
1 prometheanfire 14/03/23 20:23:55
2
3 Modified: ChangeLog
4 Added: cinder-2013.1.5.ebuild
5 Removed: cinder-2013.1.4.ebuild
6 Log:
7 updating cinder
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
10
11 Revision Changes Path
12 1.30 sys-cluster/cinder/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/ChangeLog?rev=1.30&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/ChangeLog?rev=1.30&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/ChangeLog?r1=1.29&r2=1.30
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/cinder/ChangeLog,v
21 retrieving revision 1.29
22 retrieving revision 1.30
23 diff -u -r1.29 -r1.30
24 --- ChangeLog 24 Feb 2014 07:04:24 -0000 1.29
25 +++ ChangeLog 23 Mar 2014 20:23:55 -0000 1.30
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sys-cluster/cinder
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/ChangeLog,v 1.29 2014/02/24 07:04:24 idella4 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/ChangeLog,v 1.30 2014/03/23 20:23:55 prometheanfire Exp $
31 +
32 +*cinder-2013.1.5 (23 Mar 2014)
33 +
34 + 23 Mar 2014; Matthew Thode <prometheanfire@g.o>
35 + +cinder-2013.1.5.ebuild, -cinder-2013.1.4.ebuild:
36 + updating cinder
37
38 24 Feb 2014; Ian Delaney <idella4@g.o> -cinder-2013.2.1.ebuild:
39 rm old 2013.2.1 by request of maintainer
40
41
42
43 1.1 sys-cluster/cinder/cinder-2013.1.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/cinder-2013.1.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/cinder-2013.1.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: cinder-2013.1.5.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-2013.1.5.ebuild,v 1.1 2014/03/23 20:23:55 prometheanfire Exp $
53
54 EAPI=5
55 PYTHON_COMPAT=( python2_7 )
56
57 inherit distutils-r1 eutils user
58
59 DESCRIPTION="Cinder is the OpenStack Block storage service. This is a spin out
60 of nova-volumes."
61 HOMEPAGE="https://launchpad.net/cinder"
62 SRC_URI="http://launchpad.net/${PN}/grizzly/${PV}/+download/${P}.tar.gz"
63
64 LICENSE="Apache-2.0"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="+api +scheduler +volume mysql postgres sqlite"
68 REQUIRED_USE="|| ( mysql postgres sqlite )"
69
70 #sudo is a build dep because I want the sudoers.d directory to exist, lazy.
71 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
72 app-admin/sudo"
73
74 RDEPEND="~dev-python/amqplib-0.6.1[${PYTHON_USEDEP}]
75 >=dev-python/anyjson-0.2.4[${PYTHON_USEDEP}]
76 >=dev-python/eventlet-0.9.17[${PYTHON_USEDEP}]
77 >=dev-python/kombu-1.0.4[${PYTHON_USEDEP}]
78 >=dev-python/lockfile-0.8[${PYTHON_USEDEP}]
79 >=dev-python/lxml-2.3[${PYTHON_USEDEP}]
80 >=dev-python/routes-1.12.3[${PYTHON_USEDEP}]
81 ~dev-python/webob-1.2.3[${PYTHON_USEDEP}]
82 >=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}]
83 >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
84 dev-python/paste[${PYTHON_USEDEP}]
85 sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
86 <dev-python/sqlalchemy-0.7.10[sqlite,${PYTHON_USEDEP}] )
87 mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
88 <dev-python/sqlalchemy-0.7.10[mysql,${PYTHON_USEDEP}] )
89 postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
90 <dev-python/sqlalchemy-0.7.10[postgres,${PYTHON_USEDEP}] )
91 >=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}]
92 >=dev-python/stevedore-0.8[${PYTHON_USEDEP}]
93 >=dev-python/suds-0.4[${PYTHON_USEDEP}]
94 dev-python/paramiko[${PYTHON_USEDEP}]
95 >=dev-python/Babel-0.9.6[${PYTHON_USEDEP}]
96 >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}]
97 >=dev-python/setuptools-git-0.4[${PYTHON_USEDEP}]
98 >=dev-python/python-glanceclient-0.5.0[${PYTHON_USEDEP}]
99 <dev-python/python-glanceclient-2[${PYTHON_USEDEP}]
100 >=dev-python/python-keystoneclient-0.2.0[${PYTHON_USEDEP}]
101 dev-python/python-swiftclient[${PYTHON_USEDEP}]
102 >=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}]
103 <dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}]
104 virtual/python-argparse[${PYTHON_USEDEP}]
105 >=sys-block/iscsitarget-1.4.20.2_p20130821
106 sys-fs/lvm2
107 sys-block/open-iscsi
108 sys-fs/sysfsutils"
109
110 PATCHES=( )
111
112 pkg_setup() {
113 enewgroup cinder
114 enewuser cinder -1 -1 /var/lib/cinder cinder
115 }
116
117 src_prepare() {
118 sed -i 's/setuptools_git>=0.4//g' "${S}/setup.py"
119 }
120
121 python_install() {
122 distutils-r1_python_install
123 keepdir /etc/cinder
124 dodir /etc/cinder/rootwrap.d
125 newinitd "${FILESDIR}/cinder-init" "cinder"
126 newconfd "${FILESDIR}/cinder-confd" "cinder"
127 use api && dosym /etc/init.d/cinder /etc/init.d/cinder-api
128 use scheduler && dosym /etc/init.d/cinder /etc/init.d/cinder-scheduler
129 use volume && dosym /etc/init.d/cinder /etc/init.d/cinder-volume
130
131 insinto /etc/cinder
132 newins "${S}/etc/cinder/cinder.conf.sample" "cinder.conf"
133 newins "${S}/etc/cinder/api-paste.ini" "api-paste.ini"
134 newins "${S}/etc/cinder/logging_sample.conf" "logging_sample.conf"
135 newins "${S}/etc/cinder/policy.json" "policy.json"
136 newins "${S}/etc/cinder/rootwrap.conf" "rootwrap.conf"
137 insinto /etc/cinder/rootwrap.d
138 newins "${S}/etc/cinder/rootwrap.d/volume.filters" "volume.filters"
139
140 #add sudoers definitions for user nova
141 insinto /etc/sudoers.d/
142 doins "${FILESDIR}/cinder-sudoers"
143 dodir /var/log/cinder
144 fowners cinder:cinder /var/log/cinder
145 }