gnu: Fix build of python2-feedparser.

This is a followup to commit 506eb97de7.

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.
This commit is contained in:
Leo Famulari 2021-04-10 00:33:06 -04:00
parent 83f8b6d32c
commit fba9e5fb54
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08

View File

@ -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")