1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_6 )
10 DESCRIPTION="Colored, side-by-side diff terminal viewer"
11 HOMEPAGE="https://github.com/ymattw/cdiff"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
16 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
19 !<app-misc/colordiff-1.0.13-r1
20 dev-python/setuptools[${PYTHON_USEDEP}]
24 DOCS=( CHANGES.rst README.rst )
29 ${PYTHON} tests/test_cdiff.py || die "Unit tests failed."
31 ./tests/regression.sh || die "Regression tests failed."