* 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