commit:     80100fd822068cc4e594ba1fddd8de81c89b6fb1
Author:     Karl-Johan Karlsson <creideiki <AT> lysator <DOT> liu <DOT> se>
AuthorDate: Tue Feb 17 20:16:18 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 28 15:13:10 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80100fd8

app-admin/salt: drop OpenStack Nova support

OpenStack Nova support requires dev-python/python-novaclient <= 6.0.1,
which is not available in Portage. Keep the USE flag and emit a
warning, in case it was used previously. It will still error at
runtime.

Signed-off-by: Karl-Johan Karlsson <creideiki <AT> lysator.liu.se>
Part-of: https://github.com/gentoo/gentoo/pull/45516
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-admin/salt/salt-3007.12.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/app-admin/salt/salt-3007.12.ebuild 
b/app-admin/salt/salt-3007.12.ebuild
index 79775b8f2f69..07004366cd42 100644
--- a/app-admin/salt/salt-3007.12.ebuild
+++ b/app-admin/salt/salt-3007.12.ebuild
@@ -83,10 +83,6 @@ RDEPEND="
        keyring? ( >=dev-python/keyring-5.7.1[${PYTHON_USEDEP}] )
        redis? ( >=dev-python/redis-3.5.3[${PYTHON_USEDEP}] )
        selinux? ( sec-policy/selinux-salt )
-       nova? (
-               >=dev-python/python-novaclient-2.6.1[${PYTHON_USEDEP}]
-               <=dev-python/python-novaclient-6.0.1[${PYTHON_USEDEP}]
-       )
        profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
        vim-syntax? ( app-vim/salt-vim )
        zeromq? ( >=dev-python/pyzmq-25.1.2[${PYTHON_USEDEP}] )
@@ -147,6 +143,15 @@ PATCHES=(
        "${FILESDIR}/salt-3007.10-use-tomllib-and-tomli_w.patch"
 )
 
+pkg_pretend() {
+       if use nova ; then
+               ewarn " "
+               ewarn "OpenStack Nova support requested but is currently not 
available."
+               ewarn "If you require it, please file a bug at 
https://bugs.gentoo.org/";
+               ewarn " "
+       fi
+}
+
 python_prepare_all() {
        local -a remove_test_files=(
                # remove tests with external dependencies that may not be 
available, and

Reply via email to