Subject: [PATCH 2/8] gnu: Add python-constantly.

From: Troy Sankey <[email-masked]>
Date: Mon, 20 Feb 2017 01:37:36 -0500

* gnu/packages/python.scm (python-constantly, python2-constantly): New
variables.
---
 gnu/packages/python.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e3904624c..9d2b977a7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12709,6 +12709,29 @@ Python.  It is based on Parsing Expression Grammars, PEG.  With pyPEG you can
 parse many formal languages.")
     (license license:gpl2)))
 
+(define-public python-constantly
+  (package
+    (name "python-constantly")
+    (version "15.1.0")
+    (source
+      (origin
+        (method url-fetch)
+          (uri (pypi-uri "constantly" version))
+        (sha256
+          (base32
+            "0dgwdla5kfpqz83hfril716inm41hgn9skxskvi77605jbmp4qsq"))))
+    (build-system python-build-system)
+    (home-page
+      "https://github.com/twisted/constantly")
+    (synopsis "Symbolic constants in Python")
+    (description "A library that provides symbolic constant support.  It
+includes collections and constants with text, numeric, and bit flag values.
+Originally @code{twisted.python.constants} from the Twisted project.")
+    (license license:expat)))
+
+(define-public python2-constantly
+  (package-with-python2 python-constantly))
+
 (define-public python-attrs
   (package
     (name "python-attrs")
-- 
2.11.1