[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: python-serpent: Declare python2 variant.
From: |
guix-commits |
Subject: |
05/06: gnu: python-serpent: Declare python2 variant. |
Date: |
Thu, 9 Apr 2020 14:06:19 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 1ffd618eba4836da5e5eaf6edd394ee949512bd8
Author: Marius Bakke <address@hidden>
AuthorDate: Thu Apr 9 14:05:14 2020 +0200
gnu: python-serpent: Declare python2 variant.
* gnu/packages/python-xyz.scm (python-serpent)[properties]: New field.
(python2-serpent): New public variable.
---
gnu/packages/python-xyz.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2095648..f2e75d5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -981,8 +981,17 @@ to rebuild the original object tree.
Because only safe literals are encoded, it is safe to send serpent data to
other machines, such as over the network.")
+ (properties `((python2-variant . ,(delay python2-serpent))))
(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
(package
(name "python-setuptools")
- branch master updated (1ee45e6 -> 68cda76), guix-commits, 2020/04/09
- 02/06: gnu: python-datrie: Update to 0.8.2, guix-commits, 2020/04/09
- 03/06: gnu: python-cloudpickle: Update to 1.3.0., guix-commits, 2020/04/09
- 06/06: gnu: Remove python2-scikit-image., guix-commits, 2020/04/09
- 01/06: gnu: minimap2: Fix cond expression for Guile 3 compatibility., guix-commits, 2020/04/09
- 04/06: gnu: python-dask: Update to 2.14.0., guix-commits, 2020/04/09
- 05/06: gnu: python-serpent: Declare python2 variant.,
guix-commits <=