1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_6} )
8 inherit distutils-r1 git-r3
10 DESCRIPTION="Colored, side-by-side diff terminal viewer"
11 HOMEPAGE="https://github.com/ymattw/cdiff"
12 EGIT_REPO_URI="https://github.com/ymattw/cdiff.git"
20 !<app-misc/colordiff-1.0.13-r1
21 dev-python/setuptools[${PYTHON_USEDEP}]
25 PATCHES=( "${FILESDIR}"/${PN}-0.9.2-disable-unimportant-failing-test.patch )
27 DOCS=( CHANGES.rst README.rst )
30 ${PYTHON} tests/test_cdiff.py || die "Unit tests failed."
32 ./tests/regression.sh || die "Regression tests failed."