guix-patches
[Top][All Lists]
Advanced

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

bug#25733: [PATCH 10/18] gnu: Add python-urlobject.


From: ng0
Subject: bug#25733: [PATCH 10/18] gnu: Add python-urlobject.
Date: Sat, 18 Feb 2017 15:32:41 +0000

On 17-02-18 13:18:20, Ricardo Wurmus wrote:
> 
> address@hidden writes:
> 
> > From: ng0 <address@hidden>
> >
> > * gnu/packages/python.scm (python-urlobject): New variable.
> > ---
> 
> […]
> 
> > +(define-public python-urlobject
> > +  (package
> > +    (name "python-urlobject")
> > +    (version "2.4.2")
> > +    (source
> > +     (origin
> > +       (method url-fetch)
> > +       (uri (pypi-uri "URLObject" version))
> > +       (sha256
> > +        (base32
> > +         "0mswa40s1m5hs5yydb75i2bqb0l49gn0mmkzb0g5nj493nl0h3yx"))))
> > +    (build-system python-build-system)
> > +    (home-page "http://github.com/zacharyvoase/urlobject";)
> > +    (synopsis "Utility class for manipulating URLs")
> > +    (description
> > +     "URLObject is a utility class for manipulating URLs.")
> > +    (license license:public-domain)))
> 
> Okay.
> 
> > +(define-public python2-urlobject
> > +  (let ((base (package-with-python2 (strip-python2-variant 
> > python-urlobject))))
> > +    (package
> > +      (inherit base))))
> > +
> 
> Why?

My guess is that it had something to do with delayed python2 variants,
but I might be wrong (see last email I've sent).
 
> -- 
> Ricardo
> 
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
> 

-- 
ng0 -- https://www.inventati.org/patternsinthechaos/





reply via email to

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