From 4072fa366a599b2cf3267d0bbcdceb63df1a228e Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Wed, 18 Mar 2020 01:27:54 +0100 Subject: dev-util/ydiff: New package, successor to dev-util/cdiff Bug: https://bugs.gentoo.org/710538 Signed-off-by: Sebastian Pipping Package-Manager: Portage-2.3.92, Repoman-2.3.20 --- dev-util/ydiff/Manifest | 1 + dev-util/ydiff/metadata.xml | 12 ++++++++++++ dev-util/ydiff/ydiff-1.1.ebuild | 30 ++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 dev-util/ydiff/Manifest create mode 100644 dev-util/ydiff/metadata.xml create mode 100644 dev-util/ydiff/ydiff-1.1.ebuild (limited to 'dev-util/ydiff') diff --git a/dev-util/ydiff/Manifest b/dev-util/ydiff/Manifest new file mode 100644 index 000000000000..3a7963024d42 --- /dev/null +++ b/dev-util/ydiff/Manifest @@ -0,0 +1 @@ +DIST ydiff-1.1.tar.gz 36357 BLAKE2B 4465c85132bb7c7d58c13dd79903610c74edec3b2b8ab8980918a1bf3a98f2b8387872a0974743503fcaad1e7ecb24c21d312a13d9aabe94780e9d623c35175a SHA512 575b3327edd3b8796f5f150fc7ebde32561e1782582e03e9b63bf9010998913fb8b00a8245d799f6cd5599e286f07f9e97e160f23606323d1a6f6059faa59bc9 diff --git a/dev-util/ydiff/metadata.xml b/dev-util/ydiff/metadata.xml new file mode 100644 index 000000000000..a42be58d1e78 --- /dev/null +++ b/dev-util/ydiff/metadata.xml @@ -0,0 +1,12 @@ + + + + + sping@gentoo.org + Sebastian Pipping + + + ydiff + ymattw/ydiff + + diff --git a/dev-util/ydiff/ydiff-1.1.ebuild b/dev-util/ydiff/ydiff-1.1.ebuild new file mode 100644 index 000000000000..d3dfb7dd60a0 --- /dev/null +++ b/dev-util/ydiff/ydiff-1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=no + +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" + +DEPEND="sys-apps/less" +RDEPEND="" + +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." +} -- cgit v1.2.3-65-gdbad