guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 06/16] gnu: Add python-html5lib-0.9.


From: Ricardo Wurmus
Subject: Re: [PATCH 06/16] gnu: Add python-html5lib-0.9.
Date: Tue, 01 Nov 2016 15:31:52 +0100
User-agent: mu4e 0.9.16; emacs 26.0.50.1

Roel Janssen <address@hidden> writes:

> Ricardo Wurmus writes:
>
>> * gnu/packages/python.scm (python-html5lib-0.9, python2-html5lib-0.9):
>> New variables.
>> ---
>>  gnu/packages/python.scm | 16 ++++++++++++++++
>>  1 file changed, 16 insertions(+)
>>
>> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
>> index e6f537e..ed736ff 100644
>> --- a/gnu/packages/python.scm
>> +++ b/gnu/packages/python.scm
>> @@ -4789,6 +4789,22 @@ and written in Python.")
>>  (define-public python2-html5lib
>>    (package-with-python2 python-html5lib))
>>  
>> +;; Needed for python-bleach, a dependency of python-notebook
>> +(define-public python-html5lib-0.9
>> +  (package
>> +    (inherit python-html5lib)
>> +    (version "0.999")
>> +    (source
>> +     (origin
>> +       (method url-fetch)
>> +       (uri (pypi-uri "html5lib" version))
>> +       (sha256
>> +        (base32
>> +         "17n4zfsj6ynmbwdwviywmj8r6nzr3xvfx2zs0xhndmvm51z7z263"))))))
>> +
>> +(define-public python2-html5lib-0.9
>> +  (package-with-python2 python-html5lib-0.9))
>> +
>>  (define-public python-urwid
>>    (package
>>      (name "python-urwid")
>
> Doesn't python-bleach work with the newer version of python-html5lib?

Bleach has a recent commit that restricts the dependency version of
html5lib (it used to be >=0.9, not it’s >=0.9 && <=0.999), so I assume
that newer versions do not work.

~~ Ricardo




reply via email to

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