You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/hacking/hacking-0.5.6.ebuild

31 lines
960 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/hacking/hacking-0.5.6.ebuild,v 1.2 2013/10/25 06:46:23 prometheanfire Exp $
EAPI=5
PYTHON_COMPAT=( python2_6 python2_7 )
inherit distutils-r1
DESCRIPTION="A client for the OpenStack Nova API"
HOMEPAGE="https://github.com/openstack-dev/hacking"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
<dev-python/pbr-1[${PYTHON_USEDEP}]
>=dev-python/d2to1-0.2.10[${PYTHON_USEDEP}]
<dev-python/d2to1-0.3[${PYTHON_USEDEP}]"
RDEPEND="~dev-python/pep8-1.4.5[${PYTHON_USEDEP}]
~dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}]
~dev-python/flake8-2.0[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
python_test() {
"${PYTHON}" setup.py nosetests || die
}