commit:     9686ff9b3c3e09c8c8504ae2a9fa6f8afba0e8c8
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 30 04:55:51 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Nov 30 05:18:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9686ff9b

sys-cluster/cinder: use pkg_pretend for module checking, use python_install_all

Package-Manager: portage-2.3.0

 sys-cluster/cinder/cinder-2016.2.9999.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/cinder/cinder-2016.2.9999.ebuild 
b/sys-cluster/cinder/cinder-2016.2.9999.ebuild
index 39ffd30..7332681 100644
--- a/sys-cluster/cinder/cinder-2016.2.9999.ebuild
+++ b/sys-cluster/cinder/cinder-2016.2.9999.ebuild
@@ -124,7 +124,7 @@ RDEPEND="
 #PATCHES=(
 #)
 
-pkg_setup() {
+pkg_pretend() {
        linux-info_pkg_setup
        CONFIG_CHECK_MODULES=""
        if use tcp; then
@@ -141,6 +141,9 @@ pkg_setup() {
                        linux_chkconfig_present ${module} || ewarn "${module} 
needs to be enabled"
                done
        fi
+}
+
+pkg_setup() {
        enewgroup cinder
        enewuser cinder -1 -1 /var/lib/cinder cinder
 }
@@ -155,8 +158,8 @@ python_test() {
        nosetests -I test_wsgi.py cinder/tests/ || die "tests failed under 
python2.7"
 }
 
-python_install() {
-       distutils-r1_python_install
+python_install_all() {
+       distutils-r1_python_install_all
        keepdir /etc/cinder
        dodir /etc/cinder/rootwrap.d
 

Reply via email to