From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:55258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKJmX-000789-No for guix-patches@gnu.org; Sat, 27 Apr 2019 05:38:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKJmV-0004Ei-Qx for guix-patches@gnu.org; Sat, 27 Apr 2019 05:38:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49072) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hKJmU-0004DN-1L for guix-patches@gnu.org; Sat, 27 Apr 2019 05:38:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hKJmT-00014I-Sm for guix-patches@gnu.org; Sat, 27 Apr 2019 05:38:01 -0400 Subject: [bug#35446] [PATCH 02/26] gnu: Add python-css-parser, python2-css-parser. Resent-Message-ID: From: Brendan Tildesley Date: Sat, 27 Apr 2019 19:36:35 +1000 Message-Id: <20190427093659.21851-2-mail@brendan.scot> In-Reply-To: <20190427093659.21851-1-mail@brendan.scot> References: <20190427093659.21851-1-mail@brendan.scot> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35446@debbugs.gnu.org * gnu/packages/python-web.scm (python-css-parser, python2-css-parser): New variables. --- gnu/packages/python-web.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index b7d03acb4b..91c5e3892a 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -637,6 +637,28 @@ options.") (define-public python2-cssutils (package-with-python2 python-cssutils)) +(define-public python-css-parser + (package + (inherit python-cssutils) + (name "python-css-parser") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "css-parser" version ".tar.gz")) + (sha256 + (base32 + "0i4xfykiffxzr4f6y0m2ggqvx1rzam6pw6krlr5k6ldf29akbay7")))) + (home-page "https://github.com/ebook-utils/css-parser") + (synopsis "Fork of cssutils modified for parsing ebooks") + (description + "Css-parser is a fork of cssutils 1.0.2, updated and modified for parsing +ebooks, due to cssutils not receiving updates as of 1.0.2.") + (license license:lgpl3+))) + +(define-public python2-css-parser + (package-with-python2 python-css-parser)) + (define-public python-cssselect (package (name "python-cssselect") -- 2.21.0