Package Details: python-pynotify 1.6.2-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: GPL-2.0-or-later
Submitter: GeneArch
Maintainer: GeneArch
Last Packager: GeneArch
Votes: 3
Popularity: 0.000098
First Submitted: 2024-03-29 22:40 (UTC)
Last Updated: 2025-11-01 19:02 (UTC)

Pinned Comments

GeneArch commented on 2025-01-03 10:34 (UTC)

Note on getting the git signing public key. Any of the following:

1) Get fresh copy of the package (on this page Package Actions Download Snapshot) Unpack tar file and the key will be in keys/pgp:

gpg --import < keys/pgp/*.asc

2) Available on github (same account as the package source): https://github.com/gene-git/blog/tree/master/git-keys

3) From authors website : https://www.sapience.com/tech

4) via WKD curl $(gpg-wks-client --print-wkd-url arch@sapience.com) | gpg --import

Latest Comments

« First ‹ Previous 1 2

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.

Bonnietwin commented on 2024-09-05 13:20 (UTC) (edited on 2024-09-05 13:20 (UTC) by Bonnietwin)

Your method is different to mine. I will give it a go.

The way I was doing it was as per the Arch User Repository wiki page. https://wiki.archlinux.org/title/Arch_User_Repository

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

cd python-pynotify

makepkg -sirc

pacman -U python-pynotify-1.2.4-1-any.pkg.tar.zst

GeneArch commented on 2024-09-05 13:11 (UTC) (edited on 2024-09-05 13:18 (UTC) by GeneArch)

Thanks for letting me know - I am trying to reproduce this but it works for me. How are you building the package (oops you said using makepkg - never mind)

Here's what I did :

wget https://aur.archlinux.org/cgit/aur.git/snapshot/python-pynotify.tar.gz

tar xf python-pynotify.tar.gz

cd python-pynotify

makepkg

...

Then:

ls pkg/python-pynotify/usr/lib/python3.12/site-packages/pynotify

Which looks fine. Check the package:

pacman -Ql -p python-pynotify-1.2.4-1-any.pkg.tar.zst

Also looks fine.

Bonnietwin commented on 2024-09-05 12:52 (UTC) (edited on 2024-09-05 12:53 (UTC) by Bonnietwin)

I am trying to build this as a dependency for wg-client. When I build wg-client it finds python-pynotify is present (does not flag it up as missing). However then running wg-client gives the message that python-pynotify is missing.

I then ran pacman -Ql python-pynotify and the only files installed are under /usr/share.

I also checked the contents of the python-pynotify-1.2.4-1-any.pkg.tar.zst file created after running makepkg -sirc and this also only has the /usr/share directory contents. I have tried building python-pynotify from scratch three times and each time I have got the same result of only the /usr/share files.

There are no files for /usr/lib/python3.12/site-packages in the pkg.tar.zst file

Am I doing something wrong in my package building or is there a bug somewhere?