gnu: python-minimal@2: Add dependencies on libffi and zlib.

* gnu/packages/python.scm (python2-minimal)[inputs]: Add LIBFFI and ZLIB.
[arguments]: Remove.
This commit is contained in:
Ludovic Courtès 2017-03-19 22:10:12 +01:00
parent 4ed0628737
commit 5927a843b4
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 5 deletions

View File

@ -359,11 +359,12 @@ data types.")
(package (inherit python-2) (package (inherit python-2)
(name "python-minimal") (name "python-minimal")
(outputs '("out")) (outputs '("out"))
(arguments
(substitute-keyword-arguments (package-arguments python-2) ;; Keep zlib, which is used by 'pip' (via the 'zipimport' module), which
((#:configure-flags cf) ;; is invoked upon 'make install'. 'pip' also expects 'ctypes' and thus
`(append ,cf '("--without-system-ffi"))))) ;; libffi.
(inputs '()))) ;none of the optional dependencies (inputs `(("libffi" ,libffi)
("zlib" ,zlib)))))
(define-public python-minimal (define-public python-minimal
(package (inherit python) (package (inherit python)