* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nova/
@ 2021-09-26 19:34 Alessandro Barbieri
0 siblings, 0 replies; 11+ messages in thread
From: Alessandro Barbieri @ 2021-09-26 19:34 UTC (permalink / raw
To: gentoo-commits
commit: 133a79464d7d464a2671d9e3fe2e7a9608b73ba8
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Sep 26 19:29:32 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Sep 26 19:29:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=133a7946
sys-cluster/nova: drop keywords
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/nova/Manifest | 2 -
sys-cluster/nova/nova-22.2.0.ebuild | 213 ------------------------------------
sys-cluster/nova/nova-22.2.1.ebuild | 2 +-
3 files changed, 1 insertion(+), 216 deletions(-)
diff --git a/sys-cluster/nova/Manifest b/sys-cluster/nova/Manifest
index a25a13f86..6a71dd61e 100644
--- a/sys-cluster/nova/Manifest
+++ b/sys-cluster/nova/Manifest
@@ -1,4 +1,2 @@
-DIST nova-22.2.0.tar.gz 9271449 BLAKE2B c7b52f4d7e819152971c67f5f0a9f2b191e0235917efd04c799413ebfbf44500c64bae9ddd6082ef7b347c500d346f46fd07bad45a7fc4e5c397713867681dbe SHA512 acb9745b2bebd669f919a2d3d73e9dc5dad5aa3de49690daddd779fb6467139f857d67c6d8af3761f12db9bf6c5120d1af7bee3e73b3c0e0c44d6b41cafe7883
DIST nova-22.2.1.tar.gz 9274586 BLAKE2B fb44f5cbd544c08d92aef48ef2858806245f1f36f2edc1a86a03189b460431add656d00dea830bf4fd324c79bf0d0e057b06836b25f554eea6416af3c2821bce SHA512 59df339bb00d4a7e087cc9caf6d6efcb1e5205ea8889502d00c4c22eb4acc6c0f19383de76f260382d56e145fad01088c3fd28f41d26441303e13b3b839ddcce
-DIST nova.conf.sample-22.2.0 187107 BLAKE2B e577126b67f2cc1aa6597f89b1632007f726ad85875d5f27041d0f9ac88923b944fe7f45ae2b3332157713b5f93034dad4da2860917b025649a52d7d71986612 SHA512 4149f8f19a573e8717f521183ba330853742bb6731f0e9ef02842d3be1c188ea3a2cdbeb6043086869360b9b1174a17e221c4ad1f543f74220c46cf31b1ca970
DIST nova.conf.sample-22.2.1 187107 BLAKE2B e577126b67f2cc1aa6597f89b1632007f726ad85875d5f27041d0f9ac88923b944fe7f45ae2b3332157713b5f93034dad4da2860917b025649a52d7d71986612 SHA512 4149f8f19a573e8717f521183ba330853742bb6731f0e9ef02842d3be1c188ea3a2cdbeb6043086869360b9b1174a17e221c4ad1f543f74220c46cf31b1ca970
diff --git a/sys-cluster/nova/nova-22.2.0.ebuild b/sys-cluster/nova/nova-22.2.0.ebuild
deleted file mode 100644
index 88f84e521..000000000
--- a/sys-cluster/nova/nova-22.2.0.ebuild
+++ /dev/null
@@ -1,213 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_8 )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-inherit distutils-r1 linux-info multilib udev
-
-DESCRIPTION="Cloud computing fabric controller"
-HOMEPAGE="https://launchpad.net/nova"
-
-if [[ ${PV} == *9999 ]];then
- inherit git-r3
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/victoria/nova.conf.sample -> nova.conf.sample-${PV}"
- EGIT_REPO_URI="https://github.com/openstack/nova.git"
- EGIT_BRANCH="stable/victoria"
-else
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/victoria/nova.conf.sample -> nova.conf.sample-${PV}
- https://tarballs.openstack.org/${PN}/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm64 ~x86"
-fi
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="+compute compute-only iscsi +memcached +mysql +novncproxy openvswitch postgres +rabbitmq sqlite"
-REQUIRED_USE="
- !compute-only? ( || ( mysql postgres sqlite ) )
- compute-only? ( compute !rabbitmq !memcached !mysql !postgres !sqlite )"
-
-CDEPEND="
- >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
- !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
-DEPEND="
- ${CDEPEND}
- app-admin/sudo"
-
-RDEPEND="
- ${CDEPEND}
- compute-only? (
- >=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}]
- )
- sqlite? (
- >=dev-python/sqlalchemy-1.2.19[sqlite,${PYTHON_USEDEP}]
- )
- mysql? (
- >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
- !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}]
- >=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}]
- )
- postgres? (
- >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
- >=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}]
- )
- >=dev-python/decorator-4.1.0[${PYTHON_USEDEP}]
- >=dev-python/eventlet-0.22.0[${PYTHON_USEDEP}]
- >=dev-python/jinja-2.10[${PYTHON_USEDEP}]
- >=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}]
- >=dev-python/lxml-4.5.0[${PYTHON_USEDEP}]
- >=dev-python/routes-2.3.1[${PYTHON_USEDEP}]
- >=dev-python/cryptography-2.7[${PYTHON_USEDEP}]
- >=dev-python/webob-1.8.2[${PYTHON_USEDEP}]
- >=dev-python/greenlet-0.4.15[${PYTHON_USEDEP}]
- >=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}]
- >=dev-python/paste-2.0.2[${PYTHON_USEDEP}]
- >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
- <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
- >=dev-python/sqlalchemy-migrate-0.13.0[${PYTHON_USEDEP}]
- >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
- >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}]
- >=dev-python/paramiko-2.7.1[${PYTHON_USEDEP}]
- >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
- >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
- >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}]
- !~dev-python/python-cinderclient-4.0.0[${PYTHON_USEDEP}]
- >=dev-python/keystoneauth-3.16.0[${PYTHON_USEDEP}]
- >=dev-python/python-neutronclient-6.7.0[${PYTHON_USEDEP}]
- >=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}]
- >=dev-python/requests-2.23.0[${PYTHON_USEDEP}]
- >=dev-python/six-1.11.0[${PYTHON_USEDEP}]
- >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
- >=dev-python/websockify-0.9.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-concurrency-3.29.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-config-6.8.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-context-2.22.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-serialization-1.21.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-upgradecheck-0.1.1[${PYTHON_USEDEP}]
- !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}]
- >=dev-python/oslo-utils-4.5.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-db-4.44.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-messaging-10.3.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-policy-3.4.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-privsep-1.33.2[${PYTHON_USEDEP}]
- >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
- >=dev-python/oslo-service-1.40.1[${PYTHON_USEDEP}]
- >=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
- >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}]
- >=dev-python/oslo-versionedobjects-1.35.0[${PYTHON_USEDEP}]
- >=dev-python/os-brick-3.1.0[${PYTHON_USEDEP}]
- >=dev-python/os-resource-classes-0.4.0[${PYTHON_USEDEP}]
- >=dev-python/os-traits-2.4.0[${PYTHON_USEDEP}]
- >=dev-python/os-vif-1.14.0[${PYTHON_USEDEP}]
- >=dev-python/os-win-4.2.0[${PYTHON_USEDEP}]
- >=dev-python/castellan-0.16.0[${PYTHON_USEDEP}]
- >=dev-python/microversion-parse-0.2.1[${PYTHON_USEDEP}]
- >=dev-python/os-xenapi-0.3.4[${PYTHON_USEDEP}]
- >=dev-python/tooz-1.58.0[${PYTHON_USEDEP}]
- >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}]
- >=dev-python/pypowervm-1.1.15[${PYTHON_USEDEP}]
- >=dev-python/retrying-1.3.3[${PYTHON_USEDEP}]
- >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}]
- >=dev-python/taskflow-3.8.0[${PYTHON_USEDEP}]
- >=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
- >=dev-python/zVMCloudConnector-1.3.0[${PYTHON_USEDEP}]
- >=dev-python/openstacksdk-0.35.0[${PYTHON_USEDEP}]
- >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
- dev-python/libvirt-python[${PYTHON_USEDEP}]
- app-emulation/libvirt[iscsi?]
- app-emulation/spice-html5
- novncproxy? ( www-apps/novnc )
- sys-apps/iproute2
- openvswitch? ( net-misc/openvswitch )
- rabbitmq? ( net-misc/rabbitmq-server )
- memcached? (
- net-misc/memcached
- >=dev-python/python-memcached-1.58
- )
- sys-fs/sysfsutils
- sys-fs/multipath-tools
- net-misc/bridge-utils
- compute? (
- app-cdr/cdrtools
- sys-fs/dosfstools
- app-emulation/qemu
- )
- iscsi? (
- sys-fs/lsscsi
- >=sys-block/open-iscsi-2.0.873-r1
- )
- acct-user/nova
- acct-group/nova"
-
-#PATCHES=(
-#)
-
-pkg_setup() {
- linux-info_pkg_setup
- CONFIG_CHECK_MODULES="BLK_DEV_NBD VHOST_NET IP6_NF_FILTER IP6_NF_IPTABLES IP_NF_TARGET_REJECT \
- IP_NF_MANGLE IP_NF_TARGET_MASQUERADE NF_NAT_IPV4 IP_NF_FILTER IP_NF_IPTABLES \
- NF_CONNTRACK_IPV4 NF_DEFRAG_IPV4 NF_NAT_IPV4 NF_NAT NF_CONNTRACK NETFILTER_XTABLES \
- ISCSI_TCP SCSI_DH DM_MULTIPATH DM_SNAPSHOT"
- if linux_config_exists; then
- for module in ${CONFIG_CHECK_MODULES}; do
- linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled in kernel"
- done
- fi
-}
-
-python_prepare_all() {
- sed -i '/^hacking/d' test-requirements.txt || die
- distutils-r1_python_prepare_all
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- if use !compute-only; then
- for svc in api conductor consoleauth network scheduler spicehtml5proxy xvpvncproxy; do
- newinitd "${FILESDIR}/nova.initd" "nova-${svc}"
- done
- fi
- use compute && newinitd "${FILESDIR}/nova.initd" "nova-compute"
- use novncproxy && newinitd "${FILESDIR}/nova.initd" "nova-novncproxy"
-
- diropts -m 0750 -o nova -g qemu
- dodir /var/log/nova /var/lib/nova/instances
- diropts -m 0750 -o nova -g nova
-
- insinto /etc/nova
- insopts -m 0640 -o nova -g nova
- newins "${DISTDIR}/nova.conf.sample-${PV}" "nova.conf.sample"
- doins "${FILESDIR}/nova-compute.conf"
- doins "${S}/etc/nova/"*
- # rootwrap filters
- insopts -m 0644
- insinto /etc/nova/rootwrap.d
- doins "etc/nova/rootwrap.d/compute.filters"
-
- # add sudoers definitions for user nova
- insinto /etc/sudoers.d/
- insopts -m 0600 -o root -g root
- doins "${FILESDIR}/nova-sudoers"
-
- 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
-
- insinto /etc/nova/
- doins "${FILESDIR}/scsi-openscsi-link.sh"
- fi
- rm -r "${ED}/usr/etc"
-}
-
-pkg_postinst() {
- if use iscsi ; then
- elog "iscsid needs to be running if you want cinder to connect"
- fi
-}
diff --git a/sys-cluster/nova/nova-22.2.1.ebuild b/sys-cluster/nova/nova-22.2.1.ebuild
index 88f84e521..a47ef15f4 100644
--- a/sys-cluster/nova/nova-22.2.1.ebuild
+++ b/sys-cluster/nova/nova-22.2.1.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == *9999 ]];then
else
SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/victoria/nova.conf.sample -> nova.conf.sample-${PV}
https://tarballs.openstack.org/${PN}/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm64 ~x86"
+ KEYWORDS="~amd64"
fi
LICENSE="Apache-2.0"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nova/
@ 2021-10-03 18:33 Alessandro Barbieri
0 siblings, 0 replies; 11+ messages in thread
From: Alessandro Barbieri @ 2021-10-03 18:33 UTC (permalink / raw
To: gentoo-commits
commit: b20623f7f977cf411ca838165eb15a368d2bc58c
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Oct 3 18:12:14 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Oct 3 18:32:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b20623f7
sys-cluster/nova: add 24.0.0.0_rc2, drop 22.2.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/nova/Manifest | 4 +-
...nova-22.2.1.ebuild => nova-24.0.0.0_rc2.ebuild} | 138 ++++++++++++---------
2 files changed, 80 insertions(+), 62 deletions(-)
diff --git a/sys-cluster/nova/Manifest b/sys-cluster/nova/Manifest
index 6a71dd61e..35ff28377 100644
--- a/sys-cluster/nova/Manifest
+++ b/sys-cluster/nova/Manifest
@@ -1,2 +1,2 @@
-DIST nova-22.2.1.tar.gz 9274586 BLAKE2B fb44f5cbd544c08d92aef48ef2858806245f1f36f2edc1a86a03189b460431add656d00dea830bf4fd324c79bf0d0e057b06836b25f554eea6416af3c2821bce SHA512 59df339bb00d4a7e087cc9caf6d6efcb1e5205ea8889502d00c4c22eb4acc6c0f19383de76f260382d56e145fad01088c3fd28f41d26441303e13b3b839ddcce
-DIST nova.conf.sample-22.2.1 187107 BLAKE2B e577126b67f2cc1aa6597f89b1632007f726ad85875d5f27041d0f9ac88923b944fe7f45ae2b3332157713b5f93034dad4da2860917b025649a52d7d71986612 SHA512 4149f8f19a573e8717f521183ba330853742bb6731f0e9ef02842d3be1c188ea3a2cdbeb6043086869360b9b1174a17e221c4ad1f543f74220c46cf31b1ca970
+DIST nova-24.0.0.0rc2.tar.gz 9359645 BLAKE2B 3f1e09c17957025600d9cfab3340c64a424ad71e15baafd741b9fc25d95494b7489d1f54128b08ce0edcc02eb8ba8f856bad78c1937619a3db1dfff3a4ebaf91 SHA512 431acd7158af539dd8c7231708000e8a2c558471e25e62472e2f0dd7c69eea09e5aeb67d63415c5a28a2bd6405f4556906abc4e8853e3c3dae85ba31d5df5bb8
+DIST nova.conf.sample-24.0.0.0_rc2 187107 BLAKE2B e577126b67f2cc1aa6597f89b1632007f726ad85875d5f27041d0f9ac88923b944fe7f45ae2b3332157713b5f93034dad4da2860917b025649a52d7d71986612 SHA512 4149f8f19a573e8717f521183ba330853742bb6731f0e9ef02842d3be1c188ea3a2cdbeb6043086869360b9b1174a17e221c4ad1f543f74220c46cf31b1ca970
diff --git a/sys-cluster/nova/nova-22.2.1.ebuild b/sys-cluster/nova/nova-24.0.0.0_rc2.ebuild
similarity index 64%
rename from sys-cluster/nova/nova-22.2.1.ebuild
rename to sys-cluster/nova/nova-24.0.0.0_rc2.ebuild
index a47ef15f4..25d20f705 100644
--- a/sys-cluster/nova/nova-22.2.1.ebuild
+++ b/sys-cluster/nova/nova-24.0.0.0_rc2.ebuild
@@ -1,61 +1,50 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
+MYP="${P//_/}"
PYTHON_COMPAT=( python3_8 )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-inherit distutils-r1 linux-info multilib udev
-DESCRIPTION="Cloud computing fabric controller"
-HOMEPAGE="https://launchpad.net/nova"
-
-if [[ ${PV} == *9999 ]];then
- inherit git-r3
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/victoria/nova.conf.sample -> nova.conf.sample-${PV}"
- EGIT_REPO_URI="https://github.com/openstack/nova.git"
- EGIT_BRANCH="stable/victoria"
-else
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/victoria/nova.conf.sample -> nova.conf.sample-${PV}
- https://tarballs.openstack.org/${PN}/${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
+inherit distutils-r1 linux-info udev
+DESCRIPTION="Cloud computing fabric controller"
+HOMEPAGE="
+ https://launchpad.net/nova
+ 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
+"
+S="${WORKDIR}/${MYP}"
+
+KEYWORDS="~amd64"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="+compute compute-only iscsi +memcached +mysql +novncproxy openvswitch postgres +rabbitmq sqlite"
-REQUIRED_USE="
- !compute-only? ( || ( mysql postgres sqlite ) )
- compute-only? ( compute !rabbitmq !memcached !mysql !postgres !sqlite )"
-
-CDEPEND="
- >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
- !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
-DEPEND="
- ${CDEPEND}
- app-admin/sudo"
RDEPEND="
- ${CDEPEND}
+ >=dev-python/pbr-5.5.1[${PYTHON_USEDEP}]
compute-only? (
- >=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}]
+ >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
)
sqlite? (
- >=dev-python/sqlalchemy-1.2.19[sqlite,${PYTHON_USEDEP}]
+ >=dev-python/sqlalchemy-1.4.13[sqlite,${PYTHON_USEDEP}]
)
mysql? (
>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
- !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}]
- >=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}]
+ >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
)
postgres? (
>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
- >=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}]
+ >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
)
>=dev-python/decorator-4.1.0[${PYTHON_USEDEP}]
- >=dev-python/eventlet-0.22.0[${PYTHON_USEDEP}]
+ >=dev-python/eventlet-0.30.1[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
- >=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}]
+ >=dev-python/keystonemiddleware-4.20.0[${PYTHON_USEDEP}]
>=dev-python/lxml-4.5.0[${PYTHON_USEDEP}]
>=dev-python/routes-2.3.1[${PYTHON_USEDEP}]
>=dev-python/cryptography-2.7[${PYTHON_USEDEP}]
@@ -64,7 +53,6 @@ RDEPEND="
>=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}]
>=dev-python/paste-2.0.2[${PYTHON_USEDEP}]
>=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
- <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-migrate-0.13.0[${PYTHON_USEDEP}]
>=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
>=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}]
@@ -72,40 +60,37 @@ RDEPEND="
>=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
>=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
>=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}]
- !~dev-python/python-cinderclient-4.0.0[${PYTHON_USEDEP}]
>=dev-python/keystoneauth-3.16.0[${PYTHON_USEDEP}]
- >=dev-python/python-neutronclient-6.7.0[${PYTHON_USEDEP}]
+ >=dev-python/python-neutronclient-7.1.0[${PYTHON_USEDEP}]
>=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}]
- >=dev-python/requests-2.23.0[${PYTHON_USEDEP}]
- >=dev-python/six-1.11.0[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.25.1[${PYTHON_USEDEP}]
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
>=dev-python/websockify-0.9.0[${PYTHON_USEDEP}]
>=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-concurrency-3.29.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-config-6.8.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-context-2.22.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-concurrency-4.4.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-config-8.6.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-context-3.1.1[${PYTHON_USEDEP}]
+ >=dev-python/oslo-log-4.4.0[${PYTHON_USEDEP}]
>=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-serialization-1.21.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-upgradecheck-0.1.1[${PYTHON_USEDEP}]
- !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}]
- >=dev-python/oslo-utils-4.5.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-db-4.44.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-serialization-4.1.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-upgradecheck-1.3.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-utils-4.8.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-db-10.0.0[${PYTHON_USEDEP}]
>=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}]
>=dev-python/oslo-messaging-10.3.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-policy-3.4.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-privsep-1.33.2[${PYTHON_USEDEP}]
- >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
- >=dev-python/oslo-service-1.40.1[${PYTHON_USEDEP}]
+ >=dev-python/oslo-policy-3.7.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-privsep-2.4.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-i18n-5.0.1[${PYTHON_USEDEP}]
+ >=dev-python/oslo-service-2.5.0[${PYTHON_USEDEP}]
>=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}]
>=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
>=dev-python/psutil-3.2.2[${PYTHON_USEDEP}]
>=dev-python/oslo-versionedobjects-1.35.0[${PYTHON_USEDEP}]
- >=dev-python/os-brick-3.1.0[${PYTHON_USEDEP}]
- >=dev-python/os-resource-classes-0.4.0[${PYTHON_USEDEP}]
- >=dev-python/os-traits-2.4.0[${PYTHON_USEDEP}]
- >=dev-python/os-vif-1.14.0[${PYTHON_USEDEP}]
- >=dev-python/os-win-4.2.0[${PYTHON_USEDEP}]
+ >=dev-python/os-brick-4.3.1[${PYTHON_USEDEP}]
+ >=dev-python/os-resource-classes-1.0.0[${PYTHON_USEDEP}]
+ >=dev-python/os-traits-2.5.0[${PYTHON_USEDEP}]
+ >=dev-python/os-vif-1.15.2[${PYTHON_USEDEP}]
+ >=dev-python/os-win-5.4.0[${PYTHON_USEDEP}]
>=dev-python/castellan-0.16.0[${PYTHON_USEDEP}]
>=dev-python/microversion-parse-0.2.1[${PYTHON_USEDEP}]
>=dev-python/os-xenapi-0.3.4[${PYTHON_USEDEP}]
@@ -115,10 +100,11 @@ RDEPEND="
>=dev-python/retrying-1.3.3[${PYTHON_USEDEP}]
>=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}]
>=dev-python/taskflow-3.8.0[${PYTHON_USEDEP}]
- >=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
+ >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]
>=dev-python/zVMCloudConnector-1.3.0[${PYTHON_USEDEP}]
+ >=dev-python/futurist-1.8.0[${PYTHON_USEDEP}]
>=dev-python/openstacksdk-0.35.0[${PYTHON_USEDEP}]
- >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
dev-python/libvirt-python[${PYTHON_USEDEP}]
app-emulation/libvirt[iscsi?]
app-emulation/spice-html5
@@ -143,11 +129,43 @@ RDEPEND="
>=sys-block/open-iscsi-2.0.873-r1
)
acct-user/nova
- acct-group/nova"
+ acct-group/nova
+"
+DEPEND="
+ ${RDEPEND}
+ app-admin/sudo
+ test? (
+ >=dev-python/types-paramiko-0.1.3[${PYTHON_USEDEP}]
+ >=dev-python/ddt-1.2.1[${PYTHON_USEDEP}]
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/mock-3.0.0[${PYTHON_USEDEP}]
+ dev-python/psycopg:2[${PYTHON_USEDEP}]
+ >=dev-python/pymysql-0.8.0[${PYTHON_USEDEP}]
+ >=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}]
+ >=dev-python/python-ironicclient-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/oslotest-3.8.0[${PYTHON_USEDEP}]
+ >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
+ >=dev-python/testresources-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}]
+ >=dev-python/gabbi-1.35.0[${PYTHON_USEDEP}]
+ >=dev-python/wsgi_intercept-1.7.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-vmware-3.6.0[${PYTHON_USEDEP}]
+ )
+"
+REQUIRED_USE="
+ !compute-only? ( || ( mysql postgres sqlite ) )
+ compute-only? ( compute !rabbitmq !memcached !mysql !postgres !sqlite )
+ test? ( mysql )
+"
#PATCHES=(
#)
+distutils_enable_tests pytest
+
pkg_setup() {
linux-info_pkg_setup
CONFIG_CHECK_MODULES="BLK_DEV_NBD VHOST_NET IP6_NF_FILTER IP6_NF_IPTABLES IP_NF_TARGET_REJECT \
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nova/
@ 2021-10-06 22:30 Alessandro Barbieri
0 siblings, 0 replies; 11+ messages in thread
From: Alessandro Barbieri @ 2021-10-06 22:30 UTC (permalink / raw
To: gentoo-commits
commit: c9463317c7899bbe87fe2185a409dbe3dd712166
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Oct 6 22:27:02 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Oct 6 22:27:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c9463317
sys-cluster/nova: missing test dep
Closes: https://bugs.gentoo.org/816681
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/nova/nova-24.0.0.0_rc2.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys-cluster/nova/nova-24.0.0.0_rc2.ebuild b/sys-cluster/nova/nova-24.0.0.0_rc2.ebuild
index 25d20f705..037ef402e 100644
--- a/sys-cluster/nova/nova-24.0.0.0_rc2.ebuild
+++ b/sys-cluster/nova/nova-24.0.0.0_rc2.ebuild
@@ -143,6 +143,7 @@ DEPEND="
>=dev-python/pymysql-0.8.0[${PYTHON_USEDEP}]
>=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}]
>=dev-python/python-ironicclient-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}]
>=dev-python/oslotest-3.8.0[${PYTHON_USEDEP}]
>=dev-python/stestr-2.0.0[${PYTHON_USEDEP}]
>=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nova/
@ 2022-03-20 16:46 Alessandro Barbieri
0 siblings, 0 replies; 11+ messages in thread
From: Alessandro Barbieri @ 2022-03-20 16:46 UTC (permalink / raw
To: gentoo-commits
commit: dcbec62cfd20b78b803e2630b97b3b9a4b4a2e98
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar 20 16:45:37 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Mar 20 16:45:37 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dcbec62c
sys-cluster/nova: add 25.0.0.0_rc1, drop 24.0.0.0_rc2
Closes: https://bugs.gentoo.org/817179
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/nova/Manifest | 4 +-
...4.0.0.0_rc2.ebuild => nova-25.0.0.0_rc1.ebuild} | 99 ++++++++++++----------
2 files changed, 56 insertions(+), 47 deletions(-)
diff --git a/sys-cluster/nova/Manifest b/sys-cluster/nova/Manifest
index 35ff28377..bcd14c85e 100644
--- a/sys-cluster/nova/Manifest
+++ b/sys-cluster/nova/Manifest
@@ -1,2 +1,2 @@
-DIST nova-24.0.0.0rc2.tar.gz 9359645 BLAKE2B 3f1e09c17957025600d9cfab3340c64a424ad71e15baafd741b9fc25d95494b7489d1f54128b08ce0edcc02eb8ba8f856bad78c1937619a3db1dfff3a4ebaf91 SHA512 431acd7158af539dd8c7231708000e8a2c558471e25e62472e2f0dd7c69eea09e5aeb67d63415c5a28a2bd6405f4556906abc4e8853e3c3dae85ba31d5df5bb8
-DIST nova.conf.sample-24.0.0.0_rc2 187107 BLAKE2B e577126b67f2cc1aa6597f89b1632007f726ad85875d5f27041d0f9ac88923b944fe7f45ae2b3332157713b5f93034dad4da2860917b025649a52d7d71986612 SHA512 4149f8f19a573e8717f521183ba330853742bb6731f0e9ef02842d3be1c188ea3a2cdbeb6043086869360b9b1174a17e221c4ad1f543f74220c46cf31b1ca970
+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-24.0.0.0_rc2.ebuild b/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild
similarity index 87%
rename from sys-cluster/nova/nova-24.0.0.0_rc2.ebuild
rename to sys-cluster/nova/nova-25.0.0.0_rc1.ebuild
index 477ac1716..2c141a2e3 100644
--- a/sys-cluster/nova/nova-24.0.0.0_rc2.ebuild
+++ b/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+EPYTEST_DESELECT=( nova/tests/unit/test_hacking.py )
MYP="${P//_/}"
-PYTHON_COMPAT=( python3_8 )
+PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1 linux-info udev
@@ -12,7 +13,7 @@ DESCRIPTION="Cloud computing fabric controller"
HOMEPAGE="
https://launchpad.net/nova
https://opendev.org/openstack/nova
- https://pypi.org/project/nova
+ https://pypi.org/project/nova/
"
SRC_URI="
https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/victoria/nova.conf.sample -> nova.conf.sample-${PV}
@@ -26,21 +27,7 @@ SLOT="0"
IUSE="+compute compute-only iscsi +memcached +mysql +novncproxy openvswitch postgres +rabbitmq sqlite"
RDEPEND="
- >=dev-python/pbr-5.5.1[${PYTHON_USEDEP}]
- compute-only? (
- >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
- )
- sqlite? (
- >=dev-python/sqlalchemy-1.4.13[sqlite,${PYTHON_USEDEP}]
- )
- mysql? (
- >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
- >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
- )
- postgres? (
- >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
- >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
- )
+ >=dev-python/pbr-5.8.0[${PYTHON_USEDEP}]
>=dev-python/decorator-4.1.0[${PYTHON_USEDEP}]
>=dev-python/eventlet-0.30.1[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
@@ -54,6 +41,7 @@ RDEPEND="
>=dev-python/paste-2.0.2[${PYTHON_USEDEP}]
>=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-migrate-0.13.0[${PYTHON_USEDEP}]
+ >=dev-python/alembic-1.5.0[${PYTHON_USEDEP}]
>=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
>=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}]
>=dev-python/paramiko-2.7.1[${PYTHON_USEDEP}]
@@ -67,73 +55,92 @@ RDEPEND="
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
>=dev-python/websockify-0.9.0[${PYTHON_USEDEP}]
>=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-concurrency-4.4.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-concurrency-4.5.0[${PYTHON_USEDEP}]
>=dev-python/oslo-config-8.6.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-context-3.1.1[${PYTHON_USEDEP}]
- >=dev-python/oslo-log-4.4.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-context-3.4.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-log-4.6.1[${PYTHON_USEDEP}]
>=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-serialization-4.1.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-serialization-4.2.0[${PYTHON_USEDEP}]
>=dev-python/oslo-upgradecheck-1.3.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-utils-4.8.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-utils-4.12.1[${PYTHON_USEDEP}]
>=dev-python/oslo-db-10.0.0[${PYTHON_USEDEP}]
>=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}]
>=dev-python/oslo-messaging-10.3.0[${PYTHON_USEDEP}]
>=dev-python/oslo-policy-3.7.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-privsep-2.4.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-i18n-5.0.1[${PYTHON_USEDEP}]
- >=dev-python/oslo-service-2.5.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-privsep-2.6.2[${PYTHON_USEDEP}]
+ >=dev-python/oslo-i18n-5.1.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-service-2.8.0[${PYTHON_USEDEP}]
>=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}]
>=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
>=dev-python/psutil-3.2.2[${PYTHON_USEDEP}]
>=dev-python/oslo-versionedobjects-1.35.0[${PYTHON_USEDEP}]
- >=dev-python/os-brick-4.3.1[${PYTHON_USEDEP}]
- >=dev-python/os-resource-classes-1.0.0[${PYTHON_USEDEP}]
- >=dev-python/os-traits-2.5.0[${PYTHON_USEDEP}]
+ >=dev-python/os-brick-5.2[${PYTHON_USEDEP}]
+ >=dev-python/os-resource-classes-1.1.0[${PYTHON_USEDEP}]
+ >=dev-python/os-traits-2.7.0[${PYTHON_USEDEP}]
>=dev-python/os-vif-1.15.2[${PYTHON_USEDEP}]
- >=dev-python/os-win-5.4.0[${PYTHON_USEDEP}]
>=dev-python/castellan-0.16.0[${PYTHON_USEDEP}]
>=dev-python/microversion-parse-0.2.1[${PYTHON_USEDEP}]
- >=dev-python/os-xenapi-0.3.4[${PYTHON_USEDEP}]
>=dev-python/tooz-1.58.0[${PYTHON_USEDEP}]
>=dev-python/cursive-0.2.1[${PYTHON_USEDEP}]
- >=dev-python/pypowervm-1.1.15[${PYTHON_USEDEP}]
>=dev-python/retrying-1.3.3[${PYTHON_USEDEP}]
>=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}]
>=dev-python/taskflow-3.8.0[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]
- >=dev-python/zVMCloudConnector-1.3.0[${PYTHON_USEDEP}]
>=dev-python/futurist-1.8.0[${PYTHON_USEDEP}]
>=dev-python/openstacksdk-0.35.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
- dev-python/libvirt-python[${PYTHON_USEDEP}]
+
+ >=dev-python/pypowervm-1.1.15[${PYTHON_USEDEP}]
+ >=dev-python/zVMCloudConnector-1.3.0[${PYTHON_USEDEP}]
+ >=dev-python/os-win-5.5.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-vmware-3.6.0[${PYTHON_USEDEP}]
+
+ acct-user/nova
+ acct-group/nova
app-emulation/libvirt[iscsi?]
app-emulation/spice-html5
- novncproxy? ( www-apps/novnc )
+ dev-python/libvirt-python[${PYTHON_USEDEP}]
+ net-misc/bridge-utils
sys-apps/iproute2
- openvswitch? ( net-misc/openvswitch )
- rabbitmq? ( net-misc/rabbitmq-server )
- memcached? (
- net-misc/memcached
- >=dev-python/python-memcached-1.58
- )
sys-fs/sysfsutils
sys-fs/multipath-tools
- net-misc/bridge-utils
+
compute? (
app-cdr/cdrtools
sys-fs/dosfstools
app-emulation/qemu
)
+ compute-only? (
+ >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
+ )
iscsi? (
sys-fs/lsscsi
>=sys-block/open-iscsi-2.0.873-r1
)
- acct-user/nova
- acct-group/nova
+ memcached? (
+ net-misc/memcached
+ >=dev-python/python-memcached-1.58[${PYTHON_USEDEP}]
+ )
+ mysql? (
+ >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
+ >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
+ )
+ novncproxy? ( www-apps/novnc )
+ openvswitch? ( net-misc/openvswitch )
+ postgres? (
+ >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
+ >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
+ )
+ rabbitmq? ( net-misc/rabbitmq-server )
+ sqlite? (
+ >=dev-python/sqlalchemy-1.4.13[sqlite,${PYTHON_USEDEP}]
+ )
"
DEPEND="
${RDEPEND}
app-admin/sudo
+"
+BDEPEND="
test? (
>=dev-python/types-paramiko-0.1.3[${PYTHON_USEDEP}]
>=dev-python/ddt-1.2.1[${PYTHON_USEDEP}]
@@ -152,6 +159,8 @@ DEPEND="
>=dev-python/gabbi-1.35.0[${PYTHON_USEDEP}]
>=dev-python/wsgi_intercept-1.7.0[${PYTHON_USEDEP}]
>=dev-python/oslo-vmware-3.6.0[${PYTHON_USEDEP}]
+
+ sys-cluster/placement[${PYTHON_USEDEP}]
)
"
@@ -220,7 +229,7 @@ python_install_all() {
insinto /etc/nova/
doins "${FILESDIR}/scsi-openscsi-link.sh"
fi
- rm -r "${ED}/usr/etc"
+ rm -r "${ED}/usr/etc" || die
}
pkg_postinst() {
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nova/
@ 2022-03-26 9:23 Alessandro Barbieri
0 siblings, 0 replies; 11+ messages in thread
From: Alessandro Barbieri @ 2022-03-26 9:23 UTC (permalink / raw
To: gentoo-commits
commit: 97ed978cccdce2d0a2a32ba7bed6fe3efe64fe15
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Mar 26 08:24:16 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Mar 26 08:24:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=97ed978c
sys-cluster/nova: add oslo-limits dependency
Closes: https://bugs.gentoo.org/836140
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/nova/nova-25.0.0.0_rc1.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild b/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild
index 2c141a2e3..b492cfa2a 100644
--- a/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild
+++ b/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild
@@ -100,6 +100,7 @@ RDEPEND="
app-emulation/libvirt[iscsi?]
app-emulation/spice-html5
dev-python/libvirt-python[${PYTHON_USEDEP}]
+ dev-python/oslo-limit[${PYTHON_USEDEP}]
net-misc/bridge-utils
sys-apps/iproute2
sys-fs/sysfsutils
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nova/
@ 2022-03-29 8:44 Alessandro Barbieri
0 siblings, 0 replies; 11+ messages in thread
From: Alessandro Barbieri @ 2022-03-29 8:44 UTC (permalink / raw
To: gentoo-commits
commit: a60be1ac093c87d9d710ac9ff09d59dd3424fa52
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Mar 29 08:05:09 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
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 <lssndrbarbieri <AT> 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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nova/
@ 2022-03-29 20:53 Alessandro Barbieri
0 siblings, 0 replies; 11+ messages in thread
From: Alessandro Barbieri @ 2022-03-29 20:53 UTC (permalink / raw
To: gentoo-commits
commit: 9e59142fee01f960b7d78e9870ed9227e57ee767
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Mar 29 20:49:28 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Mar 29 20:53:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e59142f
sys-cluster/nova: fix samples installation
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../{nova-25.0.0.0_rc1-r1.ebuild => nova-25.0.0.0_rc1-r2.ebuild} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys-cluster/nova/nova-25.0.0.0_rc1-r1.ebuild b/sys-cluster/nova/nova-25.0.0.0_rc1-r2.ebuild
similarity index 98%
rename from sys-cluster/nova/nova-25.0.0.0_rc1-r1.ebuild
rename to sys-cluster/nova/nova-25.0.0.0_rc1-r2.ebuild
index e78562284..899369c6f 100644
--- a/sys-cluster/nova/nova-25.0.0.0_rc1-r1.ebuild
+++ b/sys-cluster/nova/nova-25.0.0.0_rc1-r2.ebuild
@@ -211,16 +211,16 @@ python_install_all() {
insinto /etc/nova
insopts -m 0640 -o nova -g nova
- doins "nova.conf.sample"
+ doins etc/nova/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
+ doins etc/nova/policy.yaml.sample
# rootwrap filters
insopts -m 0644
insinto /etc/nova/rootwrap.d
- doins "etc/nova/rootwrap.d/compute.filters"
+ doins etc/nova/rootwrap.d/compute.filters
# add sudoers definitions for user nova
insinto /etc/sudoers.d/
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nova/
@ 2022-04-04 19:32 Alessandro Barbieri
0 siblings, 0 replies; 11+ messages in thread
From: Alessandro Barbieri @ 2022-04-04 19:32 UTC (permalink / raw
To: gentoo-commits
commit: 0d437d5355f5d5b4f970466e94edeb9e36efc9f2
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 4 19:03:55 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Apr 4 19:32:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0d437d53
sys-cluster/nova: add 25.0.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/nova/Manifest | 1 +
sys-cluster/nova/nova-25.0.0.ebuild | 251 ++++++++++++++++++++++++++++++++++++
2 files changed, 252 insertions(+)
diff --git a/sys-cluster/nova/Manifest b/sys-cluster/nova/Manifest
index b87883dc5..189a69fa6 100644
--- a/sys-cluster/nova/Manifest
+++ b/sys-cluster/nova/Manifest
@@ -1 +1,2 @@
DIST nova-25.0.0.0rc1.tar.gz 9446116 BLAKE2B e747588076c5bd35bab5cf3d3afca37523ee3e2643d9d18e50243ce8320c71151fabf87ef530dab180b871049cd55e5ee4dec6dc9e3d16a68d99b627870e4f93 SHA512 1c07fb6ce81efebd78a519cf6334f47d4dc08d6d949910f6c38b356f3457e2b2c4df6edb90d0760ac17740df0c0116a75eccf9ac85780757614fba110280d013
+DIST nova-25.0.0.tar.gz 9445471 BLAKE2B 5584daee1026ebec9437368b5c39ded4c474d1a15291487f9e9ee72593626a3ce2204ec8bf5acb7d579328a7b7aed57174d42db3cabca1c8e93047e49e0bc847 SHA512 c4a1423dcb97bcc96bb5faccd43f58e17293172121a2715ff13c05690c5b8868befeb45815a9dca33fa5bc387fd8c586f68984b0c931427aa02794a1d2a5179e
diff --git a/sys-cluster/nova/nova-25.0.0.ebuild b/sys-cluster/nova/nova-25.0.0.ebuild
new file mode 100644
index 000000000..3ae0f19aa
--- /dev/null
+++ b/sys-cluster/nova/nova-25.0.0.ebuild
@@ -0,0 +1,251 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MYP="${P//_/}"
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit bash-completion-r1 distutils-r1 linux-info systemd tmpfiles udev
+
+DESCRIPTION="Cloud computing fabric controller"
+HOMEPAGE="
+ https://launchpad.net/nova
+ https://opendev.org/openstack/nova
+ https://pypi.org/project/nova/
+"
+SRC_URI="https://tarballs.openstack.org/${PN}/${MYP}.tar.gz"
+S="${WORKDIR}/${MYP}"
+
+KEYWORDS="~amd64"
+LICENSE="Apache-2.0 iscsi? ( GPL-2 )"
+SLOT="0"
+IUSE="+compute compute-only iscsi +memcached +mysql +novncproxy openvswitch postgres +rabbitmq sqlite"
+
+RDEPEND="
+ >=dev-python/pbr-5.8.0[${PYTHON_USEDEP}]
+ >=dev-python/decorator-4.1.0[${PYTHON_USEDEP}]
+ >=dev-python/eventlet-0.30.1[${PYTHON_USEDEP}]
+ >=dev-python/jinja-2.10[${PYTHON_USEDEP}]
+ >=dev-python/keystonemiddleware-4.20.0[${PYTHON_USEDEP}]
+ >=dev-python/lxml-4.5.0[${PYTHON_USEDEP}]
+ >=dev-python/routes-2.3.1[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-2.7[${PYTHON_USEDEP}]
+ >=dev-python/webob-1.8.2[${PYTHON_USEDEP}]
+ >=dev-python/greenlet-0.4.15[${PYTHON_USEDEP}]
+ >=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}]
+ >=dev-python/paste-2.0.2[${PYTHON_USEDEP}]
+ >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
+ >=dev-python/sqlalchemy-migrate-0.13.0[${PYTHON_USEDEP}]
+ >=dev-python/alembic-1.5.0[${PYTHON_USEDEP}]
+ >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
+ >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}]
+ >=dev-python/paramiko-2.7.1[${PYTHON_USEDEP}]
+ >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
+ >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}]
+ >=dev-python/keystoneauth-3.16.0[${PYTHON_USEDEP}]
+ >=dev-python/python-neutronclient-7.1.0[${PYTHON_USEDEP}]
+ >=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.25.1[${PYTHON_USEDEP}]
+ >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
+ >=dev-python/websockify-0.9.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-concurrency-4.5.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-config-8.6.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-context-3.4.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-log-4.6.1[${PYTHON_USEDEP}]
+ >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-serialization-4.2.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-upgradecheck-1.3.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-utils-4.12.1[${PYTHON_USEDEP}]
+ >=dev-python/oslo-db-10.0.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-messaging-10.3.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-policy-3.7.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-privsep-2.6.2[${PYTHON_USEDEP}]
+ >=dev-python/oslo-i18n-5.1.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-service-2.8.0[${PYTHON_USEDEP}]
+ >=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
+ >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}]
+ >=dev-python/oslo-versionedobjects-1.35.0[${PYTHON_USEDEP}]
+ >=dev-python/os-brick-5.2[${PYTHON_USEDEP}]
+ >=dev-python/os-resource-classes-1.1.0[${PYTHON_USEDEP}]
+ >=dev-python/os-traits-2.7.0[${PYTHON_USEDEP}]
+ >=dev-python/os-vif-1.15.2[${PYTHON_USEDEP}]
+ >=dev-python/castellan-0.16.0[${PYTHON_USEDEP}]
+ >=dev-python/microversion-parse-0.2.1[${PYTHON_USEDEP}]
+ >=dev-python/tooz-1.58.0[${PYTHON_USEDEP}]
+ >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}]
+ >=dev-python/retrying-1.3.3[${PYTHON_USEDEP}]
+ >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}]
+ >=dev-python/taskflow-3.8.0[${PYTHON_USEDEP}]
+ >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]
+ >=dev-python/futurist-1.8.0[${PYTHON_USEDEP}]
+ >=dev-python/openstacksdk-0.35.0[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+
+ >=dev-python/pypowervm-1.1.15[${PYTHON_USEDEP}]
+ >=dev-python/zVMCloudConnector-1.3.0[${PYTHON_USEDEP}]
+ >=dev-python/os-win-5.5.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-vmware-3.6.0[${PYTHON_USEDEP}]
+
+ acct-user/nova
+ acct-group/nova
+ app-emulation/libvirt[iscsi?]
+ app-emulation/spice-html5
+ dev-python/libvirt-python[${PYTHON_USEDEP}]
+ dev-python/oslo-limit[${PYTHON_USEDEP}]
+ net-misc/bridge-utils
+ sys-apps/iproute2
+ sys-fs/sysfsutils
+ sys-fs/multipath-tools
+
+ compute? (
+ app-cdr/cdrtools
+ sys-fs/dosfstools
+ app-emulation/qemu
+ )
+ compute-only? (
+ >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
+ )
+ iscsi? (
+ sys-fs/lsscsi
+ >=sys-block/open-iscsi-2.0.873-r1
+ )
+ memcached? (
+ net-misc/memcached
+ >=dev-python/python-memcached-1.58[${PYTHON_USEDEP}]
+ )
+ mysql? (
+ >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
+ >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
+ )
+ novncproxy? ( www-apps/novnc )
+ openvswitch? ( net-misc/openvswitch )
+ postgres? (
+ >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
+ >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
+ )
+ rabbitmq? ( net-misc/rabbitmq-server )
+ sqlite? (
+ >=dev-python/sqlalchemy-1.4.13[sqlite,${PYTHON_USEDEP}]
+ )
+"
+DEPEND="
+ ${RDEPEND}
+ app-admin/sudo
+"
+BDEPEND="
+ test? (
+ >=dev-python/types-paramiko-0.1.3[${PYTHON_USEDEP}]
+ >=dev-python/ddt-1.2.1[${PYTHON_USEDEP}]
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/mock-3.0.0[${PYTHON_USEDEP}]
+ dev-python/psycopg:2[${PYTHON_USEDEP}]
+ >=dev-python/pymysql-0.8.0[${PYTHON_USEDEP}]
+ >=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}]
+ >=dev-python/python-ironicclient-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}]
+ >=dev-python/oslotest-3.8.0[${PYTHON_USEDEP}]
+ >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
+ >=dev-python/testresources-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/gabbi-1.35.0[${PYTHON_USEDEP}]
+ >=dev-python/wsgi_intercept-1.7.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-vmware-3.6.0[${PYTHON_USEDEP}]
+
+ sys-cluster/placement[${PYTHON_USEDEP}]
+ )
+"
+
+REQUIRED_USE="
+ !compute-only? ( || ( mysql postgres sqlite ) )
+ compute-only? ( compute !rabbitmq !memcached !mysql !postgres !sqlite )
+ test? ( mysql )
+"
+
+distutils_enable_tests pytest
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK_MODULES="BLK_DEV_NBD VHOST_NET IP6_NF_FILTER IP6_NF_IPTABLES IP_NF_TARGET_REJECT \
+ IP_NF_MANGLE IP_NF_TARGET_MASQUERADE NF_NAT_IPV4 IP_NF_FILTER IP_NF_IPTABLES \
+ NF_CONNTRACK_IPV4 NF_DEFRAG_IPV4 NF_NAT_IPV4 NF_NAT NF_CONNTRACK NETFILTER_XTABLES \
+ ISCSI_TCP SCSI_DH DM_MULTIPATH DM_SNAPSHOT"
+ if linux_config_exists; then
+ for module in ${CONFIG_CHECK_MODULES}; do
+ linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled in kernel"
+ done
+ fi
+}
+
+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
+
+ for svc in api compute conductor consoleauth network novncproxy scheduler spicehtml5proxy xvpvncproxy; do
+ newinitd "${FILESDIR}/nova.initd" "nova-${svc}"
+ done
+
+ for svc in api compute conductor metadata-api novncproxy os-compute-api scheduler; do
+ systemd_dounit "${FILESDIR}/openstack-nova-${svc}.service"
+ done
+
+ diropts -m 0750 -o nova -g qemu
+ dodir /var/log/nova /var/lib/nova/instances
+ diropts -m 0750 -o nova -g nova
+
+ insinto /etc/nova
+ insopts -m 0640 -o nova -g nova
+
+ doins etc/nova/nova.conf.sample
+ doins "${FILESDIR}/nova-compute.conf"
+ dodoc etc/nova/README*.txt
+ rm etc/nova/README*.txt || die
+ doins "${S}/etc/nova/"*
+ doins etc/nova/policy.yaml.sample
+ # rootwrap filters
+ insopts -m 0644
+ insinto /etc/nova/rootwrap.d
+ doins etc/nova/rootwrap.d/compute.filters
+
+ # add sudoers definitions for user nova
+ insinto /etc/sudoers.d/
+ insopts -m 0600 -o root -g root
+ doins "${FILESDIR}/nova-sudoers"
+
+ newbashcomp tools/nova-manage.bash_completion nova-manage
+
+ newtmpfiles "${FILESDIR}/nova.tmpfile" nova.conf
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/nova.logrotate" nova.conf
+
+ 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
+
+ insinto /etc/nova/
+ doins "${FILESDIR}/scsi-openscsi-link.sh"
+ fi
+ rm -r "${ED}/usr/etc" || die
+}
+
+pkg_postinst() {
+ if use iscsi ; then
+ elog "iscsid needs to be running if you want cinder to connect"
+ fi
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nova/
@ 2022-04-19 18:31 Alessandro Barbieri
0 siblings, 0 replies; 11+ messages in thread
From: Alessandro Barbieri @ 2022-04-19 18:31 UTC (permalink / raw
To: gentoo-commits
commit: f244fe13d7dd5a202d876ec8b0f29c64b82a49dc
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 18 22:59:11 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Apr 19 18:31:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f244fe13
sys-cluster/nova: optfeatures
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/nova/nova-25.0.0-r1.ebuild | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/sys-cluster/nova/nova-25.0.0-r1.ebuild b/sys-cluster/nova/nova-25.0.0-r1.ebuild
index 783b2b963..6d661ae24 100644
--- a/sys-cluster/nova/nova-25.0.0-r1.ebuild
+++ b/sys-cluster/nova/nova-25.0.0-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
MYP="${P//_/}"
PYTHON_COMPAT=( python3_{8..9} )
-inherit bash-completion-r1 distutils-r1 linux-info systemd tmpfiles udev
+inherit bash-completion-r1 distutils-r1 linux-info optfeature systemd tmpfiles udev
DESCRIPTION="Cloud computing fabric controller"
HOMEPAGE="
@@ -86,11 +86,6 @@ RDEPEND="
>=dev-python/openstacksdk-0.35.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
- >=dev-python/pypowervm-1.1.15[${PYTHON_USEDEP}]
- >=dev-python/zVMCloudConnector-1.3.0[${PYTHON_USEDEP}]
- >=dev-python/os-win-5.5.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-vmware-3.6.0[${PYTHON_USEDEP}]
-
acct-user/nova
acct-group/nova
app-emulation/libvirt[iscsi?]
@@ -219,4 +214,10 @@ pkg_postinst() {
tmpfiles_process nova.conf
use iscsi && elog "iscsid needs to be running if you want cinder to connect"
+
+ optfeature "osprofiler" dev-python/osprofiler-1.4.0
+ optfeature "powervm" dev-python/pypowervm-1.1.15
+ optfeature "zvm" dev-python/zVMCloudConnector-1.3.0
+ optfeature "hyperv" dev-python/os-win-5.5.0
+ optfeature "vmware" dev-python/oslo-vmware-3.6.0
}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nova/
@ 2022-05-29 3:23 Alessandro Barbieri
0 siblings, 0 replies; 11+ messages in thread
From: Alessandro Barbieri @ 2022-05-29 3:23 UTC (permalink / raw
To: gentoo-commits
commit: 1433a3a5522670926c764af58918b9bc690ce776
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 29 03:22:22 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun May 29 03:22:22 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1433a3a5
sys-cluster/nova: fix optfeatures
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/nova/nova-25.0.0-r1.ebuild | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/sys-cluster/nova/nova-25.0.0-r1.ebuild b/sys-cluster/nova/nova-25.0.0-r1.ebuild
index 31b5977e7..78727beab 100644
--- a/sys-cluster/nova/nova-25.0.0-r1.ebuild
+++ b/sys-cluster/nova/nova-25.0.0-r1.ebuild
@@ -216,9 +216,9 @@ pkg_postinst() {
use iscsi && elog "iscsid needs to be running if you want cinder to connect"
- optfeature "osprofiler" dev-python/osprofiler-1.4.0
- optfeature "powervm" dev-python/pypowervm-1.1.15
- optfeature "zvm" dev-python/zVMCloudConnector-1.3.0
- optfeature "hyperv" dev-python/os-win-5.5.0
- optfeature "vmware" dev-python/oslo-vmware-3.6.0
+ optfeature "osprofiler" >=dev-python/osprofiler-1.4.0
+ optfeature "powervm" >=dev-python/pypowervm-1.1.15
+ optfeature "zvm" >=dev-python/zVMCloudConnector-1.3.0
+ optfeature "hyperv" >=dev-python/os-win-5.5.0
+ optfeature "vmware" >=dev-python/oslo-vmware-3.6.0
}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nova/
@ 2022-05-29 3:50 Alessandro Barbieri
0 siblings, 0 replies; 11+ messages in thread
From: Alessandro Barbieri @ 2022-05-29 3:50 UTC (permalink / raw
To: gentoo-commits
commit: 901825cbbdb46bc6b9b65f78b7d635a56f689e07
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 29 03:50:14 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun May 29 03:50:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=901825cb
sys-cluster/nova: add keepdir
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/nova/nova-25.0.0-r1.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys-cluster/nova/nova-25.0.0-r1.ebuild b/sys-cluster/nova/nova-25.0.0-r1.ebuild
index 78727beab..ef270c92f 100644
--- a/sys-cluster/nova/nova-25.0.0-r1.ebuild
+++ b/sys-cluster/nova/nova-25.0.0-r1.ebuild
@@ -173,6 +173,8 @@ python_install_all() {
diropts -m 0750 -o nova -g qemu
dodir /var/log/nova /var/lib/nova/instances
diropts -m 0750 -o nova -g nova
+ keepdir /var/log/nova
+ keepdir /var/lib/nova
insinto /etc/nova
insopts -m 0640 -o nova -g nova
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2022-05-29 3:50 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-29 20:53 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nova/ Alessandro Barbieri
-- strict thread matches above, loose matches on Subject: below --
2022-05-29 3:50 Alessandro Barbieri
2022-05-29 3:23 Alessandro Barbieri
2022-04-19 18:31 Alessandro Barbieri
2022-04-04 19:32 Alessandro Barbieri
2022-03-29 8:44 Alessandro Barbieri
2022-03-26 9:23 Alessandro Barbieri
2022-03-20 16:46 Alessandro Barbieri
2021-10-06 22:30 Alessandro Barbieri
2021-10-03 18:33 Alessandro Barbieri
2021-09-26 19:34 Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox