From 9686ff9b3c3e09c8c8504ae2a9fa6f8afba0e8c8 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Tue, 29 Nov 2016 22:55:51 -0600 Subject: 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(-) (limited to 'sys-cluster') diff --git a/sys-cluster/cinder/cinder-2016.2.9999.ebuild b/sys-cluster/cinder/cinder-2016.2.9999.ebuild index 39ffd3083c53..7332681e78d7 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 -- cgit v1.2.3-65-gdbad