Subject: [bug#28363] [PATCH] gnu: Add python-uritemplate.

From: Oleg Pykhalov <[email-masked]>
Date: Wed, 06 Sep 2017 11:18:10 +0300

>From 29ed68d5bf6e6735b8a82602703e49a6ee1615bd Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <[email-masked]>
Date: Wed, 6 Sep 2017 10:07:55 +0300
Subject: [PATCH] gnu: Add python-uritemplate.

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4c19d7e66..c002140fd 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -16219,3 +16219,24 @@ ECB and OFB).")
 
 (define-public python2-pyaes
   (package-with-python2 python-pyaes))
+
+(define-public python-uritemplate
+  (package
+    (name "python-uritemplate")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "uritemplate" version))
+       (sha256
+        (base32
+         "0781gm9g34wa0asc19dx81ng0nqq07igzv3bbvdqmz13pv7469n0"))))
+    (build-system python-build-system)
+    (home-page "https://uritemplate.readthedocs.org")
+    (synopsis "Library to deal with URI Templates")
+    (description "@code{uritemplate} provides Python library to deal with URI
+Templates.")
+    (license license:bsd-2)))
+
+(define-public python2-uritemplate
+  (package-with-python2 python-uritemplate))
-- 
2.14.1