1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python2_7 python3_{4,5} )
9 DESCRIPTION="A pure python implementation of IPMI protocol"
10 HOMEPAGE="https://github.com/openstack/pyghmi/"
11 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 RDEPEND="dev-python/pbr[${PYTHON_USEDEP}]
19 >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]"
20 #636824 older versions of cli_helpers break the build
22 !<dev-python/cli_helpers-1.0.0
23 dev-python/setuptools[${PYTHON_USEDEP}]
25 >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
26 >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
27 >=dev-python/hacking-0.5[${PYTHON_USEDEP}]
28 >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
29 >=dev-python/os-testr-0.8.0[${PYTHON_USEDEP}]
30 >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
31 dev-python/subunit[${PYTHON_USEDEP}]
32 >=dev-python/testrepository-0.0.17[${PYTHON_USEDEP}]
33 >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
34 >=dev-python/testtools-0.9.32[${PYTHON_USEDEP}]
38 esetup.py testr --coverage || die "Tests failed under ${EPYTHON}"