diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2024-05-10 00:54:14 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-13 20:18:57 +0000 |
commit | 23cb0c203c368a40a1db49de2581ea59d12d899e (patch) | |
tree | c1a1bf3afb006290e5e19ec69555d1cb029de875 | |
parent | 910c1ee7ce163b8d4c3bc6d15c645be34b46a9c2 (diff) | |
download | guix-23cb0c203c368a40a1db49de2581ea59d12d899e.tar.gz guix-23cb0c203c368a40a1db49de2581ea59d12d899e.zip |
gnu: tuir: Move to pyproject-build-system.
* gnu/packages/syndication.scm (tuir):
[build-system]: Move to pyproject-build-system.
[arguments]<#:phases>: Replace 'check phase replacement.
<#:test-flags>: Ignore failing test.
Change-Id: If88f6c42769b096871bdd73af67d71930e39e399
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/syndication.scm | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index 825ea10621..45a02ebbe2 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -34,6 +34,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages autotools) @@ -57,6 +58,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages pretty-print) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) #:use-module (gnu packages python-check) #:use-module (gnu packages python-xyz) #:use-module (gnu packages python-web) @@ -509,16 +511,13 @@ a simple interface that makes it easy to organize and browse feeds.") (sha256 (base32 "06xb030ibphbrz4nsxm8mh3g60ld8xfp6kc3j6vi1k4ls5s4h79i")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (delete 'sanity-check) ; Tries to read environment variables. - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (when tests? - (invoke "pytest"))))))) + (list #:test-flags + '(list "-k" "not test_content_humanize_timestamp") + #:phases + #~(modify-phases %standard-phases + (delete 'sanity-check)))) ; Reads environment variables. (inputs (list python-beautifulsoup4 python-decorator python-kitchen python-requests python-six)) |