gnu: python-sphinx@1.6: Add python2 variant.
* gnu/packages/python.scm (python-sphinx-1.6)[properties]: Declare python2 variant. (python2-sphinx-1.6): New public variable.
This commit is contained in:
parent
9c77852e19
commit
3719d0edf2
|
@ -2412,7 +2412,17 @@ sources.")
|
|||
`(("python-pytest" ,python-pytest)
|
||||
("imagemagick" ,imagemagick) ; for "convert"
|
||||
,@(package-native-inputs python-sphinx)))
|
||||
(properties '())))
|
||||
(properties `((python2-variant . ,(delay python2-sphinx-1.6))))))
|
||||
|
||||
(define-public python2-sphinx-1.6
|
||||
(let ((base (package-with-python2 (strip-python2-variant python-sphinx-1.6))))
|
||||
(package
|
||||
(inherit base)
|
||||
(propagated-inputs
|
||||
`(("python2-typing" ,python2-typing)
|
||||
,@(package-propagated-inputs base)))
|
||||
(native-inputs `(("python2-enum34" ,python2-enum34)
|
||||
,@(package-native-inputs base))))))
|
||||
|
||||
(define-public python-sphinx-1.5.3
|
||||
(package
|
||||
|
|
Loading…
Reference in New Issue