summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2022-05-24 12:05:21 -0700
committerPatrick McLean <chutzpah@gentoo.org>2022-05-24 12:05:37 -0700
commit22d8446a7f78e16d44117233c43d4726fdb9f065 (patch)
treeb343a937d0d9407bf635ace763c23ecb319f8d51
parentdev-python/moto: Keyword 3.1.10 riscv, #847160 (diff)
downloadgentoo-22d8446a7f78e16d44117233c43d4726fdb9f065.tar.gz
gentoo-22d8446a7f78e16d44117233c43d4726fdb9f065.tar.bz2
gentoo-22d8446a7f78e16d44117233c43d4726fdb9f065.zip
app-misc/icdiff: add 2.0.5
Closes: https://bugs.gentoo.org/845507 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
-rw-r--r--app-misc/icdiff/Manifest1
-rw-r--r--app-misc/icdiff/icdiff-2.0.5.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/app-misc/icdiff/Manifest b/app-misc/icdiff/Manifest
index ed442368fcd..69855a9847f 100644
--- a/app-misc/icdiff/Manifest
+++ b/app-misc/icdiff/Manifest
@@ -1 +1,2 @@
DIST icdiff-1.9.5.tar.gz 31914 BLAKE2B 8d9b9b5104c3075addae2954b41c27ccebe3b4723b0e71ef88a214d7fa0ff7d8cb9ac52cada8ddec929d308a356daf37ef4463a52667f7e229a4a33d1d993e86 SHA512 f4c50da1e73a1af2fd63feabfd180125637a856a8757356eb3b48bbc21871f36a2c876acd2e2ba9d354c8f6e658f6e262fbbfd65fa4078d0adebc1353d87e40a
+DIST icdiff-2.0.5.tar.gz 33806 BLAKE2B b8b17f72ed32923fa436713f28263bd79ac899cc291581ba4aac4bbe64daa1749e10fb63ea597be58e5557854757943aeb2c718fa972496d12c24a2071248550 SHA512 9ac3705ba8fbc277b9af2c47a5b791bb8ed98da0546410cafc206992e25e98cc7fba6e920d6acd1a576c609be853ad52a5680e456a9c70132c5f323fb4b6694d
diff --git a/app-misc/icdiff/icdiff-2.0.5.ebuild b/app-misc/icdiff/icdiff-2.0.5.ebuild
new file mode 100644
index 00000000000..b7380fdb9b6
--- /dev/null
+++ b/app-misc/icdiff/icdiff-2.0.5.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Colourized diff that supports side-by-side diffing"
+HOMEPAGE="https://www.jefftk.com/icdiff"
+SRC_URI="https://github.com/jeffkaufman/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-release-${PV}"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PATCHES=(
+ "${FILESDIR}/icdiff-1.9.5-tests.patch"
+)
+
+DOCS=(README.md ChangeLog)
+
+python_test() {
+ bash test.sh "${EPYTHON%.*}" || die "Tests failed with ${EPYTHON}"
+}