[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/10: gnu: python: Factorize configure flags with minimal variants.
From: |
Ludovic Courtès |
Subject: |
07/10: gnu: python: Factorize configure flags with minimal variants. |
Date: |
Thu, 26 Nov 2015 17:02:12 +0000 |
civodul pushed a commit to branch tk-update
in repository guix.
commit 500ce0b8d614422fae2a04d91c0bd79a28162b4a
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 b113531..e6c5237 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -247,10 +247,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
@@ -258,10 +256,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.
- branch tk-update created (now 5c9a1a8), Ludovic Courtès, 2015/11/26
- 01/10: http-client: 'http-fetch' and 'http-fetch/cached' support HTTPS., Ludovic Courtès, 2015/11/26
- 05/10: gnu: python: Set SOURCE_DATE_EPOCH to 1 instead of 0., Ludovic Courtès, 2015/11/26
- 02/10: tk: Hardcode path to TK_LIBRARY., Ludovic Courtès, 2015/11/26
- 06/10: gnu: python: Make 'sys.version' deterministic., Ludovic Courtès, 2015/11/26
- 08/10: gnu: python: Do not record configure flags., Ludovic Courtès, 2015/11/26
- 07/10: gnu: python: Factorize configure flags with minimal variants.,
Ludovic Courtès <=
- 03/10: gnu: tcl: Produce 'tclIndex' files deterministically., Ludovic Courtès, 2015/11/26
- 04/10: gnu: python-2: Honor 'SOURCE_DATE_EPOCH'., Ludovic Courtès, 2015/11/26
- 09/10: gnu: python: Clarify and shorten the list of built-time modules., Ludovic Courtès, 2015/11/26
- 10/10: gnu: python: Move tkinter to "tk" output., Ludovic Courtès, 2015/11/26