unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Lio Novelli <lio@kompot.si>
To: 50853@debbugs.gnu.org
Subject: bug#50853: python-feedparser
Date: Mon, 27 Sep 2021 22:00:13 +0200	[thread overview]
Message-ID: <20210927215959.58abf108.lio.novelli@radiostudent.si> (raw)
In-Reply-To: <20210927202426.4cff11f9@mail.kompot.si>

[-- Attachment #1: Type: text/plain, Size: 133 bytes --]

This patch provides a bit more than just bugfix:
 - Add two python package definitions sgmllib3k, sgqlc
 - updates python-feedparser

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-two-python-package-definitions-sgmllib3k-sgqlc-a.patch --]
[-- Type: text/x-patch, Size: 3778 bytes --]

From bff17f280636f91fb79fbfa508ee95ec42f33bc2 Mon Sep 17 00:00:00 2001
From: l3n <lion@rhiz0.me>
Date: Mon, 27 Sep 2021 21:57:36 +0200
Subject: [PATCH] Add two python package definitions sgmllib3k, sgqlc and
 update feedparser.

---
 gnu/packages/python-xyz.scm | 51 +++++++++++++++++++++++++++++++++++++
 gnu/packages/web.scm        |  6 +++--
 2 files changed, 55 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 86b1cdc2b1..d4ba1781cd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -108,6 +108,7 @@
 ;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
 ;;; Copyright © 2021 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
 ;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
+;;; Copyright © 2021 Liopold D. Novelli <lio@kompot.si>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -27116,3 +27117,53 @@ platform-specific directories, e.g. the ``user data dir''.")
      "This package provides the @code{python-box} Python module.
 It implements advanced Python dictionaries with dot notation access.")
     (license license:expat)))
+
+(define-public python-sgmllib3k
+  (package
+    (name "python-sgmllib3k")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sgmllib3k" version ".tar.gz"))
+       (sha256
+        (base32
+         "1s8jm3dgqabgf8x96931scji679qkhvczlv3qld4qxpsicfgns3q"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:tests? #f))
+    (home-page
+     "https://github.com/conda-forge/sgmllib3k-feedstock")
+    (synopsis "A quick and dirty port of python2-sgmllib old module.")
+    (description
+     "sgmllib was dropped in Python 3. For those depending on it, that’s somewhat unfortunate. This is a quick and dirty port of this old module. I just ran 2to3 on it and published it. I don’t intend to maintain it, so it might be a good idea to eventually think about finding another module to use.")
+    (license license:bsd-3)))
+
+(define-public python-sgqlc
+  (package
+    (name "python-sgqlc")
+    (version "14.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "sgqlc" version))
+        (sha256
+         (base32
+          "0ba7s0n5w6fmdn7gd638k1dq5pydzgd5hl6krw1f9xsci3qlldki"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:tests? #f)) ; The tests are not distributed
+    (native-inputs
+     `(("python-sphinx" ,python-sphinx)
+       ("python-sphinx-argparse" ,python-sphinx-argparse)
+       ("python-websockets" ,python-websockets)
+     ))
+    (propagated-inputs
+     `(("python-requests" ,python-requests)
+       ))
+    (home-page "https://github.com/profusion/sgqlc")
+    (synopsis "An easy to use GraphQL client.")
+    (description
+     "An easy to use GraphQL client.")
+    (license "ISC License")))
+
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index d7bbd7489b..16200ae649 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4764,15 +4764,17 @@ their web site.")
 (define-public python-feedparser
   (package
     (name "python-feedparser")
-    (version "6.0.2")
+    (version "6.0.8")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "feedparser" version ".tar.gz"))
        (sha256
         (base32
-         "0x0hm9brh3j71645pydvlkrwxaaca9dnwd7xahwjyjaz882s200v"))))
+         "0qcnkyjjfj5gg5rhd1j4zzlqx5h34bma18zwgj68q95b0l543q2w"))))
     (build-system python-build-system)
+    (propagated-inputs
+     `(("python-sgmllib3k" ,python-sgmllib3k)))
     (arguments
      '(#:tests? #f))
     (home-page
-- 
2.33.0


  reply	other threads:[~2021-09-28  0:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-27 18:24 bug#50853: python-feedparser Lio Novelli
2021-09-27 20:00 ` Lio Novelli [this message]
2021-11-09 13:28   ` Vinicius Monego

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=20210927215959.58abf108.lio.novelli@radiostudent.si \
    --to=lio@kompot.si \
    --cc=50853@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).