From unknown Sat Sep 06 02:32:44 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#28235 <28235@debbugs.gnu.org> To: bug#28235 <28235@debbugs.gnu.org> Subject: Status: [PATCH] Update calibre to 3.6.0. Reply-To: bug#28235 <28235@debbugs.gnu.org> Date: Sat, 06 Sep 2025 09:32:44 +0000 retitle 28235 [PATCH] Update calibre to 3.6.0. reassign 28235 guix-patches submitter 28235 Roel Janssen severity 28235 normal tag 28235 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 25 14:23:11 2017 Received: (at submit) by debbugs.gnu.org; 25 Aug 2017 18:23:11 +0000 Received: from localhost ([127.0.0.1]:54923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlJGB-0001TA-LB for submit@debbugs.gnu.org; Fri, 25 Aug 2017 14:23:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlJGA-0001Sy-3I for submit@debbugs.gnu.org; Fri, 25 Aug 2017 14:23:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlJG3-0005yq-VZ for submit@debbugs.gnu.org; Fri, 25 Aug 2017 14:23:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50634) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dlJG3-0005yV-SB for submit@debbugs.gnu.org; Fri, 25 Aug 2017 14:23:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlJG2-0001Zd-VM for guix-patches@gnu.org; Fri, 25 Aug 2017 14:23:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlJFx-0005hV-UY for guix-patches@gnu.org; Fri, 25 Aug 2017 14:23:02 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlJFx-0005hH-RF for guix-patches@gnu.org; Fri, 25 Aug 2017 14:22:57 -0400 Received: from ip112-245-209-87.adsl2.static.versatel.nl ([87.209.245.112]:51998 helo=antelope) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dlJFx-0005cU-Ds for guix-patches@gnu.org; Fri, 25 Aug 2017 14:22:57 -0400 User-agent: mu4e 0.9.18; emacs 25.1.1 From: Roel Janssen To: guix-patches Subject: [PATCH] Update calibre to 3.6.0. Date: Fri, 25 Aug 2017 20:22:49 +0200 Message-ID: <878ti7tsli.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 25 14:26:10 2017 Received: (at 28235) by debbugs.gnu.org; 25 Aug 2017 18:26:10 +0000 Received: from localhost ([127.0.0.1]:54930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlJJ4-0001Xg-3Z for submit@debbugs.gnu.org; Fri, 25 Aug 2017 14:26:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlJJ3-0001XU-5S for 28235@debbugs.gnu.org; Fri, 25 Aug 2017 14:26:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlJIs-0001Yq-Vl for 28235@debbugs.gnu.org; Fri, 25 Aug 2017 14:26:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlJIs-0001Yd-Rm for 28235@debbugs.gnu.org; Fri, 25 Aug 2017 14:25:58 -0400 Received: from ip112-245-209-87.adsl2.static.versatel.nl ([87.209.245.112]:53043 helo=antelope) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dlJIs-0005wk-8i for 28235@debbugs.gnu.org; Fri, 25 Aug 2017 14:25:58 -0400 User-agent: mu4e 0.9.18; emacs 25.1.1 From: Roel Janssen To: 28235@debbugs.gnu.org Subject: [PATCH 1/3] gnu: Update python-lxml to 3.8.0. Date: Fri, 25 Aug 2017 20:25:55 +0200 Message-ID: <877exrtsgc.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28235 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * gnu/packages/python.scm (python-lxml): Update to 3.8.0. --- gnu/packages/python.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 4bd777c09..9bf46fb6f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6117,14 +6117,14 @@ translate the complete SQLite API into Python.") (define-public python-lxml (package (name "python-lxml") - (version "3.6.0") + (version "3.8.0") (source (origin (method url-fetch) (uri (pypi-uri "lxml" version)) (sha256 (base32 - "1pvbmiy2m7jwv493kilbghhj2pkh8wy1na3ji350vhzhlwlclx4w")))) + "15nvf6n285n282682qyw3wihsncb0x5amdhyi4b83bfa2nz74vvk")))) (build-system python-build-system) (inputs `(("libxml2" ,libxml2) -- 2.14.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 25 14:26:58 2017 Received: (at 28235) by debbugs.gnu.org; 25 Aug 2017 18:26:58 +0000 Received: from localhost ([127.0.0.1]:54935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlJJq-0001Yo-Ct for submit@debbugs.gnu.org; Fri, 25 Aug 2017 14:26:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlJJo-0001Yc-U7 for 28235@debbugs.gnu.org; Fri, 25 Aug 2017 14:26:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlJJe-0002QP-S2 for 28235@debbugs.gnu.org; Fri, 25 Aug 2017 14:26:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlJJe-0002Q8-P1 for 28235@debbugs.gnu.org; Fri, 25 Aug 2017 14:26:46 -0400 Received: from ip112-245-209-87.adsl2.static.versatel.nl ([87.209.245.112]:54929 helo=antelope) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dlJJe-0006B1-8U for 28235@debbugs.gnu.org; Fri, 25 Aug 2017 14:26:46 -0400 User-agent: mu4e 0.9.18; emacs 25.1.1 From: Roel Janssen To: 28235@debbugs.gnu.org Subject: [PATCH 2/3] gnu: Add python-html5-parser, python2-html5-parser Date: Fri, 25 Aug 2017 20:26:43 +0200 Message-ID: <8760dbtsf0.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28235 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * 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))) + +(define-public python2-html5-parser + (package-with-python2 python-html5-parser)) + (define-public python-webencodings (package (name "python-webencodings") -- 2.14.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 25 14:27:36 2017 Received: (at 28235) by debbugs.gnu.org; 25 Aug 2017 18:27:36 +0000 Received: from localhost ([127.0.0.1]:54940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlJKP-0001a5-Lb for submit@debbugs.gnu.org; Fri, 25 Aug 2017 14:27:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlJKL-0001Zq-SM for 28235@debbugs.gnu.org; Fri, 25 Aug 2017 14:27:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlJKD-0003Ll-Bx for 28235@debbugs.gnu.org; Fri, 25 Aug 2017 14:27:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlJKD-0003LX-7R for 28235@debbugs.gnu.org; Fri, 25 Aug 2017 14:27:21 -0400 Received: from ip112-245-209-87.adsl2.static.versatel.nl ([87.209.245.112]:52781 helo=antelope) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dlJKC-0006kf-RU for 28235@debbugs.gnu.org; Fri, 25 Aug 2017 14:27:21 -0400 User-agent: mu4e 0.9.18; emacs 25.1.1 From: Roel Janssen To: 28235@debbugs.gnu.org Subject: [PATCH 3/3] gnu: Update calibre to 3.6.0. Date: Fri, 25 Aug 2017 20:27:18 +0200 Message-ID: <874lsvtse1.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28235 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * gnu/local.mk: Remove calibre-drop-unrar.patch * gnu/packages/ebook.scm (calibre): Update to 3.6.0. Add python-html5-parser input. * gnu/packages/patches/calibre-drop-unrar.patch: Remove file. --- gnu/local.mk | 1 - gnu/packages/ebook.scm | 12 ++++--- gnu/packages/patches/calibre-drop-unrar.patch | 49 --------------------------- 3 files changed, 7 insertions(+), 55 deletions(-) delete mode 100644 gnu/packages/patches/calibre-drop-unrar.patch diff --git a/gnu/local.mk b/gnu/local.mk index 71f1cb244..631ab0b95 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -537,7 +537,6 @@ dist_patch_DATA = \ %D%/packages/patches/blast+-fix-makefile.patch \ %D%/packages/patches/byobu-writable-status.patch \ %D%/packages/patches/cairo-CVE-2016-9082.patch \ - %D%/packages/patches/calibre-drop-unrar.patch \ %D%/packages/patches/calibre-no-updates-dialog.patch \ %D%/packages/patches/calibre-use-packaged-feedparser.patch \ %D%/packages/patches/catdoc-CVE-2017-11110.patch \ diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index 38abf47c8..4bcaa0abf 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -72,7 +72,7 @@ (define-public calibre (package (name "calibre") - (version "3.0.0") + (version "3.6.0") (source (origin (method url-fetch) @@ -81,21 +81,19 @@ version ".tar.xz")) (sha256 (base32 - "1zhk7bvgr973dd18x4wp48kzai29qqqi5qcy72sxc4wcbk2sbnkw")) + "0vp2nds4b5xbchsh1rpc1q7093gd26dnw7mgbnax97dcchvlc4sc")) ;; Remove non-free or doubtful code, see ;; https://lists.gnu.org/archive/html/guix-devel/2015-02/msg00478.html (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "src/calibre/ebooks/markdown") - (delete-file-recursively "src/unrar") (delete-file "src/odf/thumbnail.py") (delete-file-recursively "resources/fonts/liberation") (substitute* (find-files "." "\\.py") (("calibre\\.ebooks\\.markdown") "markdown")) #t)) - (patches (search-patches "calibre-drop-unrar.patch" - "calibre-use-packaged-feedparser.patch" + (patches (search-patches "calibre-use-packaged-feedparser.patch" "calibre-no-updates-dialog.patch")))) (build-system python-build-system) (native-inputs @@ -129,6 +127,7 @@ ("python2-dbus" ,python2-dbus) ("python2-dnspython" ,python2-dnspython) ("python2-feedparser" ,python2-feedparser) + ("python2-html5-parser" ,python2-html5-parser) ("python2-lxml" ,python2-lxml) ("python2-markdown" ,python2-markdown) ("python2-mechanize" ,python2-mechanize) @@ -140,6 +139,9 @@ ("python2-pyqt" ,python2-pyqt) ("python2-sip" ,python2-sip) ("python2-regex" ,python2-regex) + ;; python2-unrardll is needed for decompressing RAR files. + ;; A program called 'pdf2html' is needed for reading PDF books + ;; in the web interface. ("sqlite" ,sqlite))) (arguments `(#:python ,python-2 diff --git a/gnu/packages/patches/calibre-drop-unrar.patch b/gnu/packages/patches/calibre-drop-unrar.patch deleted file mode 100644 index adf977b18..000000000 --- a/gnu/packages/patches/calibre-drop-unrar.patch +++ /dev/null @@ -1,49 +0,0 @@ -Recreated old debian patch on the latest calibre version - -From 6764e4c211e50d4f4633dbabfba7cbc3089c51dc Mon Sep 17 00:00:00 2001 -From: Brendan Tildesley -Date: Sat, 13 May 2017 21:12:12 +1000 -Subject: [PATCH] Remove unrar extension - ---- - setup/extensions.json | 11 ----------- - src/calibre/ebooks/metadata/archive.py | 2 +- - 2 files changed, 1 insertion(+), 12 deletions(-) - -diff --git a/setup/extensions.json b/setup/extensions.json -index 1f6d1fb5fd..127390450f 100644 ---- a/setup/extensions.json -+++ b/setup/extensions.json -@@ -211,16 +211,5 @@ - "sources": "calibre/devices/mtp/unix/devices.c calibre/devices/mtp/unix/libmtp.c", - "headers": "calibre/devices/mtp/unix/devices.h calibre/devices/mtp/unix/upstream/music-players.h calibre/devices/mtp/unix/upstream/device-flags.h", - "libraries": "mtp" -- }, -- { -- "name": "unrar", -- "sources": "unrar/rar.cpp unrar/strlist.cpp unrar/strfn.cpp unrar/pathfn.cpp unrar/savepos.cpp unrar/smallfn.cpp unrar/global.cpp unrar/file.cpp unrar/filefn.cpp unrar/filcreat.cpp unrar/archive.cpp unrar/arcread.cpp unrar/unicode.cpp unrar/system.cpp unrar/isnt.cpp unrar/crypt.cpp unrar/crc.cpp unrar/rawread.cpp unrar/encname.cpp unrar/resource.cpp unrar/match.cpp unrar/timefn.cpp unrar/rdwrfn.cpp unrar/consio.cpp unrar/options.cpp unrar/ulinks.cpp unrar/errhnd.cpp unrar/rarvm.cpp unrar/secpassword.cpp unrar/rijndael.cpp unrar/getbits.cpp unrar/sha1.cpp unrar/extinfo.cpp unrar/extract.cpp unrar/volume.cpp unrar/list.cpp unrar/find.cpp unrar/unpack.cpp unrar/cmddata.cpp unrar/filestr.cpp unrar/scantree.cpp calibre/utils/unrar.cpp", -- "inc_dirs": "unrar", -- "defines": "SILENT RARDLL UNRAR _FILE_OFFSET_BITS=64 _LARGEFILE_SOURCE", -- "windows_defines": "SILENT RARDLL UNRAR", -- "haiku_defines": "LITTLE_ENDIAN SILENT RARDLL UNRAR _FILE_OFFSET_BITS=64 _LARGEFILE_SOURCE _BSD_SOURCE", -- "haiku_libraries": "bsd", -- "optimize_level": 2, -- "windows_libraries": "User32 Advapi32 kernel32 Shell32" - } - ] -diff --git a/src/calibre/ebooks/metadata/archive.py b/src/calibre/ebooks/metadata/archive.py -index f5c0b7bed3..32257dcdae 100644 ---- a/src/calibre/ebooks/metadata/archive.py -+++ b/src/calibre/ebooks/metadata/archive.py -@@ -44,7 +44,7 @@ class ArchiveExtract(FileTypePlugin): - description = _('Extract common e-book formats from archive files ' - '(ZIP/RAR). Also try to autodetect if they are actually ' - 'CBZ/CBR files.') -- file_types = set(['zip', 'rar']) -+ file_types = set(['zip']) - supported_platforms = ['windows', 'osx', 'linux'] - on_import = True - --- -2.12.2 - -- 2.14.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 02 07:30:15 2017 Received: (at 28235) by debbugs.gnu.org; 2 Sep 2017 11:30:15 +0000 Received: from localhost ([127.0.0.1]:41604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1do6cx-0007ps-Az for submit@debbugs.gnu.org; Sat, 02 Sep 2017 07:30:15 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:43861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1do6cv-0007ng-IZ for 28235@debbugs.gnu.org; Sat, 02 Sep 2017 07:30:13 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 6716E20B5F; Sat, 2 Sep 2017 07:30:13 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sat, 02 Sep 2017 07:30:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=ZOD9Cje5OoxmRsCp2YX0hjtfFsWVFI6DbYVMIGfKC zo=; b=ucYkPmhIZBiepRVZ5qQ7iheU9Sy4EcXkX6pPpKVcm+nhZLC1kcHDsi3Pd teXV6V7r+BLSRn6HmemcVLvyVOyLPErtBhzKr+AUBIfK4keVmicOeAUReHAenjk+ jIEL2tsROpqkp8xRRFDnGrnGLZSz7fikllkYbqLfO9geboWJ8v94SLavJww3U8GA NpxekPfgTIhY1cqUmq5/0Rryo14swj3J1WGaeXKirAiFmUhjXPo4a9HgRen5Z4Sz Awu/uJyz1363hf6PPRBGo4iU78q6b3rNCa9CFSi3+vEkK1HOAPw4QYMENLEehbqu 2EZUxPefcVnMvhl5QQuJFO4/PaDCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=ZOD9Cje5OoxmRsCp2Y X0hjtfFsWVFI6DbYVMIGfKCzo=; b=pfRsQTQQ+YBeGUSZ8hy1asOV2wdcYeJmIn riNlJ9M1Em5lwiSbkecNV9vDOYsIidn19sztBXONVz6aoZBUnVphcZ2MVkX7u2q+ scqdGMcTAX+99cHavUQ/U3fLbp47AuBdLPDDV3cWr97VEx4QSIqLvXxRSxzsGqj2 uOyFFoFZPu3uBQ0jgTnaW1fdMH6HU1E1iO7jcSI/Is2jzxQwvXvM/FO63tg3aozI G4M8TDsuYUKdeRcn+f+DxK3oemr4ocP1eMGVyk8P+rRHFycW1Uhv8v/J3pdO0J4P 1Q31W3gLQTvBKnomFIER1+2Mpqz9awNpeRX4CUuw2BsVa5Zb/jmQ== X-ME-Sender: X-Sasl-enc: Y3e9t7ciz5c4WaytHEmE5mBOWnwCIHO5DEO+KwqIFWZA 1504351812 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id EC1087FA08; Sat, 2 Sep 2017 07:30:12 -0400 (EDT) From: Marius Bakke To: Roel Janssen , 28235@debbugs.gnu.org Subject: Re: [bug#28235] [PATCH 2/3] gnu: Add python-html5-parser, python2-html5-parser In-Reply-To: <8760dbtsf0.fsf@gnu.org> References: <878ti7tsli.fsf@gnu.org> <8760dbtsf0.fsf@gnu.org> User-Agent: Notmuch/0.25 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Sat, 02 Sep 2017 13:30:11 +0200 Message-ID: <874lsll4n0.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 28235 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Roel Janssen 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)) >=20=20 > +(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 HTM= L5 > +parsing spec for Python. Parsing is done in C using a variant of the gu= mbo > +parser. The gumbo parse tree is then transformed into an lxml tree, als= o in > +C, yielding parse times that can be a thirtieth of the html5lib parse ti= mes.") > + (license license:asl2.0))) The files 'src/as-libxml.[ch]' are GPL3. Everything else in this series LG= TM! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlmqlkMACgkQoqBt8qM6 VPrmTggArOLC266pyNNgTZz7r1XqNSp9F1uiaZuQdJPBzrbKpuf5zr5OTHL0myuw X+3HrqtrrnOF9jH+wicxn16PyN7t6EtUKlhEEmEYKiSRlO8tgZp7NbNgRvR9DPq+ aNk5zEsVueJVBDYxU2ZKUiIj0LU+2+2TiVxrBAxra2rD7mYa1JjuABA//q9OUNTv wBNGXvWr+myY2s+cxPvcYlW3W2EAvgHQGJj3A9QYZeDokUqa21TLyqgK5EQv7ach kFV1zpirmDgeJPXRqRGsJTr5yaO6o8eOOzrak2DOcSZ0wWnvswTm6Ye9EZUnWj77 ScMlkPzfsIf/br/kfwJvhOHzFXp5Rw== =sHzj -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 06 06:33:07 2017 Received: (at 28235) by debbugs.gnu.org; 6 Sep 2017 10:33:07 +0000 Received: from localhost ([127.0.0.1]:52318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpXdq-0000Ce-Tt for submit@debbugs.gnu.org; Wed, 06 Sep 2017 06:33:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41579) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpXdp-0000CA-4r for 28235@debbugs.gnu.org; Wed, 06 Sep 2017 06:33:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpXdf-0003po-4N for 28235@debbugs.gnu.org; Wed, 06 Sep 2017 06:33:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpXdf-0003pk-0v; Wed, 06 Sep 2017 06:32:55 -0400 Received: from ip-80-113-14-101.ip.prioritytelecom.net ([80.113.14.101]:28108 helo=yellowstone) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dpXde-0008NM-G6; Wed, 06 Sep 2017 06:32:54 -0400 References: <878ti7tsli.fsf@gnu.org> <8760dbtsf0.fsf@gnu.org> <874lsll4n0.fsf@fastmail.com> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Roel Janssen To: Marius Bakke Subject: Re: [bug#28235] [PATCH 2/3] gnu: Add python-html5-parser, python2-html5-parser Message-ID: <87zia8xglm.fsf@gnu.org> In-reply-to: <874lsll4n0.fsf@fastmail.com> Date: Wed, 06 Sep 2017 12:32:51 +0200 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28235 Cc: 28235@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Marius Bakke writes: > Roel Janssen 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 06 06:46:16 2017 Received: (at 28235-done) by debbugs.gnu.org; 6 Sep 2017 10:46:16 +0000 Received: from localhost ([127.0.0.1]:52324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpXqZ-0000VV-Ks for submit@debbugs.gnu.org; Wed, 06 Sep 2017 06:46:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpXqX-0000VH-5w for 28235-done@debbugs.gnu.org; Wed, 06 Sep 2017 06:46:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpXqN-00036U-U6 for 28235-done@debbugs.gnu.org; Wed, 06 Sep 2017 06:46:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpXqN-00036Q-QT; Wed, 06 Sep 2017 06:46:03 -0400 Received: from ip-80-113-14-101.ip.prioritytelecom.net ([80.113.14.101]:12908 helo=yellowstone) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dpXqN-00035e-2K; Wed, 06 Sep 2017 06:46:03 -0400 References: <878ti7tsli.fsf@gnu.org> <8760dbtsf0.fsf@gnu.org> <874lsll4n0.fsf@fastmail.com> <87zia8xglm.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Roel Janssen To: Marius Bakke Subject: Re: [bug#28235] [PATCH 2/3] gnu: Add python-html5-parser, python2-html5-parser In-reply-to: <87zia8xglm.fsf@gnu.org> Date: Wed, 06 Sep 2017 12:45:59 +0200 Message-ID: <87wp5cxfyw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28235-done Cc: 28235-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Roel Janssen writes: > Marius Bakke writes: > >> Roel Janssen 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 From unknown Sat Sep 06 02:32:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 04 Oct 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator