From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 79C811395E4 for ; Wed, 30 Nov 2016 05:19:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F0DFE0B7D; Wed, 30 Nov 2016 05:19:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 17880E0B71 for ; Wed, 30 Nov 2016 05:19:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34898341597 for ; Wed, 30 Nov 2016 05:19:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 25D4E49C for ; Wed, 30 Nov 2016 05:18:59 +0000 (UTC) From: "Matt Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Thode" Message-ID: <1480483090.9686ff9b3c3e09c8c8504ae2a9fa6f8afba0e8c8.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/cinder/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/cinder/cinder-2016.2.9999.ebuild X-VCS-Directories: sys-cluster/cinder/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matt Thode X-VCS-Revision: 9686ff9b3c3e09c8c8504ae2a9fa6f8afba0e8c8 X-VCS-Branch: master Date: Wed, 30 Nov 2016 05:18:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c2213979-675d-45e0-bb05-5baaef3d2175 X-Archives-Hash: b73dfdb559042ed03128cd3bdd9cf629 commit: 9686ff9b3c3e09c8c8504ae2a9fa6f8afba0e8c8 Author: Matthew Thode gentoo org> AuthorDate: Wed Nov 30 04:55:51 2016 +0000 Commit: Matt Thode gentoo 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