Patchwork [11/18] gnu: Add python-urlobject-2.3.4.

login
register
mail settings
Submitter ng0
Date Oct. 2, 2016, 11 a.m.
Message ID <20161002110054.2297-12-ngillmann@runbox.com>
Download mbox | patch
Permalink /patch/16179/
State New
Headers show

Comments

ng0 - Oct. 2, 2016, 11 a.m.
* gnu/packages/python.scm (python-urlobject-2.3.4): New variable.
---
 gnu/packages/python.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a5de01e..12da100 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1660,6 +1660,25 @@  standard library.")
       (inherit base)
       (inputs `(("python2-setuptools" ,python2-setuptools))))))
 
+;; kallithea-0.3.2 needs this
+(define-public python-urlobject-2.3.4
+  (package
+    (inherit python-urlobject)
+    (version "2.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "URLObject" version))
+       (sha256
+        (base32
+         "0mq4vy80xgvivh7zikf50awi5mw0pi601740bz0m8lnanlnrh85k"))))))
+
+(define-public python2-urlobject-2.3.4
+  (let ((base (package-with-python2 (strip-python2-variant python-urlobject-2.3.4))))
+    (package
+      (inherit base)
+      (inputs `(("python2-setuptools" ,python2-setuptools))))))
+
 (define-public python-py
   (package
     (name "python-py")