Files
gentoo/dev-python/yapf/yapf-0.24.0.ebuild
T
Horea Christian 292417b540 dev-python/yapf: new package.
A package which checks for good Python code style.

Signed-off-by: Horea Christian <horea.christ@gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10297
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
2018-11-08 23:25:45 +01:00

24 lines
508 B
Bash

# Copyright 2018 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
}