Package Details: icdiff 2.0.7-1

Git Clone URL: https://aur.archlinux.org/icdiff.git (read-only, click to copy)
Package Base: icdiff
Description: Improved colored diff
Upstream URL: https://github.com/jeffkaufman/icdiff
Licenses: PSF
Submitter: mtorromeo
Maintainer: mtorromeo
Last Packager: mtorromeo
Votes: 46
Popularity: 0.001235
First Submitted: 2014-12-08 20:47 (UTC)
Last Updated: 2023-08-27 08:56 (UTC)

Latest Comments

sausix commented on 2021-12-14 18:15 (UTC)

Please bump version to trigger recompile against Python 3.10.

MayorBender commented on 2019-06-19 02:37 (UTC) (edited on 2019-06-19 02:42 (UTC) by MayorBender)

Thanks for making this package.

Minor issue though, currently it's not configured to be recognized properly by programs written in Python.

Currently Python programs state: pkg_resources.DistributionNotFound: The 'icdiff' distribution was not found and is required by...

The following changes fixed the issue for me:

 pkgname=icdiff
 pkgver=1.9.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Improved colored diff"
 arch=('any')
 depends=('python')
@@ -20,6 +20,8 @@
 package() {
   cd $pkgname-release-$pkgver

+  python setup.py install --root="${pkgdir}" --optimize=1
+
   install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md

   for _bin in git-icdiff icdiff; do

Please let me know if the changes I have suggested are incorrect as I am currently a Python novice. Thanks.

Kr1ss commented on 2018-09-05 14:27 (UTC) (edited on 2018-09-10 10:47 (UTC) by Kr1ss)

6Great package, thx a lot for providing this here @mtorromeo. There is a little error in the git-icdiff script, which already has been patched in upstream's master branch :

Since it's just a small fix, could u pls consider to apply this or something similar to the PKGBUILD :

diff --git i/PKGBUILD w/PKGBUILD
index 08330e8..6a09e06 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -3,7 +3,7 @@

 pkgname=icdiff
 pkgver=1.9.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Improved colored diff"
 arch=('any')
 depends=('python')
@@ -15,6 +15,8 @@ sha256sums=('090b0f96c5df5ae5d71f6e5325bca566dd47e8b61ec4b59d4e40acb9ffcb878f')
 package() {
   cd $pkgname-release-$pkgver

+  sed -i 's|ICDIFF_OPTIONS $\*"|ICDIFF_OPTIONS" $\*|' git-icdiff
+
   install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md

   for _bin in git-icdiff icdiff; do

EDIT Thx for the update :)

varungarg commented on 2018-02-16 10:10 (UTC)

Very nice package

mtorromeo commented on 2014-12-16 16:48 (UTC)

16 releases in 8 days is a bit much... This package cannot keep up with that but I'm going to update it every once in a while

mr.deathless commented on 2014-12-13 10:28 (UTC)

Awesome package, thank you for submitting it! I might be wrong but can it be so this package is outdated? icdiff homepage and tags at github suggest that the most recent version is 1.6.0.