On Fri, Feb 27, 2015 at 11:48:34PM +0100, Andreas Enge wrote:
> Can we use in the 'source' field something like
> (if (string=? name "python-pycairo"
>               source-x
>               source-y))

We can, but it does not work. The second package inherits not the code to
construct the source, but the already constructed source itself.
One would need a more complicated construction, like putting into this field
a procedure that is evaluated at build time and not at package creation. But
this would modify the basics of our package format (and be rather complicated).

Andreas


Reply via email to