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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 86413158020 for ; Tue, 29 Nov 2022 00:43:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42650E0869; Tue, 29 Nov 2022 00:43:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C938E0869 for ; Tue, 29 Nov 2022 00:43:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B896034109A for ; Tue, 29 Nov 2022 00:43:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 233B276C for ; Tue, 29 Nov 2022 00:43:22 +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: <1669682555.137324be7e73c88b5972a06f0782ccdd2b7aa181.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ydiff/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/ydiff/ydiff-1.2-r1.ebuild X-VCS-Directories: dev-util/ydiff/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 137324be7e73c88b5972a06f0782ccdd2b7aa181 X-VCS-Branch: master Date: Tue, 29 Nov 2022 00:43:22 +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: 428a0865-c1ef-4de7-b320-e9fbb356c47a X-Archives-Hash: 7fb38c91885be54ccc17f2859c2ec97f commit: 137324be7e73c88b5972a06f0782ccdd2b7aa181 Author: Sebastian Pipping gentoo org> AuthorDate: Mon Nov 28 22:51:49 2022 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Tue Nov 29 00:42:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=137324be dev-util/ydiff: Python 3.11 + EAPI 8 + DistutilsNonPEP517Build Signed-off-by: Sebastian Pipping gentoo.org> dev-util/ydiff/ydiff-1.2-r1.ebuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) 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." +}