diff options
author | Leo Famulari <leo@famulari.name> | 2021-04-10 00:33:06 -0400 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-04-10 00:35:03 -0400 |
commit | fba9e5fb54b7eaff8d8cdc1163dac4ea7d0f8e89 (patch) | |
tree | 954d5f760909c518bec7d5eac7e4a19017d18392 /gnu/packages/web.scm | |
parent | 83f8b6d32c76c56e4bb58eeb5af1259028d7ee72 (diff) | |
download | guix-fba9e5fb54b7eaff8d8cdc1163dac4ea7d0f8e89.tar.gz |
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.
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r-- | gnu/packages/web.scm | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index fe024228f3..bb5196b9f2 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") |