1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
7 PYTHON_REQ_USE="threads(+)"
11 DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide"
12 HOMEPAGE="https://github.com/hhatto/autopep8 https://pypi.org/project/autopep8/"
13 if [[ ${PV} == *9999* ]]; then
14 EGIT_REPO_URI="https://github.com/hhatto/${PN}.git"
17 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
18 KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
24 RDEPEND=">=dev-python/pycodestyle-2.5.0[${PYTHON_USEDEP}]"
25 BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
26 test? ( dev-python/pydiff[${PYTHON_USEDEP}] )"
28 distutils_enable_tests setup.py