From patchwork Mon Nov 19 20:41:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: swedebugia X-Patchwork-Id: 235 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 53C1C1680E; Mon, 19 Nov 2018 20:43:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id 0406F167CF for ; Mon, 19 Nov 2018 20:43:17 +0000 (GMT) Received: from localhost ([::1]:58948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOqO4-0002EC-3U for patchwork@mira.cbaines.net; Mon, 19 Nov 2018 15:43:16 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#33436] [PATCH] gnu: Add python-warcio. Resent-From: swedebugia Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Nov 2018 20:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33436 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33436@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154266012422153 (code B ref -1); Mon, 19 Nov 2018 20:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Nov 2018 20:42:04 +0000 Received: from localhost ([127.0.0.1]:33056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOqMt-0005lF-Ov for submit@debbugs.gnu.org; Mon, 19 Nov 2018 15:42:03 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOqMs-0005ki-1g for submit@debbugs.gnu.org; Mon, 19 Nov 2018 15:42:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOqMm-00087o-31 for submit@debbugs.gnu.org; Mon, 19 Nov 2018 15:41:56 -0500 Received: from lists.gnu.org ([2001:4830:134:3::11]:58698) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gOqMl-00087e-Vr for submit@debbugs.gnu.org; Mon, 19 Nov 2018 15:41:56 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1542660110; bh=mZh79GYD/3/lfSMKn/XFnLLMF9hn4CzFLt9WI85Stag=; h=To:From:Subject:Date:From; b=bciiW6DZ4MXM6lLDTAg6mwLq18IkVPzey8CD9sv9lzYsK6RmtxFqxhhNvsDrUTipy 9qdKMqoArlAKl0cisAtfIkCk0xzlwXiYhpGL2VeTM8zdh5ZuGFqXaJ8dPNR50+o6xa BHTFPeAX7dq46169IFH7mJ+j3g1y1pdJq0rl/M3U= X-Riseup-User-ID: 2670AEC4F0159B6B82B67BBFC8029DBDE0AD7EF4D440B27CA189A37F33506850 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-Language: en-US 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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