guix-devel
[Top][All Lists]
Advanced

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

[PATCH 11/12] gnu: python: Add python-url.


From: David Craven
Subject: [PATCH 11/12] gnu: python: Add python-url.
Date: Fri, 5 Aug 2016 20:37:29 +0200

* gnu/packages/python.scm (python-url): New package.
  (python2-url): New package.
---
 gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b1ba8e5..4f2eba2 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9980,3 +9980,30 @@ List.  Forked from and using the same API as the 
publicsuffix package.")
 
 (define-public python2-publicsuffix2
   (package-with-python2 python-publicsuffix2))
+
+(define-public python-url
+  (package
+  (name "python-url")
+  (version "0.2.0")
+  (source (origin
+            (method url-fetch)
+            (uri (pypi-uri "url" version))
+            (sha256
+             (base32
+              "0v879yadcz9qxfl41ak6wkga1kimp9cflla9ddz03hjjvgkqy5ki"))))
+  (build-system python-build-system)
+  (propagated-inputs
+   `(("python-publicsuffix" ,python-publicsuffix)))
+  (inputs
+   `(("python-coverage" ,python-coverage)
+     ("python-nose" ,python-nose)
+     ("python-setuptools" ,python-setuptools)))
+  (arguments
+   `(#:tests? #f)) ; FIXME: tests fail with "ImportError: No module named 
'tests'"
+  (home-page "http://github.com/seomoz/url-py";)
+  (synopsis "URL Parsing")
+  (description "URL Parsing.")
+  (license license:expat)))
+
+(define-public python2-url
+  (package-with-python2 python-url))
-- 
2.9.0



reply via email to

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