Files
gentoo/dev-python/yapf/yapf-0.28.0.ebuild
T
Florian Schmaus 2726fb67ac dev-python/yapf: Bump to version 0.28.0
Closes: https://bugs.gentoo.org/693580
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Florian Schmaus <flo@geekplace.eu>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2019-09-15 19:48:42 +03:00

24 lines
513 B
Bash

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