You are not logged in.
How do I properly package a python script in the AUR?
PKGBUILD as of now:
#maintainer jaydendev
pkgname="pclish"
pkgver="0.7.0"
pkgrel="0.7"
pkgdesc="Python Command-Line Shell"
arch=("x86_64" "arm")
depends=("python" "pyinstaller")
license=("MIT")
source=("https://dl.jaydendev.repl.co/pclish-0.7.0.zip")
build() {
cd "${srcdir}/${pkgname}"
}Last edited by JaydenDev (2022-07-13 17:45:29)
System Specs:
Intel Core i5-2400 Nvidia GTX 1050ti Logitech G402 Hyperion Fury (Mouse) BestBuy Essentials USB Keyboard
Software Specifications:
Desktop Environment: KDE Plasma Window Manager: KWin Operating System: Arch Linux (btw)
Offline
Guidelines for Python packages and the general rules about writing a PKGBUILD for AUR.
Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
Guidelines for Python packages and the general rules about writing a PKGBUILD for AUR.
I have read both, but this isn't my request. However, I might as well marked this as closed. Because I probably can just rename the python file (remove the extension), and use the same method as a bash script would be installed.
System Specs:
Intel Core i5-2400 Nvidia GTX 1050ti Logitech G402 Hyperion Fury (Mouse) BestBuy Essentials USB Keyboard
Software Specifications:
Desktop Environment: KDE Plasma Window Manager: KWin Operating System: Arch Linux (btw)
Offline
As you also maintain the upstream package you could add a PEP 517 compliant pyproject.toml upstream then you could follow the python packing guidelines.
Offline
I have read both, but this isn't my request.
So, what is the request? An answer can’t be given without knowing the question, and the only question stated is a very general one.
Because I probably can just rename the python file (remove the extension)
Maybe yes, may be not. Depends on the PKGBUILD, but we do not see any to provide comments. The only PKGBUILD presented so far doesn’t contain anything like that and doesn’t follow the linked guidelines too.
Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
How do I properly package a python script in the AUR?
Definitely not how it was submitted previously (PRQ#36392).
Take a look at other PKGBUILDs in the AUR that use pyinstaller for reference.
Last edited by yochananmarqos (2022-07-13 22:05:01)
Offline