Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/cinder/
Date: Wed, 30 Nov 2016 05:19:05
Message-Id: 1480483090.9686ff9b3c3e09c8c8504ae2a9fa6f8afba0e8c8.prometheanfire@gentoo
1 commit: 9686ff9b3c3e09c8c8504ae2a9fa6f8afba0e8c8
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 30 04:55:51 2016 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 30 05:18:10 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9686ff9b
7
8 sys-cluster/cinder: use pkg_pretend for module checking, use python_install_all
9
10 Package-Manager: portage-2.3.0
11
12 sys-cluster/cinder/cinder-2016.2.9999.ebuild | 9 ++++++---
13 1 file changed, 6 insertions(+), 3 deletions(-)
14
15 diff --git a/sys-cluster/cinder/cinder-2016.2.9999.ebuild b/sys-cluster/cinder/cinder-2016.2.9999.ebuild
16 index 39ffd30..7332681 100644
17 --- a/sys-cluster/cinder/cinder-2016.2.9999.ebuild
18 +++ b/sys-cluster/cinder/cinder-2016.2.9999.ebuild
19 @@ -124,7 +124,7 @@ RDEPEND="
20 #PATCHES=(
21 #)
22
23 -pkg_setup() {
24 +pkg_pretend() {
25 linux-info_pkg_setup
26 CONFIG_CHECK_MODULES=""
27 if use tcp; then
28 @@ -141,6 +141,9 @@ pkg_setup() {
29 linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled"
30 done
31 fi
32 +}
33 +
34 +pkg_setup() {
35 enewgroup cinder
36 enewuser cinder -1 -1 /var/lib/cinder cinder
37 }
38 @@ -155,8 +158,8 @@ python_test() {
39 nosetests -I test_wsgi.py cinder/tests/ || die "tests failed under python2.7"
40 }
41
42 -python_install() {
43 - distutils-r1_python_install
44 +python_install_all() {
45 + distutils-r1_python_install_all
46 keepdir /etc/cinder
47 dodir /etc/cinder/rootwrap.d