diff options
Diffstat (limited to 'dev-python/yapf/yapf-0.28.0.ebuild')
-rw-r--r-- | dev-python/yapf/yapf-0.28.0.ebuild | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-python/yapf/yapf-0.28.0.ebuild b/dev-python/yapf/yapf-0.28.0.ebuild new file mode 100644 index 000000000000..b405b45fdc9b --- /dev/null +++ b/dev-python/yapf/yapf-0.28.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 2018-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +inherit distutils-r1 + +DESCRIPTION="A formatter for Python files" +HOMEPAGE="https://github.com/google/yapf" +SRC_URI="https://github.com/google/yapf/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +python_test() { + esetup.py test +} |