hello, the dependency python-pyqt5 should be switched to pyside6 =).
https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/-/blob/main/BUILD.md
| Git Clone URL: | https://aur.archlinux.org/torbrowser-launcher-git.git (read-only, click to copy) |
|---|---|
| Package Base: | torbrowser-launcher-git |
| Description: | Securely and easily download, verify, install and launch Tor Browser |
| Upstream URL: | https://github.com/micahflee/torbrowser-launcher |
| Licenses: | MIT |
| Conflicts: | torbrowser-launcher |
| Provides: | torbrowser-launcher |
| Submitter: | yar |
| Maintainer: | yar |
| Last Packager: | yar |
| Votes: | 7 |
| Popularity: | 0.28 |
| First Submitted: | 2017-10-25 07:34 (UTC) |
| Last Updated: | 2023-05-19 03:59 (UTC) |
hello, the dependency python-pyqt5 should be switched to pyside6 =).
https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/-/blob/main/BUILD.md
It is not working anymore
==> Starting prepare()... patching file setup.py Hunk #1 FAILED at 33. 1 out of 1 hunk FAILED -- saving rejects to file setup.py.rej ==> ERROR: A failure occurred in prepare(). Aborting...
the reject is:
+++ setup.py @@ -33,9 +33,13 @@ from distutils.core import setup
-# detect linux distribution -distro = platform.dist()[0] +try: + #for distributions that use python3.8 + import distro as d + distro=d.LinuxDistribution()._os_release_info['name'] +except: + # detect linux distribution on python >=3.7 + distro = platform.dist()[0]
def file_list(path):
@alanaktion: Thanks for the heads up, I applied it it and it's building now.
Manually applying the patch from upstream PR #444 and installing with makepkg -ei works around the issue nicely for me. Hopefully they merge the fix soon so it's not necessary to manually patch...
I get the same error as NetHunter. And the old version of the package does not start (.. I guess, that's also because of the new python version?)
Build error:
==> Запускается build()... Traceback (most recent call last): File "setup.py", line 38, in <module> distro = platform.dist()[0] AttributeError: module 'platform' has no attribute 'dist' ==> ОШИБКА: Произошел сбой в build(). Прерывание...
Не удалось выполнить команду 'makepkg --force'.
Missing dependencies have been added.
Requires python-gpgme and python-pyqt5 as runtime dependencies.
Pinned Comments