# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python{2_7,3_6,3_7} pypy ) inherit distutils-r1 DESCRIPTION="A framework for managing and maintaining multi-language pre-commit" HOMEPAGE="https://github.com/pre-commit/pre-commit" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" RESTRICT="test" DEPEND="dev-python/aspy-yaml[${PYTHON_USEDEP}] dev-python/cfgv[${PYTHON_USEDEP}] dev-python/identify[${PYTHON_USEDEP}] dev-python/importlib_metadata[${PYTHON_USEDEP}] dev-python/nodeenv[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] dev-python/toml[${PYTHON_USEDEP}] >=dev-python/virtualenv-15.2[${PYTHON_USEDEP}] $(python_gen_cond_dep 'dev-python/futures[${PYTHON_USEDEP}]' python2_7) $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python2_7 python3_{6})"