Package Details: polkit-explorer-git 22.3ad139b-5

Git Clone URL: https://aur.archlinux.org/polkit-explorer-git.git (read-only, click to copy)
Package Base: polkit-explorer-git
Description: Present PolicyKit information in a human-readable form.
Upstream URL: https://github.com/scarygliders/polkit-explorer
Keywords: polkit python qt6
Licenses: ISC
Conflicts: polkit-explorer
Provides: polkit-explorer
Submitter: SunRed
Maintainer: SunRed (kcave)
Last Packager: SunRed
Votes: 33
Popularity: 0.109169
First Submitted: 2021-10-17 08:23 (UTC)
Last Updated: 2024-10-25 18:30 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

SunRed commented on 2024-10-25 18:30 (UTC)

@kcave Thanks for the heads up!

kcave commented on 2024-10-23 14:51 (UTC) (edited on 2024-10-23 14:55 (UTC) by kcave)

Hi. I'm the author of Polkit Explorer.

Just a heads-up...

I recently revisited the project after a long hiatus and have updated it, testing it with the "current Python" as at time of writing, and also moved from pyqt5 to Pyside6, amongst some other miscellaneous changes including to the README and adding a little shell script which runs pyside6-uic to compile the UI files. The version number has been upped to 1.1 as I thought 2.0 was unjustified because there's actually very little code change, just the toolset being used.

Regards, KC.

Yskar commented on 2024-08-04 02:12 (UTC) (edited on 2024-08-04 02:14 (UTC) by Yskar)

I had problems running this software using current python, so i change the line 32.

it has: from imp import reload

i changed to: from importlib import reload

And everything worked fine and i hope it helps someone (sory if the comment isin't propely formated, it's my first one).

SunRed commented on 2022-03-05 14:55 (UTC)

@whi-tw It ends up building the exact same package, people who run into this error should naturally try to clean their cache. People who have it already installed should not have to rebuild this package.

Also for this reason I like to move my build directory for yay/paru to /tmp. :)

whi-tw commented on 2022-03-03 09:47 (UTC)

@SunRed It might still be worth bumping the pkgrel (yay doesn't pick up the change without a cache clean, as build files exist for that pkgrel)

SunRed commented on 2022-03-02 14:46 (UTC)

@whi-tw @tigerjack Thanks for pointing this out. That must have happened when I renamed the package to the -git suffix. I could have sworn I tested the package build process back then but apparently I did not. A pkgrel bump should not be required as the package stays the same otherwise.

Cheers.

whi-tw commented on 2022-03-01 12:40 (UTC) (edited on 2022-03-01 12:41 (UTC) by whi-tw)

A 'better' patch for this is:

diff --git a/PKGBUILD b/PKGBUILD
index 79e9b8a..792c176 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,12 +15,12 @@ source=("git://github.com/scarygliders/${pkgname//-git}.git")
 sha256sums=('SKIP')

 pkgver() {
-       cd "${srcdir}/${pkgname}"
+       cd "${srcdir}/${pkgname//-git}"
        printf '%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

 package() {
-       cd "${srcdir}/${pkgname}"
+       cd "${srcdir}/${pkgname//-git}"

        install -d -m755 "${pkgdir}"/{usr/bin,opt/$pkgname}
        install -m644 Ui_*.py "${pkgdir}/opt/${pkgname}/"

I've emailed the maintainer

tigerjack commented on 2022-01-25 08:29 (UTC) (edited on 2022-01-25 08:31 (UTC) by tigerjack)

The only way for me to install the package was by modifying the PKGBUILD file. You have to replace lines 18 and 24, changing

cd "${srcdir}/${pkgname}"

to

cd "${srcdir}/polkit-explorer"

mkkot commented on 2019-11-02 17:38 (UTC)

I don't have patience to configure git push, but here's what you need to change in PKGBUILD:

depends=('python2' 'python2-pyqt5' 'python2-lxml' 'qt5-base')