From f34ccd506e6594ad253f3f8d1c03171e7520a4b9 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 6 Dec 2022 10:58:08 +0200 Subject: [PATCH] gnu: toot: Update to 0.30.1. * gnu/packages/mastodon.scm (toot): Update to 0.30.1. [arguments]: Add a phase to remove integration tests. --- gnu/packages/mastodon.scm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gnu/packages/mastodon.scm b/gnu/packages/mastodon.scm index d6fd1db2b6..e8c31fb168 100644 --- a/gnu/packages/mastodon.scm +++ b/gnu/packages/mastodon.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2019, 2020, 2021 Efraim Flashner +;;; Copyright © 2019-2022 Efraim Flashner ;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; Copyright © 2021 Taiju HIGASHI ;;; @@ -42,17 +42,22 @@ (define-module (gnu packages mastodon) (define-public toot (package (name "toot") - (version "0.28.0") + (version "0.30.1") (source (origin (method url-fetch) (uri (pypi-uri "toot" version)) (sha256 - (base32 "1wsj4160z3m1nvswgkl08n9ymihxhxdvxvrsycn9d3y5fplm00k9")))) + (base32 "0r9f2frlwfxkcv6c9lh36maph90v2yp6s7phynbrb3m7v35xzaxz")))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases + (add-before 'check 'adjust-test-suite + (lambda _ + ;; This test contains integration tests meant to run against a test + ;; Mastodon instance. + (delete-file "tests/test_integration.py"))) (replace 'check (lambda* (#:key tests? inputs outputs #:allow-other-keys) (when tests?