1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DISTUTILS_USE_SETUPTOOLS=rdepend
7 PYTHON_COMPAT=( python3_{6,7} )
11 DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved"
12 HOMEPAGE="https://github.com/ansible/ansible-lint"
13 SRC_URI="https://github.com/ansible/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
19 RESTRICT="!test? ( test )"
20 PATCHES="${FILESDIR}/${P}-specifierset-split-setuptools.patch"
22 CDEPEND="app-admin/ansible[${PYTHON_USEDEP}]
23 dev-python/pyyaml[${PYTHON_USEDEP}]
24 dev-python/six[${PYTHON_USEDEP}]"
25 DEPEND="dev-python/ruamel-yaml[${PYTHON_USEDEP}]
26 dev-python/setuptools[${PYTHON_USEDEP}]
27 dev-python/setuptools_scm[${PYTHON_USEDEP}]
28 dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
30 dev-python/flake8[${PYTHON_USEDEP}]
31 dev-python/nose[${PYTHON_USEDEP}]
32 dev-python/wheel[${PYTHON_USEDEP}]