commit:     6e558025d6959c18229b8cd15cf2b9a0a31c6ac7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 18 22:44:03 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=6e558025

sys-cluster/cinder: optfeatures

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/cinder/cinder-20.0.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/cinder/cinder-20.0.0.ebuild 
b/sys-cluster/cinder/cinder-20.0.0.ebuild
index 049920fee..3d31df44a 100644
--- a/sys-cluster/cinder/cinder-20.0.0.ebuild
+++ b/sys-cluster/cinder/cinder-20.0.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MYP="${P/_rc/rc}"
 PYTHON_COMPAT=( python3_{8..9} )
 
-inherit distutils-r1 linux-info systemd tmpfiles
+inherit distutils-r1 linux-info optfeature systemd tmpfiles
 
 DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of 
nova-volumes"
 HOMEPAGE="
@@ -172,6 +172,11 @@ python_install_all() {
 
 pkg_postinst() {
        tmpfiles_process cinder.conf
+
        elog "Cinder needs tgtd to be installed and running to work with iscsi"
        elog "it also needs 'include /var/lib/cinder/volumes/*' in 
/etc/tgt/targets.conf"
+
+       optfeature "datacore" >=dev-python/websocket-client-0.32.0
+       optfeature "powermax" >=dev-python/pyopenssl-17.5.0
+       optfeature "ds8k" >=dev-python/pyopenssl-17.5.0
 }

Reply via email to