summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo J. Barberis <ricardo.barberis@gmail.com>2019-10-05 06:27:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-10-05 06:27:07 +0700
commitca7a42b945558f18d1d66b2d755d245fa0eea639 (patch)
tree281679132caca9ed106a8a916f64062cb376203e
parentcc8cc24095f81670434b0719a99734a47e78e696 (diff)
downloadslackbuilds-ca7a42b945558f18d1d66b2d755d245fa0eea639.tar.gz
development/git-cola: Updated for version 3.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/git-cola/README3
-rw-r--r--development/git-cola/git-cola.SlackBuild10
-rw-r--r--development/git-cola/git-cola.info8
3 files changed, 13 insertions, 8 deletions
diff --git a/development/git-cola/README b/development/git-cola/README
index 6dd65aad11..92af1c4bc1 100644
--- a/development/git-cola/README
+++ b/development/git-cola/README
@@ -10,4 +10,5 @@ Set QT_API=pyqt4 in your environment if you have both versions of PyQt
installed and want to ensure that PyQt4 is used.
PyQt5 is an optional dependency if you want a more "modern" interface.
-pyside is an optional, untested, dependency.
+pyside is an optional (untested by me) dependency.
+send2trash is an optional (untested by me) dependency.
diff --git a/development/git-cola/git-cola.SlackBuild b/development/git-cola/git-cola.SlackBuild
index ade84d3b09..ab3796a68b 100644
--- a/development/git-cola/git-cola.SlackBuild
+++ b/development/git-cola/git-cola.SlackBuild
@@ -4,10 +4,10 @@
# Written by Andrew Rowland <darowland@ieee.org>
-# Copyright (c) 2017-2018, Modified by: Ricardo J. Barberis <ricardo.barberis@gmail.com>
+# Copyright (c) 2017-2019, Modified by: Ricardo J. Barberis <ricardo.barberis@gmail.com>
PRGNAM=git-cola
-VERSION=${VERSION:-3.3}
+VERSION=${VERSION:-3.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,12 +53,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
make DESTDIR=$PKG prefix=/usr install
make DESTDIR=$PKG prefix=/usr install-doc
make DESTDIR=$PKG prefix=/usr install-html
+sed -i -e 's,/usr/bin/python.*,/usr/bin/python3,' $PKG/usr/bin/git-cola $PKG/usr/bin/git-dag
+sed -i -e 's,/usr/bin/env python.*,/usr/bin/env python3,' $PKG/usr/share/git-cola/bin/git-xbase \
+ $PKG/usr/share/git-cola/lib/cola/widgets/spellcheck.py
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/development/git-cola/git-cola.info b/development/git-cola/git-cola.info
index a41e778f55..76703c2064 100644
--- a/development/git-cola/git-cola.info
+++ b/development/git-cola/git-cola.info
@@ -1,10 +1,10 @@
PRGNAM="git-cola"
-VERSION="3.3"
+VERSION="3.5"
HOMEPAGE="https://git-cola.github.io/"
-DOWNLOAD="https://github.com/git-cola/git-cola/archive/v3.3/git-cola-3.3.tar.gz"
-MD5SUM="fa0012511a14921d0aaab1abce263c39"
+DOWNLOAD="https://github.com/git-cola/git-cola/archive/v3.5/git-cola-3.5.tar.gz"
+MD5SUM="379689739331cdbd0fe05742a11e34d4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="Sphinx"
+REQUIRES="python3-attrs python3-certifi Sphinx"
MAINTAINER="Ricardo J. Barberis"
EMAIL="ricardo.barberis@gmail.com"