summaryrefslogtreecommitdiff
path: root/dev-util/ydiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/ydiff')
-rw-r--r--dev-util/ydiff/Manifest2
-rw-r--r--dev-util/ydiff/ydiff-1.4.2.ebuild29
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-util/ydiff/Manifest b/dev-util/ydiff/Manifest
index 50544f85cd66..27d4198d9d0b 100644
--- a/dev-util/ydiff/Manifest
+++ b/dev-util/ydiff/Manifest
@@ -1,5 +1,7 @@
DIST ydiff-1.3.tar.gz 74115 BLAKE2B 5cc0a4405148940772000e13a0f2d955c8fdbe63890cdd912b78a808dd231c7682de2fa81d5cf7ec7442dc47b2ae0fa5430dbd40ed39c636fdf43a288e8b41aa SHA512 ac9f4ce3383903275e0f71295009098aaca6a38449489bff70026a8090863b2f3b2c566908602c145473b72edf491d0ce2ce75802e397db2e04b10a158b35c99
DIST ydiff-1.4.1.gh.tar.gz 2966179 BLAKE2B 961f6a0a7af686f1553efc71e0016f6f94a15a061c1b964236d25758bc372c7e4c9ac38c0bc363d1da25119de4047ac35dccd4f1ef3c9034a6f1fc8dad40f0e0 SHA512 75cb0ccd4e589bd71c0d9b59dd40a16697751b4312cd18a06247dba87191cb83b69576cf3a25ca05546d5d2adc064a76c1a4d00833feb3ce49a9a851c1ed7dab
+DIST ydiff-1.4.2.gh.tar.gz 2966400 BLAKE2B ba1b6b4659d3de7d98c357a0d3c44169d04af9e606aac3ec0ef93512b59e04f5d75846ed19f7392031964f198002ff3192077052351703075b4427bbddc1e51b SHA512 8aa0cd510cab0ad73b7f99f566aedbf30929fe9d98a7675a9c271b659bec93a3fced19dc661b0018c99279cf9b1b7fd42c70d5401a348b4b3f614f3be1bec832
EBUILD ydiff-1.3.ebuild 599 BLAKE2B 42dd7eac4abb2653d46697039f8218e31e3f3c78354ef6f5321e3d1a7a5473240f9a68d00bc4d39158657e80f887903e89130f6c85224861260444305f6f2c5c SHA512 093f67d1613bc2d99deb5aec71f0a88388d2d3c244b2f04ff26a81cf7c54d732af847f48193ad1a790df288bdd84a9867f56bc596c48239091c9821667d23f0f
EBUILD ydiff-1.4.1.ebuild 687 BLAKE2B 0037158eada3024a0baae98618bd4cf25dad8a8c22af348ad5b0513f216b191d15e292c89b38245f2391cf914c25b110a5aea5403b8161d75ff29b4f74f92013 SHA512 3c8cd77d202429ff43eb3cd64d2d8c43650ecfa41e80944df4d67ccbeee848c424702a9c5a6d49ec8f4e2c53f8b9228e0dc303a62f03d3fe70b8dd4604443447
+EBUILD ydiff-1.4.2.ebuild 687 BLAKE2B 0037158eada3024a0baae98618bd4cf25dad8a8c22af348ad5b0513f216b191d15e292c89b38245f2391cf914c25b110a5aea5403b8161d75ff29b4f74f92013 SHA512 3c8cd77d202429ff43eb3cd64d2d8c43650ecfa41e80944df4d67ccbeee848c424702a9c5a6d49ec8f4e2c53f8b9228e0dc303a62f03d3fe70b8dd4604443447
MISC metadata.xml 394 BLAKE2B 7333c46ff0d147ca8dc7eafd8e5f3eae67c7217467d45431585898948671df5e836995e89414fb95a9645f69c4f1d2020168a87b952115ce3b6225d89b46aa01 SHA512 781694fc99405f67446875b9fb40a306cd5223f1f27d1fff5f0bd2fe35aee1d6a518486999d06732e89fdc5759afdf0235615170718fea80ba0d69fc95f97fe7
diff --git a/dev-util/ydiff/ydiff-1.4.2.ebuild b/dev-util/ydiff/ydiff-1.4.2.ebuild
new file mode 100644
index 000000000000..35d1eecb3016
--- /dev/null
+++ b/dev-util/ydiff/ydiff-1.4.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..13} )
+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="https://github.com/ymattw/ydiff/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.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."
+}