From: swedebugia <swedebugia@riseup.net>
To: 33436@debbugs.gnu.org
Subject: [bug#33436] [PATCH] gnu: Add python-warcio.
Date: Mon, 19 Nov 2018 21:41:46 +0100 [thread overview]
Message-ID: <4f8816d0-8b47-7299-f31b-a2fa0f592d2d@riseup.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 23 bytes --]
--
Cheers
Swedebugia
[-- Attachment #2: 0001-gnu-Add-python-warcio.patch --]
[-- Type: text/x-patch, Size: 1618 bytes --]
From 537b2b111a464956bdec640ea5f84c4598ea66f9 Mon Sep 17 00:00:00 2001
From: swedebugia <swedebugia@riseup.net>
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
next reply other threads:[~2018-11-19 20:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-19 20:41 swedebugia [this message]
2018-11-21 10:21 ` [bug#33436] [PATCH] gnu: Add python-warcio Ludovic Courtès
2019-01-11 8:29 ` Ludovic Courtès
2019-02-24 2:01 ` swedebugia
2019-03-04 13:43 ` Ludovic Courtès
2021-07-13 15:23 ` bug#33436: " Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4f8816d0-8b47-7299-f31b-a2fa0f592d2d@riseup.net \
--to=swedebugia@riseup.net \
--cc=33436@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).