Package Details: python-pynotify 1.2.8-1

Git Clone URL: https://aur.archlinux.org/python-pynotify.git (read-only, click to copy)
Package Base: python-pynotify
Description: Python Inotify Class
Upstream URL: https://github.com/gene-git/pynotify
Keywords: inotify python
Licenses: MIT
Submitter: GeneArch
Maintainer: GeneArch
Last Packager: GeneArch
Votes: 3
Popularity: 0.152429
First Submitted: 2024-03-29 22:40 (UTC)
Last Updated: 2024-10-19 22:08 (UTC)

Latest Comments

1 2 Next › Last »

GeneArch commented on 2024-09-05 16:36 (UTC)

Thats terrific - thank you for taking the extra time to check everything. Very much appreciated.

Bonnietwin commented on 2024-09-05 16:26 (UTC)

Just to confirm, I removed python-notify and wg-client and then all the dependencies, including python-installer and then removed the build directories.

I then did a fresh aur build for python-inotify and wg-client and I can confirm that everything is built as would be expected and wg-client and gui are both working.

Bonnietwin commented on 2024-09-05 15:35 (UTC)

No problems. Glad we could sort it out.

GeneArch commented on 2024-09-05 15:29 (UTC)

I pushed 1.2.5 with the fix and added reference to here in Docs/Changelog

My apologies again and thank you for your help.

GeneArch commented on 2024-09-05 15:19 (UTC)

Bah so sorry - you'r right its a bug with PKGBUILD. I am really glad you tracked it down.

I will fix the PKGBUILD to include the dependency on python-installer.

Bonnietwin commented on 2024-09-05 14:15 (UTC)

I have found what the issue was.

I just had to read more closely the output from running the makepkg command. The build was missing python-installer but as it is not in the dependency list it continued with the build but missed all the python-3.12 directory stuff out.

So I manually installed python-installer and then when I ran makepkg it worked correctly.

Then running wg-client afterwards gave a working binary.

GeneArch commented on 2024-09-05 13:45 (UTC)

Couple things might be good to check.

1) After a fresh makepkg what is in

ls pkg/python-pynotify/usr/lib/

Should be python3.12 as you said.

2) what is in

ls src/pynotify

Did makepkg succeed in pulling the source code from github? If not try manually cloning it:

cd src

git clone git@github.com:gene-git/pynotify.git

Bonnietwin commented on 2024-09-05 13:35 (UTC)

Okay, that is weird. I did it three times starting each time with an empty directory.

I am running python-3.12 but I will have a look and see if there are any older directories lying around that have not got cleared out.

Thanks for your help. At least I know it is working okay for you so there has to be something wrong with my setup somewhere.

GeneArch commented on 2024-09-05 13:27 (UTC)

I wonder if somehow there was an "old" build there for python 3.11 - probably not but scratching my head trying to come up with explanation.

If so, a clean build starting in an empty directory should work fine as it will pick up current version of python.

GeneArch commented on 2024-09-05 13:24 (UTC) (edited on 2024-09-05 13:29 (UTC) by GeneArch)

Ah ok - I will look into that. I did this and it worked fine too:

$ rm -rf python-pynotify*

$ git clone https://aur.archlinux.org/python-pynotify.git

cd python-pynotify

makepkg

then check "ls pkg/python-pynotify/usr/lib/python3.12/site-packages/pynotify" - it is fine

and package

pacman -Ql -p python-pynotify-1.2.4-1-any.pkg.tar.zst |grep -v share

It is fine too.