On 06 Sep 2014, at 12:06, stef <[email protected]> wrote: > 1) the main script which is CLI (available for python2 and/or python3) > 2) a GTK+ GUI (optional) for python2 > 3) the GTK+ GUI (optional) for python3 > > I use the GTK+GUI for python3 on my box but perhaps some users might want (or > have to) > use python2. > > Question 1): > > The program is small (approx 250kb only) and my tendency would be to just do > the one > package with all 3 components which users will then use as they see fit, CLI > only or > GUI, etc. This would allow me to maintain only one package for this program. > >Is only one package OK with the AUR community?
You shouldn’t mix python2 and 3. Make it a split package. > Question 2) I just basically downloaded the source tarball, extracted it to > /opt and > am running it from there. > > My idea is to achieve the same with PKGBUILD, following proper protocol, etc. > > Is “installing” (extracting dir structure) to /opt a problem? Don’t do that, it’s very ewwy. Read up on how and where python packages are normally packaged. Or actually, read up on setuptools and write a setup.py that you can use in the PKGBUILD.
signature.asc
Description: Message signed with OpenPGP using GPGMail
