From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOqNt-000256-JM for guix-patches@gnu.org; Mon, 19 Nov 2018 15:43:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOqNq-0000Ef-FR for guix-patches@gnu.org; Mon, 19 Nov 2018 15:43:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57036) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gOqNq-0000ET-Bn for guix-patches@gnu.org; Mon, 19 Nov 2018 15:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gOqNq-0005mf-8O for guix-patches@gnu.org; Mon, 19 Nov 2018 15:43:02 -0500 Subject: [bug#33436] [PATCH] gnu: Add python-warcio. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOqMk-0001c3-W0 for guix-patches@gnu.org; Mon, 19 Nov 2018 15:41:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOqMh-000855-Ri for guix-patches@gnu.org; Mon, 19 Nov 2018 15:41:54 -0500 Received: from mx1.riseup.net ([198.252.153.129]:34562) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gOqMh-00084i-G5 for guix-patches@gnu.org; Mon, 19 Nov 2018 15:41:51 -0500 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 84FAC1A0A9D for ; Mon, 19 Nov 2018 12:41:50 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id D7CD2104682 for ; Mon, 19 Nov 2018 12:41:49 -0800 (PST) From: swedebugia Message-ID: <4f8816d0-8b47-7299-f31b-a2fa0f592d2d@riseup.net> Date: Mon, 19 Nov 2018 21:41:46 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------F8676B632167A597D97B6A34" Content-Language: en-US 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: 33436@debbugs.gnu.org This is a multi-part message in MIME format. --------------F8676B632167A597D97B6A34 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit -- Cheers Swedebugia --------------F8676B632167A597D97B6A34 Content-Type: text/x-patch; name="0001-gnu-Add-python-warcio.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-gnu-Add-python-warcio.patch" >From 537b2b111a464956bdec640ea5f84c4598ea66f9 Mon Sep 17 00:00:00 2001 From: swedebugia Date: Mon, 19 Nov 2018 21:37:46 +0100 Subject: [PATCH] gnu: Add python-warcio. * gnu/packages/python.scm: New variable. --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 2b7482a3e..24e8c409f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14630,3 +14630,29 @@ on regular expressions.") "This module implements the PRECIS Framework as described in RFC 8264, RFC 8265 and RFC 8266.") (license license:expat))) + +(define-public python-warcio + (package + (name "python-warcio") + (version "1.6.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "warcio" version)) + (sha256 + (base32 + "1nyhghbag1chh5fml848x799mwgkgmz3l3ipv7lr6p0lj1jq8i1r")))) + (build-system python-build-system) + (inputs `(("python-six" ,python-six) + ("python-requests" ,python-requests) + ("python-httpbin" ,python-httpbin) + ("python-pytest-cov" ,python-pytest-cov))) + (arguments + ;; FIXME: Some tests require network access. 150 out of 1354 fail + '(#:tests? #f)) + (home-page "https://github.com/webrecorder/warcio") + (synopsis "Streaming web archival archive (WARC) library") + (description + "warcio is designed for fast, low-level access to web archival +content, oriented around a stream of WARC records rather than files.") + (license license:asl2.0))) -- 2.18.0 --------------F8676B632167A597D97B6A34--