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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3AE1B15808B for ; Tue, 29 Mar 2022 11:12:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54EB3E01E4; Tue, 29 Mar 2022 11:12:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 36BC2E01E4 for ; Tue, 29 Mar 2022 11:12:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 267D93414D1 for ; Tue, 29 Mar 2022 11:12:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 64F81AF for ; Tue, 29 Mar 2022 11:12:18 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1648543491.a60be1ac093c87d9d710ac9ff09d59dd3424fa52.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nova/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-cluster/nova/Manifest sys-cluster/nova/nova-25.0.0.0_rc1-r1.ebuild sys-cluster/nova/nova-25.0.0.0_rc1.ebuild X-VCS-Directories: sys-cluster/nova/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: a60be1ac093c87d9d710ac9ff09d59dd3424fa52 X-VCS-Branch: master Date: Tue, 29 Mar 2022 11:12:18 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: eb737b2d-5b3a-48bd-96e0-be0a864bfc0e X-Archives-Hash: 6200cee935167fa6cb8cd9d9d5ad497d commit: a60be1ac093c87d9d710ac9ff09d59dd3424fa52 Author: Alessandro Barbieri gmail com> AuthorDate: Tue Mar 29 08:05:09 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Tue Mar 29 08:44:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a60be1ac sys-cluster/nova: delete hacking test generate conf and policy install bashcomp Closes: https://bugs.gentoo.org/836251 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/nova/Manifest | 1 - ....0.0_rc1.ebuild => nova-25.0.0.0_rc1-r1.ebuild} | 26 +++++++++++++--------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/sys-cluster/nova/Manifest b/sys-cluster/nova/Manifest index bcd14c85e..b87883dc5 100644 --- a/sys-cluster/nova/Manifest +++ b/sys-cluster/nova/Manifest @@ -1,2 +1 @@ DIST nova-25.0.0.0rc1.tar.gz 9446116 BLAKE2B e747588076c5bd35bab5cf3d3afca37523ee3e2643d9d18e50243ce8320c71151fabf87ef530dab180b871049cd55e5ee4dec6dc9e3d16a68d99b627870e4f93 SHA512 1c07fb6ce81efebd78a519cf6334f47d4dc08d6d949910f6c38b356f3457e2b2c4df6edb90d0760ac17740df0c0116a75eccf9ac85780757614fba110280d013 -DIST nova.conf.sample-25.0.0.0_rc1 187107 BLAKE2B e577126b67f2cc1aa6597f89b1632007f726ad85875d5f27041d0f9ac88923b944fe7f45ae2b3332157713b5f93034dad4da2860917b025649a52d7d71986612 SHA512 4149f8f19a573e8717f521183ba330853742bb6731f0e9ef02842d3be1c188ea3a2cdbeb6043086869360b9b1174a17e221c4ad1f543f74220c46cf31b1ca970 diff --git a/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild b/sys-cluster/nova/nova-25.0.0.0_rc1-r1.ebuild similarity index 93% rename from sys-cluster/nova/nova-25.0.0.0_rc1.ebuild rename to sys-cluster/nova/nova-25.0.0.0_rc1-r1.ebuild index b492cfa2a..e78562284 100644 --- a/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild +++ b/sys-cluster/nova/nova-25.0.0.0_rc1-r1.ebuild @@ -3,11 +3,10 @@ EAPI=8 -EPYTEST_DESELECT=( nova/tests/unit/test_hacking.py ) MYP="${P//_/}" PYTHON_COMPAT=( python3_{8..9} ) -inherit distutils-r1 linux-info udev +inherit bash-completion-r1 distutils-r1 linux-info udev DESCRIPTION="Cloud computing fabric controller" HOMEPAGE=" @@ -15,14 +14,11 @@ HOMEPAGE=" https://opendev.org/openstack/nova https://pypi.org/project/nova/ " -SRC_URI=" - https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/victoria/nova.conf.sample -> nova.conf.sample-${PV} - https://tarballs.openstack.org/${PN}/${MYP}.tar.gz -" +SRC_URI="https://tarballs.openstack.org/${PN}/${MYP}.tar.gz" S="${WORKDIR}/${MYP}" KEYWORDS="~amd64" -LICENSE="Apache-2.0" +LICENSE="Apache-2.0 iscsi? ( GPL-2 )" SLOT="0" IUSE="+compute compute-only iscsi +memcached +mysql +novncproxy openvswitch postgres +rabbitmq sqlite" @@ -170,8 +166,6 @@ REQUIRED_USE=" compute-only? ( compute !rabbitmq !memcached !mysql !postgres !sqlite ) test? ( mysql ) " -#PATCHES=( -#) distutils_enable_tests pytest @@ -189,10 +183,16 @@ pkg_setup() { } python_prepare_all() { + rm nova/tests/unit/test_hacking.py || die sed -i '/^hacking/d' test-requirements.txt || die distutils-r1_python_prepare_all } +python_compile_all() { + oslo-config-generator --config-file=etc/nova/nova-config-generator.conf || die + oslopolicy-sample-generator --config-file=etc/nova/nova-policy-generator.conf || die +} + python_install_all() { distutils-r1_python_install_all @@ -210,9 +210,13 @@ python_install_all() { insinto /etc/nova insopts -m 0640 -o nova -g nova - newins "${DISTDIR}/nova.conf.sample-${PV}" "nova.conf.sample" + + doins "nova.conf.sample" doins "${FILESDIR}/nova-compute.conf" + dodoc etc/nova/README*.txt + rm etc/nova/README*.txt || die doins "${S}/etc/nova/"* + doins policy.yaml # rootwrap filters insopts -m 0644 insinto /etc/nova/rootwrap.d @@ -223,6 +227,8 @@ python_install_all() { insopts -m 0600 -o root -g root doins "${FILESDIR}/nova-sudoers" + newbashcomp tools/nova-manage.bash_completion nova-manage + if use iscsi ; then # Install udev rules for handle iscsi disk with right links under /dev udev_newrules "${FILESDIR}/openstack-scsi-disk.rules" 60-openstack-scsi-disk.rules