diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-20 18:11:44 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-27 22:02:52 +0000 |
| commit | 64fd3e51b6c7c73e41982c262f47390a84860a77 (patch) | |
| tree | 16d5a0d5f58f6e547fd599b6e20ce31750d397e4 | |
| parent | 53d0957396ee03663a92cd34e6c9c1a9975e1f30 (diff) | |
gnu: python-feedparser: Switch to pyproject.
* gnu/packages/web.scm (python-feedparser):
[build-system]: Switch to pyproject-build-system.
[arguments]: Replace <#:phases> with <#:test-backend, #:test-flags>.
[native-inputs]: Add python-setuptools.
Change-Id: Iedcbcd06e4d8171f484e077b93ff0dcc24ddf066
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/web.scm | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index a41665f1692..fb13fa5f5ed 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5512,17 +5512,13 @@ Integration Center (4DN-DCIC).") (sha256 (base32 "1mc4856draxac5s7acywq060a0awng195cpbs1js1wn6cixl1l69")) (patches (search-patches "python-feedparser-missing-import.patch")))) - (build-system python-build-system) - (propagated-inputs - (list python-sgmllib3k)) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs outputs tests? #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "python" "tests/runtests.py"))))))) + (list + #:test-backend #~'custom + #:test-flags #~(list "tests/runtests.py"))) + (native-inputs (list python-setuptools)) + (propagated-inputs (list python-sgmllib3k)) (home-page "https://github.com/kurtmckee/feedparser") (synopsis "Parse feeds in Python") (description |
