Package Details: git-cola 4.10.1-1

Git Clone URL: https://aur.archlinux.org/git-cola.git (read-only, click to copy)
Package Base: git-cola
Description: The highly caffeinated Git GUI
Upstream URL: https://git-cola.github.io
Licenses: GPL-2.0-or-later
Submitter: tdy
Maintainer: MarcinWieczorek (yochananmarqos)
Last Packager: yochananmarqos
Votes: 232
Popularity: 0.123010
First Submitted: 2008-12-05 14:38 (UTC)
Last Updated: 2024-12-15 18:12 (UTC)

Dependencies (20)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 16 Next › Last »

MarcinWieczorek commented on 2023-03-26 18:31 (UTC)

Don't ask how I knew...

harmathy commented on 2023-03-26 18:30 (UTC)

Thanks! It was in deed caused by pip packages.

MarcinWieczorek commented on 2023-03-26 17:35 (UTC)

Builds fine for me. Is your system up-to-date? Make sure you're not using any local python packages that you might have installed with pip into your ~/.local/lib/python3.10.

harmathy commented on 2023-03-26 17:29 (UTC)

On one of my machines the build process fails at building the documentation:

Successfully built git_cola-4.2.0-py3-none-any.whl
make -C docs man
make[1]: Entering directory '/data/shared/max/src/arch/aur/git-cola/src/git-cola-4.2.0/docs'
sphinx-build -b man -d _build/doctrees  -a . _build/man
Traceback (most recent call last):
  File "/usr/bin/sphinx-build", line 5, in <module>
    from sphinx.cmd.build import main
  File "/usr/lib/python3.10/site-packages/sphinx/cmd/build.py", line 20, in <module>
    from sphinx.application import Sphinx
  File "/usr/lib/python3.10/site-packages/sphinx/application.py", line 25, in <module>
    from sphinx.config import Config
  File "/usr/lib/python3.10/site-packages/sphinx/config.py", line 14, in <module>
    from sphinx.util import logging
  File "/usr/lib/python3.10/site-packages/sphinx/util/__init__.py", line 26, in <module>
    from sphinx.util.nodes import (caption_ref_re, explicit_title_re,  # noqa: F401
  File "/usr/lib/python3.10/site-packages/sphinx/util/nodes.py", line 16, in <module>
    from sphinx import addnodes
  File "/usr/lib/python3.10/site-packages/sphinx/addnodes.py", line 17, in <module>
    'meta': nodes.meta,  # type: ignore
AttributeError: module 'docutils.nodes' has no attribute 'meta'
make[1]: *** [Makefile:54: man] Error 1
make[1]: Leaving directory '/data/shared/max/src/arch/aur/git-cola/src/git-cola-4.2.0/docs'
make: *** [Makefile:136: man] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

On other machines the package builds just fine.

Anyone having the same problem or suggestions?

harmathy commented on 2022-11-09 19:47 (UTC)

@yochananmarqos Thanks!

yochananmarqos commented on 2022-11-09 16:01 (UTC)

@harmathy: Done.

harmathy commented on 2022-11-09 08:52 (UTC)

Please add 8f0f22e2adc7dfb09a75879fab9bb5404d33d561.patch as fix for #1263 until 4.0.3 is released.

PKGBUILD diff:

diff --git a/PKGBUILD b/PKGBUILD
index 4964778..bc17512 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,13 +16,19 @@ checkdepends=('appstream-glib' 'desktop-file-utils')
 optdepends=('python-pygments: syntax highlighting'
             'python-send2trash: enables "Send to Trash" functionality.'
             'tcl: to use the built-in ssh-askpass handler')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc}
+        8f0f22e2adc7dfb09a75879fab9bb5404d33d561.patch)
 sha256sums=('b5692841002895bfb2a42be5c8352dbeb454b26f267f56e15d9888e57de0a1b4'
-            'SKIP')
+            'SKIP'
+            'a0599494f83316bcdd5af2fd7620f10079248a0a061a009e7456579732ee46ce')
+
 validpgpkeys=('FA41BF59C1B48E8C5F3DA61C8CE26BF4A9F606B0') # David Aguilar <davvid@gmail.com>

 build() {
   cd "$pkgname-$pkgver"
+
+  patch -p1 < "$startdir/8f0f22e2adc7dfb09a75879fab9bb5404d33d561.patch"
+
   python -m build --wheel --no-isolation

 #  make prefix=/usr doc man

yochananmarqos commented on 2022-10-28 00:48 (UTC)

@crazybit: As the README states, this can be used with PyQt5 or PySide2. They're both optional dependencies of python-qtpy.

Having said that, since python-pyqt5 is much more common and Qt6 is becoming more prevalent, it does make sense to add it as a hard dependency. Turns out Fedora, Gentoo and openSUSE do as well.

crazybit commented on 2022-10-28 00:04 (UTC)

git-cola requires PyQt5 5.6 or newer. Without this, it will crash and remind the user to install it. python-qtpy is not enough, please add python-pyqt5 to deps. See https://github.com/git-cola/git-cola#runtime for confirmation.

Worth noting that pyqt6 crashes git-cola, so it must be pyqt5.

Thank you very much for maintaining this pkg!

takeshi2010 commented on 2022-09-02 11:07 (UTC)

@yochananmarqos Thank you :) I was able to install.