Search Criteria
Package Details: tortoisehg 6.9-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/tortoisehg.git (read-only, click to copy) |
---|---|
Package Base: | tortoisehg |
Description: | Graphical tools for Mercurial |
Upstream URL: | https://foss.heptapod.net/mercurial/tortoisehg/thg |
Licenses: | GPL |
Submitter: | bwalle |
Maintainer: | Misery |
Last Packager: | Misery |
Votes: | 126 |
Popularity: | 0.013380 |
First Submitted: | 2011-06-11 12:14 (UTC) |
Last Updated: | 2025-04-02 08:13 (UTC) |
Dependencies (12)
- mercurial (mercurial-hgAUR, mercurial-stable-hgAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-iniparseAUR (python-iniparse-gitAUR)
- python-pyqt5 (python-pyqt5-sip4AUR, python-pyqt5-webkitAUR, python-pyqt5-pre-releaseAUR)
- python-qscintilla-qt5
- qt5-svg (qt5-svg-gitAUR)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
- python-nautilus (nautilus-python) (optional) – Python binding for Nautilus components
- python-pygments (optional) – syntax highlighting
Latest Comments
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 23 Next › Last »
sotoleni commented on 2019-11-28 09:05 (UTC)
Now the official mercurial 5.3 package is available on the repository. Using it I tried to install tortoisehg, and the makepkg give me the following error:
==> Starting package()... Traceback (most recent call last): File "setup.py", line 29, in <module> from i18n.msgfmt import Msgfmt File "/home/toni/.cache/pacaur/tortoisehg/src/tortoisehg-thg-fb9035853199/i18n/msgfmt.py", line 39, in <module> from mercurial import ( ModuleNotFoundError: No module named 'mercurial' ==> ERROR: A failure occurred in package().
Has anyone solved this problem? Thank you very much.
chrisjbillington commented on 2019-11-27 16:04 (UTC) (edited on 2019-11-27 16:05 (UTC) by chrisjbillington)
@j77h the file conflicts are because you are on Python 3.7, whereas the PKGBUILD assumes Python 3.8. That will break if mercurial updates, since the two packages have conflicting files you'll be deleting them back and forth every update until you update Python.
This package would do better to work out the Python version at build time in order to delete the right conflicting files from the pkgdir. I suggested the following snippet which is used in the tortoisehg-hg package to delete the duped files:
j77h commented on 2019-11-27 15:58 (UTC) (edited on 2019-11-27 16:02 (UTC) by j77h)
this might help others with the same need.
(sorry for lack of verbosity, it's very late here, but it should be self-explanatory when you try it)
edited PKGBUILD:
from depends=('python' 'mercurial>=5.1' 'mercurial<5.3' 'python-qscintilla-qt5' 'python-iniparse' 'qt5-svg' 'python-pyqt5')
to depends=('python' 'mercurial' 'python-qscintilla-qt5' 'python-iniparse' 'qt5-svg' 'python-pyqt5')
error: failed to commit transaction (conflicting files)
tortoisehg: /usr/lib/python3.7/site-packages/hgext3rd/init.py exists in filesystem (owned by mercurial-stable-hg)
tortoisehg: /usr/lib/python3.7/site-packages/hgext3rd/pycache/init.cpython-37.pyc exists in filesystem (owned by mercurial-stable-hg)
I could then run tortoisehg
chrisjbillington commented on 2019-11-27 14:49 (UTC)
@j77h you can read about how to download and build (after editing their PKGBUILDs if you like) packages from the AUR without an AUR helper here:
https://wiki.archlinux.org/index.php/Arch_User_Repository#Acquire_build_files
This is assumed knowledge on the AUR since Arch doesn't include AUR helpers in its repository (i.e. people must manually build at least one AUR package before they can use the AUR). So it will be good to know it since much advice in comment threads like this will assume you're familiar (and yeah, some people will get annoyed at people who don't know).
Also what kind of AUR helper doesn't let you download PKGBUILDs for editing before installing them? That is pretty contrary to what the AUR is supposed to be. Might I recommend
yay
?j77h commented on 2019-11-27 14:10 (UTC) (edited on 2019-11-27 14:46 (UTC) by j77h)
@chrisjbillington
I installed
mercurial-stable-hg
, and now I'm wondering how to edit PKGBUILD oftortoisehg
, as these AUR helpers don't get as far as offering that possibility.EDIT: Sorry for very n00b question; this probably answers it: https://github.com/Jguer/yay/issues/750
vlatkoB commented on 2019-11-25 17:17 (UTC)
@chrisjbillington Thanks a lot for the detailed instructions. thg works. :-)
chrisjbillington commented on 2019-11-25 16:48 (UTC) (edited on 2019-11-25 16:50 (UTC) by chrisjbillington)
@vlatkoB this package indeed requires mercurial 5.2 built with Python 3. You could use mercurial-stable-hg or mercurial-hg, though those do not have version numbers that start with 5.2, since they are straight from the mercurial hg repo and not an official release. If you used them you would need to modify this package's
PKGBUILD
to allow anymercurial
version so that it doesn't choke on that.Another option (the one I've gone with) is to modify the
mercurial
PKGBUILD
from the repos to install the official mercurial 5.2 release with Python 3:updpkgsums
and--skippgpcheck
are essentially ignoring thepkgsums
and PGP signatures of the downloaded tarball, so feel free to verify the sha256 of the tarball yourself, though since the source is downloaded frommercurial-scm.org
over HTTPS I wouldn't be too worried.Using a modified
mercurial
from the repos has the benefit that when a version higher than than 5.2-0 becomes available in the repos, you won't have to change anything to get the update.vlatkoB commented on 2019-11-25 06:58 (UTC)
How do you install it? It has a dep on mercurial 5.2.
chrisjbillington commented on 2019-11-19 04:10 (UTC)
@mjacob thanks! I'm using that and all your other changes. Much appreciated!
mjacob commented on 2019-11-19 04:03 (UTC)
@chrisjbillington
A patch to replace all uses of
cgi.escape
was committed. Python 3.8 is now supported without further patches.« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 23 Next › Last »