[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: python-wrapper: Append "-wrapper" to the underlying package
From: |
Ludovic Courtès |
Subject: |
01/02: gnu: python-wrapper: Append "-wrapper" to the underlying package name. |
Date: |
Tue, 22 Dec 2015 21:33:32 +0000 |
civodul pushed a commit to branch core-updates
in repository guix.
commit 64cb064c0c55f13b53d2d9fa8fc3e8e82888e563
Author: Ludovic Courtès <address@hidden>
Date: Tue Dec 22 22:24:41 2015 +0100
gnu: python-wrapper: Append "-wrapper" to the underlying package name.
Reported by Federico Beffa <address@hidden>.
* 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'.
---
gnu/packages/python.scm | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5880cac..72a3507 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -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)