guix-commits
[Top][All Lists]
Advanced

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

14/20: gnu: Add python2-enum.


From: Marius Bakke
Subject: 14/20: gnu: Add python2-enum.
Date: Wed, 18 Oct 2017 18:19:42 -0400 (EDT)

mbakke pushed a commit to branch python-updates
in repository guix.

commit a6c6a59faf648f4fe23f40d362aff14d8bcd98af
Author: Marius Bakke <address@hidden>
Date:   Mon Jul 31 03:59:55 2017 +0200

    gnu: Add python2-enum.
    
    * 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 35ea8c4..13943df 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1573,6 +1573,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")



reply via email to

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