sys-cluster/cinder: use pkg_pretend for module checking, use python_install_all
authorMatthew Thode <prometheanfire@gentoo.org>
Wed, 30 Nov 2016 04:55:51 +0000 (22:55 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Wed, 30 Nov 2016 05:18:10 +0000 (23:18 -0600)
Package-Manager: portage-2.3.0

sys-cluster/cinder/cinder-2016.2.9999.ebuild

index 39ffd3083c537860658ec4cabcd2d1d868ca8401..7332681e78d752bd4a500c2d0b40fa8191b4516e 100644 (file)
@@ -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