# Copyright 2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) inherit distutils-r1 eutils DESCRIPTION="A virtual BMC for controlling virtual machines using IPMI commands" HOMEPAGE="https://github.com/openstack/virtualbmc" SRC_URI="https://tarballs.opendev.org/openstack/${PN}/${P}.tar.gz" RESTRICT="nomirror" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] >=dev-python/six-1.10.0[${PYTHON_USEDEP}] >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] !~dev-python/pbr-2.1.0 dev-python/libvirt-python[${PYTHON_USEDEP}] !~dev-python/libvirt-python-4.1.0 >=dev-python/pyghmi-1.0.22[${PYTHON_USEDEP}] >=dev-python/cliff-2.8.0[${PYTHON_USEDEP}] !~dev-python/cliff-2.9.0 >=dev-python/pyzmq-14.3.1[${PYTHON_USEDEP}]" RDEPEND="${DEPEND}" BDEPEND="" python_install_all() { distutils-r1_python_install_all newinitd "${FILESDIR}"/virtualbmc-initd vbmcd }