gnu: toot: Update to 0.24.0.

* gnu/packages/mastodon.scm (toot): Update to 0.24.0.
[arguments]: Remove obsolete ‘dont-install-Makefile’ phase.
This commit is contained in:
Tobias Geerinckx-Rice 2019-11-30 23:54:23 +01:00
parent 27b77228cf
commit 11a05344ec
No known key found for this signature in database
GPG key ID: D889B0F018C5493C

View file

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@ -23,31 +24,23 @@ (define-module (gnu packages mastodon)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages check)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
)
#:use-module (gnu packages python-xyz))
(define-public toot
(package
(name "toot")
(version "0.21.0")
(version "0.24.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "toot" version))
(sha256
(base32
"1dqv5jckaw3r7dnfns3iygwbfnf27x513qrw2rryzl5y79xrzs1x"))))
(base32 "0w83b6ydaggrand9285wfrjrm1qry8fjl4as0iihma630ky6y2w3"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(delete 'check)
;; see https://github.com/ihabunek/toot/issues/91
(add-after 'unpack 'dont-install-Makefile
(lambda _
(substitute* "setup.py"
(("data_files.*" all) ""))
#t))
(add-after 'install 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)