summaryrefslogtreecommitdiff
path: root/dev-util/ydiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-29 07:19:33 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-29 07:19:33 +0000
commit0bdb5244708888dfc364e30b08facc0a45281f78 (patch)
tree85a5d103ddb3f2e1434b2a741a77626999887328 /dev-util/ydiff
parent56767705335e747c2a8b3f3282e5c1a393352d54 (diff)
gentoo auto-resync : 29:11:2022 - 07:19:33
Diffstat (limited to 'dev-util/ydiff')
-rw-r--r--dev-util/ydiff/Manifest1
-rw-r--r--dev-util/ydiff/ydiff-1.2-r1.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-util/ydiff/Manifest b/dev-util/ydiff/Manifest
index f56b9a635df7..2b9f07a579cc 100644
--- a/dev-util/ydiff/Manifest
+++ b/dev-util/ydiff/Manifest
@@ -1,3 +1,4 @@
DIST ydiff-1.2.tar.gz 42808 BLAKE2B 927482c2ed9a96efc354178679b4ba50497289bc31107e8cdef3062a71d91268fa703620f1f4b0be03aebaf339eba5254f4b43c16403f1d7818b84b0c450defb SHA512 0eb2230b64f43e20f6dc2411296389dc99356ef626152dc7f234583f70678e64a07b764fd89635479e7ac4aa7e2490db6e76c744369eefef8ab6a5386db1a7b5
+EBUILD ydiff-1.2-r1.ebuild 648 BLAKE2B 08b5a2a237a5619205d77822b849e43582ebc015a5401b863eabf838652802751d15202fc8350b9fb37f631e2f8d133f15f238c2a961afc5a0091694f2bfdbdb SHA512 eff14cee863086a4bb2689896ca4511354fa84c71c1a9eae4cd71aa2147a5d4f1334c9a366d08e65fd41b5e373aa1c56b301d2532b848012b43a8bda82a3aa51
EBUILD ydiff-1.2.ebuild 642 BLAKE2B 02d2770a6ae847c95a31d4afb3d8445b0aaf63009258f85d6763a46d8a7fe8c272a02b824da8d9d9206b28dc8682d3b4179ae98650c4e50aa80db0927bf4965e SHA512 f4b4f0d5419970026c66d14d8ed75ca052b60619f7a745aecb5e44ac82efea259e440def65ce8faf722feacbe437c30aa020ae0c1048bd0ee64b8d7989c4e424
MISC metadata.xml 394 BLAKE2B 7333c46ff0d147ca8dc7eafd8e5f3eae67c7217467d45431585898948671df5e836995e89414fb95a9645f69c4f1d2020168a87b952115ce3b6225d89b46aa01 SHA512 781694fc99405f67446875b9fb40a306cd5223f1f27d1fff5f0bd2fe35aee1d6a518486999d06732e89fdc5759afdf0235615170718fea80ba0d69fc95f97fe7
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."
+}