From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Fw: [PATCH] guix: python-build-system: Honor configure-flags also when building Date: Thu, 29 Sep 2016 13:57:10 +0200 Message-ID: <20160929135710.6f3b7076@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/qbUD7XEGEOjbOAHCN6innKA" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpZxp-0001Td-S1 for guix-devel@gnu.org; Thu, 29 Sep 2016 07:57:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpZxk-00030N-VD for guix-devel@gnu.org; Thu, 29 Sep 2016 07:57:21 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:40874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpZxk-0002zb-OJ for guix-devel@gnu.org; Thu, 29 Sep 2016 07:57:16 -0400 Received: from localhost (178.112.99.13.wireless.dyn.drei.com [178.112.99.13]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 020EE1CA0A95 for ; Thu, 29 Sep 2016 13:57:13 +0200 (CEST) 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" To: guix-devel@gnu.org --MP_/qbUD7XEGEOjbOAHCN6innKA Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline (Hmm, maybe this patch was not seen because it's so far down in the thread "Stuck on KiCad dependency wxPython". So I'm resending it to the top.) While there was already a #:configure-flags for the "install" target, it was not used when building. Use it. * guix/build/python-build-system.scm (build): Modified. --- guix/build/python-build-system.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --MP_/qbUD7XEGEOjbOAHCN6innKA Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-guix-python-build-system-Honor-configure-flags-also-.patch diff --git a/guix/build/python-build-system.scm b/guix/build/python-build-system.scm index 9109fb4..65824a3 100644 --- a/guix/build/python-build-system.scm +++ b/guix/build/python-build-system.scm @@ -44,9 +44,9 @@ (zero? (apply system* "python" "setup.py" command params))) (error "no setup.py found"))) -(define* (build #:rest empty) +(define* (build #:key (configure-flags '()) #:allow-other-keys) "Build a given Python package." - (call-setuppy "build" '())) + (call-setuppy "build" configure-flags)) (define* (check #:key tests? test-target #:allow-other-keys) "Run the test suite of a given Python package." --MP_/qbUD7XEGEOjbOAHCN6innKA--