GNU bug report logs -
#70855
[PATCH 00/92] python-team patches
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Thu, 9 May 2024 22:51:01 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
Message #266 received at 70855 <at> debbugs.gnu.org (full text, mbox):
* 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
---
gnu/packages/syndication.scm | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index 18d3df5b6ee..d986e049ccf 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -33,6 +33,7 @@ (define-module (gnu packages syndication)
#: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)
@@ -55,6 +56,7 @@ (define-module (gnu packages syndication)
#: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)
@@ -456,16 +458,13 @@ (define-public tuir
(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))
--
2.41.0
This bug report was last modified 364 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.