From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH] guix: python-build-system: Honor configure-flags also when building Date: Thu, 22 Sep 2016 12:43:02 +0200 Message-ID: <20160922104302.4187-1-dannym@scratchpost.org> References: <20160922104528.4e8801a9@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.10.0" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn1fy-0002DG-Ve for guix-devel@gnu.org; Thu, 22 Sep 2016 06:56:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn1fu-000459-T9 for guix-devel@gnu.org; Thu, 22 Sep 2016 06:56:22 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:51555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn1fu-00044r-MR for guix-devel@gnu.org; Thu, 22 Sep 2016 06:56:18 -0400 In-Reply-To: <20160922104528.4e8801a9@scratchpost.org> 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 This is a multi-part message in MIME format. --------------2.10.0 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: quoted-printable 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(-) --------------2.10.0 Content-Type: text/x-patch; name="0001-guix-python-build-system-Honor-configure-flags-also-.patch" Content-Disposition: attachment; filename="0001-guix-python-build-system-Honor-configure-flags-also-.patch" Content-Transfer-Encoding: quoted-printable 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"))) =20 -(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)) =20 (define* (check #:key tests? test-target #:allow-other-keys) "Run the test suite of a given Python package." --------------2.10.0--