guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Fix build of python2-feedparser.


From: guix-commits
Subject: branch master updated: gnu: Fix build of python2-feedparser.
Date: Sat, 10 Apr 2021 00:36:37 -0400

This is an automated email from the git hooks/post-receive script.

lfam pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new fba9e5f  gnu: Fix build of python2-feedparser.
fba9e5f is described below

commit fba9e5fb54b7eaff8d8cdc1163dac4ea7d0f8e89
Author: Leo Famulari <leo@famulari.name>
AuthorDate: Sat Apr 10 00:33:06 2021 -0400

    gnu: Fix build of python2-feedparser.
    
    This is a followup to commit 506eb97de7041f6bcb6e841201c01e88bedfc9d9.
    
    Feedparser dropped support for Python 2 in version 6.0.0. The latest
    release that works with Python 2 is 5.2.1.
    
    * gnu/packages/web.scm (python2-feedparser): Revert back to version 5.2.1.
---
 gnu/packages/web.scm | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index fe02422..bb5196b 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4705,7 +4705,28 @@ CDF, Atom 0.3, and Atom 1.0 feeds.")
                    license:freebsd-doc)))) ; documentation
 
 (define-public python2-feedparser
-  (package-with-python2 python-feedparser))
+  (package
+    (name "python2-feedparser")
+    (version "5.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "feedparser" version ".tar.bz2"))
+       (sha256
+        (base32
+         "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f
+       #:python ,python-2))
+    (home-page
+     "https://github.com/kurtmckee/feedparser";)
+    (synopsis "Parse feeds in Python")
+    (description
+     "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
+CDF, Atom 0.3, and Atom 1.0 feeds.")
+    (license (list license:bsd-2 ; source code
+                   license:freebsd-doc)))) ; documentation
 
 (define-public guix-data-service
   (let ((commit "df2a0a73f1f35ea53ba6c07a6ad4c5347ba12b8f")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]