GNU bug report logs - #28235
[PATCH] Update calibre to 3.6.0.

Previous Next

Package: guix-patches;

Reported by: Roel Janssen <roel <at> gnu.org>

Date: Fri, 25 Aug 2017 18:24:02 UTC

Severity: normal

Tags: patch

Done: Roel Janssen <roel <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Roel Janssen <roel <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#28235: closed ([PATCH] Update calibre to 3.6.0.)
Date: Wed, 06 Sep 2017 10:47:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 06 Sep 2017 12:45:59 +0200
with message-id <87wp5cxfyw.fsf <at> gnu.org>
and subject line Re: [bug#28235] [PATCH 2/3] gnu: Add python-html5-parser, python2-html5-parser
has caused the debbugs.gnu.org bug report #28235,
regarding [PATCH] Update calibre to 3.6.0.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
28235: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28235
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Roel Janssen <roel <at> gnu.org>
To: guix-patches <guix-patches <at> gnu.org>
Subject: [PATCH] Update calibre to 3.6.0.
Date: Fri, 25 Aug 2017 20:22:49 +0200
Dear Guix,

The following patches update calibre to 3.6.0.  This version doesn't
include the unrar code anymore.  Instead, it uses a python library
called "unrardll", which is not included in these patches.  We removed
the unrar code before, so there's no lost functionality to the current
recipe.

I had to add 'python2-html5-parser' as a new input.  It seems that it is
used in favor of 'python2-html5lib', but that input hadn't been added in
the current recipe.

Thanks for your time!

Kind regards,
Roel Janssen


[Message part 3 (message/rfc822, inline)]
From: Roel Janssen <roel <at> gnu.org>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 28235-done <at> debbugs.gnu.org
Subject: Re: [bug#28235] [PATCH 2/3] gnu: Add python-html5-parser,
 python2-html5-parser
Date: Wed, 06 Sep 2017 12:45:59 +0200
Roel Janssen writes:

> Marius Bakke writes:
>
>> Roel Janssen <roel <at> gnu.org> writes:
>>
>>> * gnu/packages/python.scm (python-html5-parser): New variable.
>>>   (python2-html5-parser: New variable.
>>> ---
>>>  gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
>>>  1 file changed, 29 insertions(+)
>>>
>>> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
>>> index 9bf46fb6f..8629228db 100644
>>> --- a/gnu/packages/python.scm
>>> +++ b/gnu/packages/python.scm
>>> @@ -5868,6 +5868,35 @@ and written in Python.")
>>>  (define-public python2-html5lib-0.9
>>>    (package-with-python2 python-html5lib-0.9))
>>>  
>>> +(define-public python-html5-parser
>>> +  (package
>>> +    (name "python-html5-parser")
>>> +    (version "0.4.4")
>>> +    (source (origin
>>> +              (method url-fetch)
>>> +              (uri (pypi-uri "html5-parser" version))
>>> +              (sha256
>>> +               (base32
>>> +                "1d8sxhl41ffh7qlk7wlsy17xw6slzx5v1yna9s72wx5qrpaa3wxr"))))
>>> +    (build-system python-build-system)
>>> +    (native-inputs
>>> +     `(("pkg-config" ,pkg-config)))
>>> +    (inputs
>>> +     `(("libxml2" ,libxml2)))
>>> +    (propagated-inputs
>>> +     `(("python-lxml" ,python-lxml)
>>> +       ("python-beautifulsoup4" ,python-beautifulsoup4)))
>>> +    (home-page "https://html5-parser.readthedocs.io")
>>> +    (synopsis "Fast C-based HTML5 parsing for Python")
>>> +    (description "This package provides a fast implementation of the HTML5
>>> +parsing spec for Python.  Parsing is done in C using a variant of the gumbo
>>> +parser.  The gumbo parse tree is then transformed into an lxml tree, also in
>>> +C, yielding parse times that can be a thirtieth of the html5lib parse times.")
>>> +    (license license:asl2.0)))
>>
>> The files 'src/as-libxml.[ch]' are GPL3.  Everything else in this series LGTM!
>
> Oh, it seems this is the case for as-python-tree.[ch], not as-libxml.[ch].
>
> Good catch!  I'll update the license list and push this patch series.
>
> Thanks for your time.
>
> Kind regards,
> Roel Janssen

I pushed the three patches with the above license indication changes.

Thanks!

Kind regards,
Roel Janssen


This bug report was last modified 7 years and 338 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.