Subject: bug#25733: [PATCH 11/18] gnu: Add python-urlobject-2.3.4.

From: Ricardo Wurmus <[email-masked]>
Date: Sat, 18 Feb 2017 13:19:39 +0100

[email-masked] writes:

> From: ng0 <[email-masked]>
>
> * gnu/packages/python.scm (python-urlobject-2.3.4): New variable.
> ---

[…]

> +;; kallithea-0.3.2 needs this version.
> +(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"))))))

Okay.

> +(define-public python2-urlobject-2.3.4
> +  (let ((base (package-with-python2 (strip-python2-variant python-urlobject-2.3.4))))
> +    (package
> +      (inherit base))))
> +

Same comment as before: please don’t make this more complicated than it
needs to be.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net