On 5/18/25 1:41 PM, a...@nullvoid.me wrote:
Hi,
Could someone review https://aur.archlinux.org/packages/wtfis
This is my first time packaging a python tool from PyPI
My understanding since it's not a library python-wtfis would be an
incorrect naming convention.
I used a tool to generate the first PKGBUILD then added dependencies.
I assume lots of other things are missing to make this meet proper AUR
standards.
Thanks in advance,
https://wiki.archlinux.org/title/Python_package_guidelines#Source
Beyond that, the license can't be "None". If you don't have a license to
use the software, you can't use it.
The 'arch' doesn't seem to be correct. This appears to be pure python,
no compiled binaries.
The whole '|| exit' thing hasn't been necessary in PKGBUILDs for many
years now.
You're correct on the naming, this is a tool, so no python- prefix.
What's the point of '_origpkgname'?
'python -m build' should generally be done in the build function.
Can't say much about the deps/makedeps, but having both
python-setuptools and python-hatchling seems strange. Are you sure both
are required?