Package Details: pkgbrowser 0.28.1-3

Git Clone URL: https://aur.archlinux.org/pkgbrowser.git (read-only, click to copy)
Package Base: pkgbrowser
Description: A utility for browsing pacman databases and the AUR
Upstream URL: https://codeberg.org/kachelaqa/pkgbrowser
Licenses: GPL2
Submitter: kachelaqa
Maintainer: kachelaqa
Last Packager: kachelaqa
Votes: 282
Popularity: 0.28
First Submitted: 2011-04-20 18:18 (UTC)
Last Updated: 2024-09-16 22:12 (UTC)

Latest Comments

1 2 3 4 5 6 .. 19 Next › Last »

trux commented on 2024-12-22 22:51 (UTC)

Small change in PKGBUILD to fix the error: python>=3.13

blackhole commented on 2024-12-22 16:01 (UTC)

I tried to remove 'python<3.13' but I have errors

rafaelff commented on 2024-12-17 04:37 (UTC)

Python 3.13.1 landed core-testing repository and it breaks the 'python<3.13' dependency in the PKGBUILD.

galvez_65 commented on 2024-09-15 16:35 (UTC)

1+ for @siliconmeadow's patch applied it and it build successfully

siliconmeadow commented on 2024-09-15 14:45 (UTC)

Due to pacman 7 out now, I did part of what @becko suggested and removed the upper limit version of pacman:

diff --git a/PKGBUILD b/PKGBUILD
index 2fdb04d..f300024 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgdesc='A utility for browsing pacman databases and the AUR'
 arch=('x86_64')
 url="https://codeberg.org/kachelaqa/$pkgname"
 license=('GPL2')
-depends=('pacman>=4.1' 'pacman<6.2' 'python>=3.2' 'python<3.13' 'python-pyqt5')
+depends=('pacman>=4.1' 'python>=3.2' 'python<3.13' 'python-pyqt5')
 makedepends=('python-setuptools')
 install="$pkgname.install"
 source=("https://codeberg.org/kachelaqa/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")


Cody_Learner commented on 2024-04-28 18:44 (UTC) (edited on 2024-04-28 19:22 (UTC) by Cody_Learner)

Had to add python-setuptools to the depends array in the PKGBUILD to get it to build.

EDIT:

OK, I rebuild pkgbrowser adding a makedepends array in the PKGBUILD. ie: makedepends=('python-setuptools') inserted below the depends array.

Pkgbrowser doesn't need python-setuptools to run, so no point in having it listed as a dependency.

I build both with my AUR helper, https://github.com/Cody-Learner/aurch , and in a clean chroot using pkgctl build. The 'pkgctl' script is provided by the devtools package.

yochananmarqos commented on 2024-04-27 21:30 (UTC) (edited on 2024-04-28 14:21 (UTC) by yochananmarqos)

@galvez_65: How do you figure?

In Python 3.12, distutils will no longer be installed by make install or any of the first-party distribution. Third-party redistributors should no longer include distutils in their bundles or repositories.

-- https://peps.python.org/pep-0632/#specification

python3 src/setup.py build_ext --inplace --build-temp build
/usr/bin/pyuic5 --from-imports -o pkgbrowser/ui/about.py designer/about.ui
/usr/bin/pyuic5 --from-imports -o pkgbrowser/ui/help.py designer/help.ui
/usr/bin/pyuic5 --from-imports -o pkgbrowser/ui/window.py designer/window.ui
pyrcc5 -o pkgbrowser/ui/resources_rc.py resources.qrc
python3 -m compileall -ql pkgbrowser pkgbrowser/ui
Traceback (most recent call last):
  File "/build/pkgbrowser/src/pkgbrowser-0.28/src/setup.py", line 1, in <module>
    from distutils.core import setup, Extension
ModuleNotFoundError: No module named 'distutils'
make: *** [Makefile:34: alpm] Error 1
make: *** Waiting for unfinished jobs....

EDIT: Adding python-setuptools to makedepends() allows it to build successfully.

blackhole commented on 2024-04-27 20:42 (UTC)

I agree!

becko commented on 2024-04-27 20:41 (UTC)

I believe that removing the pacman<6.1 and python<3.12 restrictions would make it more robust, there would be no need to fix after every pacman and python update. Those updates might break but they would break it anyway.

galvez_65 commented on 2024-04-27 18:47 (UTC)

editing the PKGBUILD file changing python from <3.12 to <3.13 and bumping the release allows this to be installed. I've not done extensive testing but it starts and does a simple search.