gnu: python-wrapper: Append "-wrapper" to the underlying package name.

Reported by Federico Beffa <beffa@ieee.org>.

* gnu/packages/python.scm (wrap-python3): Change the default value of
'name' to include the name of PYTHON.  This disambiguates between
'python-minimal-wrapper' and 'python-wrapper'.
This commit is contained in:
Ludovic Courtès 2015-12-22 22:24:41 +01:00
parent 53088d0045
commit 64cb064c0c
1 changed files with 3 additions and 1 deletions

View File

@ -307,7 +307,9 @@ data types.")
(inputs `(("openssl" ,openssl)
("zlib" ,zlib)))))
(define* (wrap-python3 python #:optional (name "python-wrapper"))
(define* (wrap-python3 python
#:optional
(name (string-append (package-name python) "-wrapper")))
(package (inherit python)
(name name)
(source #f)