[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/37: gnu: address@hidden: Add python2 variant.
From: |
Marius Bakke |
Subject: |
10/37: gnu: address@hidden: Add python2 variant. |
Date: |
Wed, 28 Feb 2018 10:33:51 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 3719d0edf2ecbcad7cb155548927004bc64cfc97
Author: Marius Bakke <address@hidden>
Date: Tue Feb 27 20:44:16 2018 +0100
gnu: address@hidden: Add python2 variant.
* gnu/packages/python.scm (python-sphinx-1.6)[properties]: Declare python2
variant.
(python2-sphinx-1.6): New public variable.
---
gnu/packages/python.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8285a4e..5c6bc7f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -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
- branch master updated (bd041e7 -> b0a2c9c), Marius Bakke, 2018/02/28
- 04/37: gnu: python-extras: Update to 1.0.0., Marius Bakke, 2018/02/28
- 01/37: gnu: python-fixtures: Propagate python-pbr., Marius Bakke, 2018/02/28
- 06/37: gnu: python-testscenarios: Update to 0.5.0., Marius Bakke, 2018/02/28
- 07/37: gnu: python-oslotest: Update to 3.2.0., Marius Bakke, 2018/02/28
- 10/37: gnu: address@hidden: Add python2 variant.,
Marius Bakke <=
- 15/37: gnu: python-oslo.context: Enable tests., Marius Bakke, 2018/02/28
- 08/37: gnu: python-reno: Update to 2.7.0., Marius Bakke, 2018/02/28
- 16/37: gnu: python2-stevedore: Enable tests., Marius Bakke, 2018/02/28
- 14/37: gnu: python2-bandit: Enable tests., Marius Bakke, 2018/02/28
- 09/37: gnu: python-fixtures: Update to 3.0.0., Marius Bakke, 2018/02/28
- 03/37: gnu: python-testresources: Update to 2.0.1., Marius Bakke, 2018/02/28
- 05/37: gnu: python-testtools: Update to 2.3.0., Marius Bakke, 2018/02/28
- 02/37: gnu: python-subunit: Update to 1.2.0., Marius Bakke, 2018/02/28
- 18/37: gnu: python-stevedore: Update to 1.28.0., Marius Bakke, 2018/02/28
- 22/37: gnu: python-oslo.i18n: Update to 3.19.0., Marius Bakke, 2018/02/28