gnu: python-serpent: Declare python2 variant.
* gnu/packages/python-xyz.scm (python-serpent)[properties]: New field. (python2-serpent): New public variable.
This commit is contained in:
parent
ebdec923e3
commit
1ffd618eba
|
@ -981,8 +981,17 @@ (define-public python-serpent
|
||||||
|
|
||||||
Because only safe literals are encoded, it is safe to send serpent data to
|
Because only safe literals are encoded, it is safe to send serpent data to
|
||||||
other machines, such as over the network.")
|
other machines, such as over the network.")
|
||||||
|
(properties `((python2-variant . ,(delay python2-serpent))))
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public python2-serpent
|
||||||
|
(let ((base (package-with-python2 (strip-python2-variant python-serpent))))
|
||||||
|
(package
|
||||||
|
(inherit base)
|
||||||
|
(propagated-inputs
|
||||||
|
`(("python-enum34" ,python2-enum34)
|
||||||
|
,@(package-propagated-inputs base))))))
|
||||||
|
|
||||||
(define-public python-setuptools
|
(define-public python-setuptools
|
||||||
(package
|
(package
|
||||||
(name "python-setuptools")
|
(name "python-setuptools")
|
||||||
|
|
Loading…
Reference in a new issue