From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH 2/2] gnu: python-pycairo: Fix build with with python-3.4.3. Date: Mon, 20 Apr 2015 08:32:29 +0200 Message-ID: <871tjf2u1p.fsf@mango.localdomain> References: <1429509136-11290-1-git-send-email-iyzsong@gmail.com> <1429509136-11290-2-git-send-email-iyzsong@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yk5G4-0001We-Ti for guix-devel@gnu.org; Mon, 20 Apr 2015 02:32:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yk5G1-0008LH-Ol for guix-devel@gnu.org; Mon, 20 Apr 2015 02:32:40 -0400 Received: from sender1.zohomail.com ([74.201.84.162]:52367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yk5G1-0008L9-Ge for guix-devel@gnu.org; Mon, 20 Apr 2015 02:32:37 -0400 In-reply-to: <1429509136-11290-2-git-send-email-iyzsong@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org 宋文武 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? ~~ Ricardo