[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: gnu: python-clikit: Declare Python 2 variant.
From: |
guix-commits |
Subject: |
01/08: gnu: python-clikit: Declare Python 2 variant. |
Date: |
Fri, 20 Mar 2020 17:44:53 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 0266a6a23b880474d7234add38e528963f5b7c34
Author: Marius Bakke <address@hidden>
AuthorDate: Fri Mar 20 21:08:43 2020 +0100
gnu: python-clikit: Declare Python 2 variant.
* gnu/packages/python-xyz.scm (python-clikit)[properties]: New field.
(python2-clikit): New public variable.
---
gnu/packages/python-xyz.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8271e1f..c3b06a5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11125,8 +11125,18 @@ more, possibly remote, memcached servers.")
(description
"CliKit is a group of utilities to build testable command line
interfaces.")
+ (properties `((python2-variant . ,(delay python2-clikit))))
(license license:expat)))
+(define-public python2-clikit
+ (let ((base (package-with-python2 (strip-python2-variant python-clikit))))
+ (package/inherit
+ base
+ (propagated-inputs
+ `(("python-enum34" ,python2-enum34)
+ ("python-typing" ,python2-typing)
+ ,@(package-propagated-inputs base))))))
+
(define-public python-msgpack-python
(package
(name "python-msgpack-python")
- branch master updated (830dab8 -> 51d42ca), guix-commits, 2020/03/20
- 01/08: gnu: python-clikit: Declare Python 2 variant.,
guix-commits <=
- 02/08: gnu: python-pytzdata: Update to 2019.3., guix-commits, 2020/03/20
- 03/08: gnu: python-pendulum: Update to 2.1.0., guix-commits, 2020/03/20
- 05/08: gnu: Add python-validators., guix-commits, 2020/03/20
- 06/08: gnu: Add python-random2., guix-commits, 2020/03/20
- 04/08: gnu: Add python-text-unidecode., guix-commits, 2020/03/20
- 08/08: gnu: python-orator: Update to 0.9.9., guix-commits, 2020/03/20
- 07/08: gnu: Update python-faker to to 4.0.2, python2-faker to 3.0.1., guix-commits, 2020/03/20