summaryrefslogtreecommitdiff
path: root/dev-util/ydiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/ydiff')
-rw-r--r--dev-util/ydiff/Manifest4
-rw-r--r--dev-util/ydiff/ydiff-1.2-r2.ebuild4
-rw-r--r--dev-util/ydiff/ydiff-1.3.ebuild28
3 files changed, 33 insertions, 3 deletions
diff --git a/dev-util/ydiff/Manifest b/dev-util/ydiff/Manifest
index a47d738a9576..c3f527b4211d 100644
--- a/dev-util/ydiff/Manifest
+++ b/dev-util/ydiff/Manifest
@@ -1,4 +1,6 @@
DIST ydiff-1.2.tar.gz 42808 BLAKE2B 927482c2ed9a96efc354178679b4ba50497289bc31107e8cdef3062a71d91268fa703620f1f4b0be03aebaf339eba5254f4b43c16403f1d7818b84b0c450defb SHA512 0eb2230b64f43e20f6dc2411296389dc99356ef626152dc7f234583f70678e64a07b764fd89635479e7ac4aa7e2490db6e76c744369eefef8ab6a5386db1a7b5
+DIST ydiff-1.3.tar.gz 74115 BLAKE2B 5cc0a4405148940772000e13a0f2d955c8fdbe63890cdd912b78a808dd231c7682de2fa81d5cf7ec7442dc47b2ae0fa5430dbd40ed39c636fdf43a288e8b41aa SHA512 ac9f4ce3383903275e0f71295009098aaca6a38449489bff70026a8090863b2f3b2c566908602c145473b72edf491d0ce2ce75802e397db2e04b10a158b35c99
EBUILD ydiff-1.2-r1.ebuild 599 BLAKE2B 8e7f6558fdd0db8fb96d2f2caff5d41b142dfd107110cb046e546d8a02d55e5e87c8e371b45f47ba7b0e4f46d2a72b556ea0317bfc12f97b6292b6b7843c4b16 SHA512 07f49ded5e0f84ad69e92ada1e7a86a1585c090dc78fdeb7b47c07abd74b77e80e5fb05b1e83136ec656214039e853fea8932a8383b09cd6860d3ee6c26e17e5
-EBUILD ydiff-1.2-r2.ebuild 601 BLAKE2B 8a1d3e071f3815c124fec38dd41e1e20a61138509a0b09209f356c056b6227b8bd742c393f9b30983eb72587bdd3a38f5e2ba2a1e84d40e7463e6264c74f2528 SHA512 060f5b97f7d6cdbca05582c95e67e21183825c066487e2d9e4503954e344620560e3aaeaabe78ca2c1b77a50e6ee0c65bca7fde5e627a4160f808ba194455b1a
+EBUILD ydiff-1.2-r2.ebuild 599 BLAKE2B 42dd7eac4abb2653d46697039f8218e31e3f3c78354ef6f5321e3d1a7a5473240f9a68d00bc4d39158657e80f887903e89130f6c85224861260444305f6f2c5c SHA512 093f67d1613bc2d99deb5aec71f0a88388d2d3c244b2f04ff26a81cf7c54d732af847f48193ad1a790df288bdd84a9867f56bc596c48239091c9821667d23f0f
+EBUILD ydiff-1.3.ebuild 599 BLAKE2B 42dd7eac4abb2653d46697039f8218e31e3f3c78354ef6f5321e3d1a7a5473240f9a68d00bc4d39158657e80f887903e89130f6c85224861260444305f6f2c5c SHA512 093f67d1613bc2d99deb5aec71f0a88388d2d3c244b2f04ff26a81cf7c54d732af847f48193ad1a790df288bdd84a9867f56bc596c48239091c9821667d23f0f
MISC metadata.xml 394 BLAKE2B 7333c46ff0d147ca8dc7eafd8e5f3eae67c7217467d45431585898948671df5e836995e89414fb95a9645f69c4f1d2020168a87b952115ce3b6225d89b46aa01 SHA512 781694fc99405f67446875b9fb40a306cd5223f1f27d1fff5f0bd2fe35aee1d6a518486999d06732e89fdc5759afdf0235615170718fea80ba0d69fc95f97fe7
diff --git a/dev-util/ydiff/ydiff-1.2-r2.ebuild b/dev-util/ydiff/ydiff-1.2-r2.ebuild
index 3f16531fa948..c74fbe07d12c 100644
--- a/dev-util/ydiff/ydiff-1.2-r2.ebuild
+++ b/dev-util/ydiff/ydiff-1.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/ymattw/ydiff"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
RDEPEND="sys-apps/less"
diff --git a/dev-util/ydiff/ydiff-1.3.ebuild b/dev-util/ydiff/ydiff-1.3.ebuild
new file mode 100644
index 000000000000..c74fbe07d12c
--- /dev/null
+++ b/dev-util/ydiff/ydiff-1.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Colored, side-by-side diff terminal viewer (ex. cdiff)"
+HOMEPAGE="https://github.com/ymattw/ydiff"
+
+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."
+}