diff options
author | Sebastian Pipping <sping@gentoo.org> | 2022-11-28 23:51:49 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2022-11-29 01:42:35 +0100 |
commit | 137324be7e73c88b5972a06f0782ccdd2b7aa181 (patch) | |
tree | 179b793aa18463554f2cd39eced3f4f421de38e9 /dev-util/ydiff | |
parent | dev-util/gprof2dot: Python 3.11 + DistutilsNonPEP517Build + MissingRemoteId (diff) | |
download | gentoo-137324be7e73c88b5972a06f0782ccdd2b7aa181.tar.gz gentoo-137324be7e73c88b5972a06f0782ccdd2b7aa181.tar.bz2 gentoo-137324be7e73c88b5972a06f0782ccdd2b7aa181.zip |
dev-util/ydiff: Python 3.11 + EAPI 8 + DistutilsNonPEP517Build
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'dev-util/ydiff')
-rw-r--r-- | dev-util/ydiff/ydiff-1.2-r1.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-util/ydiff/ydiff-1.2-r1.ebuild b/dev-util/ydiff/ydiff-1.2-r1.ebuild new file mode 100644 index 000000000000..0eade4e715b1 --- /dev/null +++ b/dev-util/ydiff/ydiff-1.2-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Colored, side-by-side diff terminal viewer (ex. cdiff)" +HOMEPAGE="https://github.com/ymattw/ydiff" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="sys-apps/less" + +DOCS=( CHANGES.rst README.rst ) + +RESTRICT="test" + +python_test() { + ${PYTHON} tests/test_ydiff.py || die "Unit tests failed." + + ./tests/regression.sh || die "Regression tests failed." +} |