From ac4c0b193315d9c61b71749370ad55091154bfdb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 26 Nov 2021 15:52:10 +0200 Subject: gnu: toot: Update to 0.28.0. * gnu/packages/mastodon.scm (toot): Update to 0.28.0. --- gnu/packages/mastodon.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/mastodon.scm') diff --git a/gnu/packages/mastodon.scm b/gnu/packages/mastodon.scm index 17673c7fde..f23ff062fa 100644 --- a/gnu/packages/mastodon.scm +++ b/gnu/packages/mastodon.scm @@ -40,13 +40,13 @@ (define-public toot (package (name "toot") - (version "0.27.0") + (version "0.28.0") (source (origin (method url-fetch) (uri (pypi-uri "toot" version)) (sha256 - (base32 "1mfbqmgna7046d134pc5qx1vyfd60vwcn0xr9lxzlmc5rjdbmz8x")))) + (base32 "1wsj4160z3m1nvswgkl08n9ymihxhxdvxvrsycn9d3y5fplm00k9")))) (build-system python-build-system) (arguments '(#:phases -- cgit v1.2.3 From 3d6040c13522122df496c862c0ca2ddf8b28b71c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 26 Nov 2021 15:52:57 +0200 Subject: gnu: toot: Honor the #:tests? flag. * gnu/packages/mastodon.scm (toot)[arguments]: Adjust custom 'check phase to honor the #:tests? flag. --- gnu/packages/mastodon.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gnu/packages/mastodon.scm') diff --git a/gnu/packages/mastodon.scm b/gnu/packages/mastodon.scm index f23ff062fa..4847bbeed9 100644 --- a/gnu/packages/mastodon.scm +++ b/gnu/packages/mastodon.scm @@ -52,9 +52,10 @@ '(#:phases (modify-phases %standard-phases (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (invoke "py.test")))))) + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "py.test"))))))) (native-inputs `(("python-pytest" ,python-pytest))) (inputs -- cgit v1.2.3