gnu: python-clikit: Declare Python 2 variant.
* gnu/packages/python-xyz.scm (python-clikit)[properties]: New field. (python2-clikit): New public variable.
This commit is contained in:
parent
830dab870a
commit
0266a6a23b
1 changed files with 10 additions and 0 deletions
|
@ -11125,8 +11125,18 @@ more, possibly remote, memcached servers.")
|
||||||
(description
|
(description
|
||||||
"CliKit is a group of utilities to build testable command line
|
"CliKit is a group of utilities to build testable command line
|
||||||
interfaces.")
|
interfaces.")
|
||||||
|
(properties `((python2-variant . ,(delay python2-clikit))))
|
||||||
(license license:expat)))
|
(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
|
(define-public python-msgpack-python
|
||||||
(package
|
(package
|
||||||
(name "python-msgpack-python")
|
(name "python-msgpack-python")
|
||||||
|
|
Reference in a new issue