[aur-general] Python split packages and devtools

Florian Pritz bluewind at xinu.at
Sat Nov 21 16:50:49 UTC 2015

On Sat, 21 Nov 2015 17:03:54 +0100 Fabien Dubosson
<fabien.dubosson at gmail.com> wrote:
> Someone pointed me out that
> because of my `make-depends`, people has to have both python2 and
> python3 installed to build only the desired version of the package, what
> is true.

So? They can remove the packages again after the build is complete
(makepkg -r or preferably use devtools) and it's not like this is a
another AUR package that requires like a 20 hour build and can only be
done on a machine with at least 42 cores and 5TB of ram. It just
requires a download and some more disk space which seems like a
perfectly fine tradeoff if the alternative is to maintain two PKGBUILDs
(one for each python version).

>   - It doesn't seem possible to put the make-depends inside the
>     `pakages_<pkgname>()` function, isn't it?

Building only certain split packages is no longer supported since
commit e8deba3b87784ca14c9afc908046f36a3ad7578c. This will be part of
the next pacman version >=4.3 so even if it was possible this would be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20151121/99b87207/attachment.asc>

More information about the aur-general mailing list