ace-overlay/app-emulation/virtualbmc/virtualbmc-1.6.0.ebuild

38 lines
996 B
Bash
Raw Normal View History

2019-10-03 20:59:41 +00:00
# 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.openstack.org/virtualbmc/${P}.tar.gz"
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-3.7.0[${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
}