From 8394619baceb118df92e355377fd543bb1aa501a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 13 Dec 2021 17:18:24 +0100 Subject: gnu: Simplify package inputs. This commit was obtained by running: ./pre-inst-env guix style without any additional argument. --- gnu/packages/python.scm | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 92f4273220..f0d2fd6eb8 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -382,16 +382,16 @@ (define-public python-2.7 (add-after 'install 'install-sitecustomize.py ,(customize-site version))))) (inputs - `(("bzip2" ,bzip2) - ("expat" ,expat) - ("gdbm" ,gdbm) - ("libffi" ,libffi) ; for ctypes - ("sqlite" ,sqlite) ; for sqlite extension - ("openssl" ,openssl) - ("readline" ,readline) - ("zlib" ,zlib) - ("tcl" ,tcl) - ("tk" ,tk))) ; for tkinter + (list bzip2 + expat + gdbm + libffi ; for ctypes + sqlite ; for sqlite extension + openssl + readline + zlib + tcl + tk)) ; for tkinter (native-inputs `(("pkg-config" ,pkg-config) ("sitecustomize.py" ,(local-file (search-auxiliary-file @@ -729,7 +729,7 @@ (define-public micropython `(("pkg-config" ,pkg-config) ("python" ,python-wrapper))) (inputs - `(("libffi" ,libffi))) + (list libffi)) (home-page "https://micropython.org/") (synopsis "Python implementation for microcontrollers and constrained systems") (description "MicroPython is a lean and efficient implementation of the @@ -764,18 +764,18 @@ (define-public pypy3 ("nss-certs" ,nss-certs) ; For ssl tests ("gzip" ,gzip))) (inputs - `(("libffi" ,libffi) - ("zlib" ,zlib) - ("ncurses" ,ncurses) - ("openssl" ,openssl) - ("expat" ,expat) - ("bzip2" ,bzip2) - ("sqlite" ,sqlite) - ("gdbm" ,gdbm) - ("tcl" ,tcl) - ("tk" ,tk) - ("glibc" ,glibc) - ("xz" ,xz))) ; liblzma + (list libffi + zlib + ncurses + openssl + expat + bzip2 + sqlite + gdbm + tcl + tk + glibc + xz)) ; liblzma (arguments `(#:tests? #f ;FIXME: 43 out of 364 tests are failing #:modules ((ice-9 ftw) (ice-9 match) -- cgit v1.2.3