diff options
author | Sebastian Pipping <sping@gentoo.org> | 2020-03-18 01:27:54 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2020-03-18 01:42:10 +0100 |
commit | 4072fa366a599b2cf3267d0bbcdceb63df1a228e (patch) | |
tree | cfb595400f158c4074a723cc2e60382c26cafb97 /dev-util/ydiff | |
parent | sys-cluster/rdma-core-28.0: add ~alpha, bug 705802 (diff) | |
download | gentoo-4072fa366a599b2cf3267d0bbcdceb63df1a228e.tar.gz gentoo-4072fa366a599b2cf3267d0bbcdceb63df1a228e.tar.bz2 gentoo-4072fa366a599b2cf3267d0bbcdceb63df1a228e.zip |
dev-util/ydiff: New package, successor to dev-util/cdiff
Bug: https://bugs.gentoo.org/710538
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-2.3.92, Repoman-2.3.20
Diffstat (limited to 'dev-util/ydiff')
-rw-r--r-- | dev-util/ydiff/Manifest | 1 | ||||
-rw-r--r-- | dev-util/ydiff/metadata.xml | 12 | ||||
-rw-r--r-- | dev-util/ydiff/ydiff-1.1.ebuild | 30 |
3 files changed, 43 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sping@gentoo.org</email> + <name>Sebastian Pipping</name> + </maintainer> + <upstream> + <remote-id type="pypi">ydiff</remote-id> + <remote-id type="github">ymattw/ydiff</remote-id> + </upstream> +</pkgmetadata> 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." +} |