On 08/23/2016 11:59 AM, Chi Hsuan Yen wrote:
Shamefully I didn't study the package guidelines carefully. I write PKGBUILDs for Python packages by copying from the (somewhat out-dated) Python PKGBUILD template [1], which is encouraging the wrong way. Official packages, like python-pip or python-virtualenv, use a similar approach too.
[1] https://git.archlinux.org/abs.git/tree/prototypes/PKGBUILD-python.proto
The ABS prototypes are out of date and the Wiki recommends you not use them. See also the bugtracker: https://bugs.archlinux.org/task/34485 Though I will acknowledge that my statement was a matter of personal logic and personal preference. I have actually seen it done both ways *for architecture-independent modules in the main repos*. So there is no formal consensus which way to do it, though naturally I cannont be expected to support the side I disagree with. :D -- Eli Schwartz