Package Details: pkgbrowser 0.28.1-2

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: 280
Popularity: 0.72
First Submitted: 2011-04-20 18:18 (UTC)
Last Updated: 2024-04-28 19:21 (UTC)

Latest Comments

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

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.

becko commented on 2024-04-27 14:42 (UTC)

installing python (3.12.3-1) breaks dependency 'python<3.12' required by pkgbrowser

burster commented on 2024-03-17 00:42 (UTC) (edited on 2024-03-17 00:42 (UTC) by burster)

@siliconmeadow: Thanks, too.

@galvez_65: Yes, it does.

galvez_65 commented on 2024-03-16 20:41 (UTC)

@siliconmeadow thank you your patch looks like its working

siliconmeadow commented on 2024-03-16 16:53 (UTC)

Patch to work with pacman 6.1:

diff --git a/PKGBUILD b/PKGBUILD
index 80ff458..d3f22a5 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.1' 'python>=3.2' 'python<3.12' 'python-pyqt5')
+depends=('pacman>=4.1' 'pacman<6.2' 'python>=3.2' 'python<3.12' 'python-pyqt5')
 install="$pkgname.install"
 source=("https://codeberg.org/kachelaqa/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
 md5sums=('0d10a01c6cc64ba0057f38e528c5778b')

rafaelff commented on 2024-03-15 02:26 (UTC)

Heads up: pacman 6.1.0-2 in testing repo and should land in stable soon, and this package depends on pacman<6.1.