guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] gnu: python-pycairo: Fix build with with python-3.4.3.


From: 宋文武
Subject: Re: [PATCH 2/2] gnu: python-pycairo: Fix build with with python-3.4.3.
Date: Mon, 20 Apr 2015 14:51:45 +0800
User-agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu)

Ricardo Wurmus <address@hidden> writes:

> 宋文武 writes:
>> +                 (alist-cons-before
>> +                  'build 'configure
>> +                  (lambda* (#:key outputs #:allow-other-keys)
>> +                    (zero? (system* "./waf" "configure"
>> +                                    (string-append "--prefix="
>> +                                                   (assoc-ref outputs 
>> "out")))))
>>                    (alist-replace
>> -                   'install
>> +                   'build
>>                     (lambda _
>> -                     (zero? (system* "./waf" "install")))
>> -                   %standard-phases)))))
>> +                     (zero? (system* "./waf" "build")))
>> +                   (alist-replace
>> +                    'install
>> +                    (lambda _
>> +                      (zero? (system* "./waf" "install")))
>> +                    %standard-phases))))))
>
> I wonder if it would make sense to just use the waf-build-system in this
> case instead of the python-build-system.  Is this feasible?
Yes! Thanks for the tip.
Here are the new patch using waf-build-system:

Attachment: 0001-gnu-python-pycairo-Fix-build-with-with-python-3.4.3.patch
Description: Text Data

>
> ~~ Ricardo

reply via email to

[Prev in Thread] Current Thread [Next in Thread]