guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27888] [PATCH 11/18] gnu: Add python2-enum.


From: Marius Bakke
Subject: [bug#27888] [PATCH 11/18] gnu: Add python2-enum.
Date: Mon, 31 Jul 2017 22:07:28 +0200

* gnu/packages/python.scm (python2-enum): New variable.
---
 gnu/packages/python.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 37b8c5594..0d90d2017 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1547,6 +1547,28 @@ bug tracker.")
     (home-page "http://www.liquidx.net/pybugz/";)
     (license license:gpl2)))
 
+(define-public python2-enum
+  (package
+    (name "python2-enum")
+    (version "0.4.6")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "enum" version))
+              (sha256
+               (base32
+                "13lk3yrwj42vl30kw3c194f739nrfrdg64s6i0v2p636n4k8brsl"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2))
+    (home-page "http://pypi.python.org/pypi/enum/";)
+    (synopsis "Robust enumerated type support in Python")
+    (description
+     "This provides a module for robust enumerations in Python.  It has
+been superseded by the Python standard library and is provided only for
+compatibility.")
+    ;; Choice of either license.
+    (license (list license:gpl3+ license:psfl))))
+
 (define-public python-enum34
   (package
     (name "python-enum34")
-- 
2.13.3






reply via email to

[Prev in Thread] Current Thread [Next in Thread]