unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#50398] [PATCH] gnu: Add python-w3lib
@ 2021-09-05  8:28 Pradana Adrinusa AUMARS via Guix-patches via
  2021-09-14  9:27 ` bug#50398: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Pradana Adrinusa AUMARS via Guix-patches via @ 2021-09-05  8:28 UTC (permalink / raw)
  To: 50398

From 7dc3c722627fbbecfe411a8b4d44f7b5cc12ba18 Mon Sep 17 00:00:00 2001
From: Pradana AUMARS <paumars@courrier.dev>
Date: Sun, 5 Sep 2021 10:25:14 +0200
Subject: [PATCH] gnu: Add python-w3lib

* gnu/packages/python-web.scm (python-w3lib): New variable.
---
 gnu/packages/python-web.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 32b4aa4bf0..47f7092147 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -43,6 +43,7 @@
 ;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
 ;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
+;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6205,3 +6206,25 @@ your code non-blocking and speedy.")
      "This project provides a client library in Python that makes it easy to
 communicate with Microsoft Azure Storage services.")
     (license license:expat)))
+
+(define-public python-w3lib
+  (package
+    (name "python-w3lib")
+    (version "1.22.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "w3lib" version))
+       (sha256
+        (base32
+         "1pv02lvvmgz2qb61vz1jkjc04fgm4hpfvaj5zm4i3mjp64hd1mha"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-six" ,python-six)))
+    (home-page "https://github.com/scrapy/w3lib")
+    (synopsis "Python library of web-related functions")
+    (description
+     "This is a Python library of web-related functions, such as: remove comments,
+or tags from HTML snippets, extract base url from HTML snippets, translate entites
+on HTML strings, among other things.")
+    (license license:bsd-3)))
-- 
2.33.0






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#50398: [PATCH] gnu: Add python-w3lib
  2021-09-05  8:28 [bug#50398] [PATCH] gnu: Add python-w3lib Pradana Adrinusa AUMARS via Guix-patches via
@ 2021-09-14  9:27 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-09-14  9:27 UTC (permalink / raw)
  To: Pradana Adrinusa AUMARS; +Cc: 50398-done

Hi,

Pradana Adrinusa AUMARS <paumars@courrier.dev> skribis:

>>From 7dc3c722627fbbecfe411a8b4d44f7b5cc12ba18 Mon Sep 17 00:00:00 2001
> From: Pradana AUMARS <paumars@courrier.dev>
> Date: Sun, 5 Sep 2021 10:25:14 +0200
> Subject: [PATCH] gnu: Add python-w3lib
>
> * gnu/packages/python-web.scm (python-w3lib): New variable.

Applied, thank you!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-14  9:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-05  8:28 [bug#50398] [PATCH] gnu: Add python-w3lib Pradana Adrinusa AUMARS via Guix-patches via
2021-09-14  9:27 ` bug#50398: " Ludovic Courtès

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 NNTP newsgroup(s).