[Debian-science-sagemath] [sage-devel] Upcoming Debian freeze

Jerome BENOIT calculus at rezozer.net
Wed Jan 9 14:11:17 GMT 2019



On 09/01/2019 17:03, Julien Puydt wrote:
> 
> 
> Le 09/01/2019 à 11:16, Jerome BENOIT a écrit :
>>
>>
>> On 09/01/2019 14:04, Jeroen Demeyer wrote:
>>> On 2019-01-08 15:05, Jerome BENOIT wrote:
>>>> The main issue will remain: we have to build two different flavours.
>>>> The autotools suite allows to do so by allowing to build outside the source directory.
>>>> Is there a way to do so with Python ?
>>>
>>> That depends on how you install "with Python". It's hard to find this out from https://salsa.debian.org/python-team/modules/cysignals/blob/master/debian/rules
>>
>> We are agree here. I have to play with debhelper.
>>
> 
> I haven't looked into it, but is it possible to:
> (1) in the d/rules build target :
>    - call the python build script with the first set of options ;
>    - copy the resulting files in a subdirectory (dist_pari) ;
>    - call the python build script to clean ;
>    - call the python build script with the second set of options ;
>    - copy the resulting files in a subdirectory  (dist_nopari) ;
> (2) in the install target (well, the debian/*.install files probably), get the files each package in the relevant directory.
> 
> ?

This is basically what I am doing.

> 
> I have the same problem with flint&flint-arb : a configure script which isn't one and hence confuses debhelper... perhaps I should open a bug report so debhelper doesn't just check for a configure script, but also checks basic soundness (a line starting with "# Generated by GNU Autoconf" for example). But at least with flint&flint-arb, I only have a single set of options to compile with...


I think that allowing dh to pass several time in the same directory source would be perfect for such a situation.

Cheers,
Jerome 

> 
> I hope that helps,
> 
> JP
> 
> _______________________________________________
> Debian-science-sagemath mailing list
> Debian-science-sagemath at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-sagemath

-- 
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calculus@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1528 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-sagemath/attachments/20190109/893ffa29/attachment.sig>


More information about the Debian-science-sagemath mailing list