From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A1964138359 for ; Sun, 9 Aug 2020 23:00:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD78DE0822; Sun, 9 Aug 2020 23:00:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AD621E0822 for ; Sun, 9 Aug 2020 23:00:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2620F34F38D for ; Sun, 9 Aug 2020 23:00:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A01032CE for ; Sun, 9 Aug 2020 23:00:35 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1597013824.9aeb9834937f3ca47a8d437ebf8ef3a7b0f2aa5b.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ydiff/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/ydiff/Manifest dev-util/ydiff/ydiff-1.2.ebuild X-VCS-Directories: dev-util/ydiff/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 9aeb9834937f3ca47a8d437ebf8ef3a7b0f2aa5b X-VCS-Branch: master Date: Sun, 9 Aug 2020 23:00:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7eb8aec6-213d-4088-8845-60a6fa4bf748 X-Archives-Hash: 66296ce2a06d91e73bb783c72ab5a26d commit: 9aeb9834937f3ca47a8d437ebf8ef3a7b0f2aa5b Author: Sebastian Pipping gentoo org> AuthorDate: Sun Aug 9 22:57:04 2020 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sun Aug 9 22:57:04 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aeb9834 dev-util/ydiff: 1.2 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.0, Repoman-2.3.23 dev-util/ydiff/Manifest | 1 + dev-util/ydiff/ydiff-1.2.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-util/ydiff/Manifest b/dev-util/ydiff/Manifest index 3a7963024d4..4de4a7a39ad 100644 --- a/dev-util/ydiff/Manifest +++ b/dev-util/ydiff/Manifest @@ -1 +1,2 @@ DIST ydiff-1.1.tar.gz 36357 BLAKE2B 4465c85132bb7c7d58c13dd79903610c74edec3b2b8ab8980918a1bf3a98f2b8387872a0974743503fcaad1e7ecb24c21d312a13d9aabe94780e9d623c35175a SHA512 575b3327edd3b8796f5f150fc7ebde32561e1782582e03e9b63bf9010998913fb8b00a8245d799f6cd5599e286f07f9e97e160f23606323d1a6f6059faa59bc9 +DIST ydiff-1.2.tar.gz 42808 BLAKE2B 927482c2ed9a96efc354178679b4ba50497289bc31107e8cdef3062a71d91268fa703620f1f4b0be03aebaf339eba5254f4b43c16403f1d7818b84b0c450defb SHA512 0eb2230b64f43e20f6dc2411296389dc99356ef626152dc7f234583f70678e64a07b764fd89635479e7ac4aa7e2490db6e76c744369eefef8ab6a5386db1a7b5 diff --git a/dev-util/ydiff/ydiff-1.2.ebuild b/dev-util/ydiff/ydiff-1.2.ebuild new file mode 100644 index 00000000000..d3dfb7dd60a --- /dev/null +++ b/dev-util/ydiff/ydiff-1.2.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." +}