[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: python: Factorize configure flags with minimal variants.
From: |
Ludovic Courtès |
Subject: |
03/03: gnu: python: Factorize configure flags with minimal variants. |
Date: |
Sat, 14 Nov 2015 23:28:26 +0000 |
civodul pushed a commit to branch tk-update
in repository guix.
commit 192053f55901deb246b2f5d68b2559af3642e2a7
Author: Ludovic Courtès <address@hidden>
Date: Sun Nov 15 00:27:15 2015 +0100
gnu: python: Factorize configure flags with minimal variants.
* gnu/packages/python.scm (python2-minimal, python-minimal)[arguments]:
Reuse the inherited configure flags, and just add
--without-system-ffi.
---
gnu/packages/python.scm | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c9c5690..bbd96b1 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -245,10 +245,8 @@ data types.")
(name "python-minimal")
(arguments
(substitute-keyword-arguments (package-arguments python-2)
- ((#:configure-flags _)
- `(list "--enable-shared"
- (string-append "LDFLAGS=-Wl,-rpath="
- (assoc-ref %outputs "out") "/lib")))))
+ ((#:configure-flags cf)
+ `(append ,cf '("--without-system-ffi")))))
(inputs '()))) ;none of the optional dependencies
(define-public python-minimal
@@ -256,10 +254,8 @@ data types.")
(name "python-minimal")
(arguments
(substitute-keyword-arguments (package-arguments python)
- ((#:configure-flags _)
- `(list "--enable-shared"
- (string-append "LDFLAGS=-Wl,-rpath="
- (assoc-ref %outputs "out") "/lib")))))
+ ((#:configure-flags cf)
+ `(append ,cf '("--without-system-ffi")))))
;; OpenSSL is a mandatory dependency of Python 3.x, for urllib;
;; zlib is required by 'zipimport', used by pip.