mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 22:16:32 +01:00
gnu: toot: Update to 0.37.0.
* gnu/packages/mastodon.scm (toot): Update to 0.37.0. [native-inputs]: Add python-psycopg2.
This commit is contained in:
parent
480d37f94a
commit
63d555cd0c
1 changed files with 4 additions and 8 deletions
|
@ -27,6 +27,7 @@ (define-module (gnu packages mastodon)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages check)
|
#:use-module (gnu packages check)
|
||||||
|
#:use-module (gnu packages databases)
|
||||||
#:use-module (gnu packages freedesktop)
|
#:use-module (gnu packages freedesktop)
|
||||||
#:use-module (gnu packages gettext)
|
#:use-module (gnu packages gettext)
|
||||||
#:use-module (gnu packages glib)
|
#:use-module (gnu packages glib)
|
||||||
|
@ -44,29 +45,24 @@ (define-module (gnu packages mastodon)
|
||||||
(define-public toot
|
(define-public toot
|
||||||
(package
|
(package
|
||||||
(name "toot")
|
(name "toot")
|
||||||
(version "0.36.0")
|
(version "0.37.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "toot" version))
|
(uri (pypi-uri "toot" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1n79jwr3kpnc2xsr9isbgrj5as5i6zbkhxrdpdjfg87qbbjz7xca"))))
|
(base32 "0qx8hyb74r85dxf97k23w0f5rzkrs16mq7h3y37nwp6hl6gia0ci"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-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
|
(replace 'check
|
||||||
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
(add-installed-pythonpath inputs outputs)
|
(add-installed-pythonpath inputs outputs)
|
||||||
(invoke "py.test")))))))
|
(invoke "py.test")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest))
|
(list python-psycopg2 python-pytest))
|
||||||
(inputs
|
(inputs
|
||||||
(list python-beautifulsoup4 python-requests python-urwid
|
(list python-beautifulsoup4 python-requests python-urwid
|
||||||
python-wcwidth))
|
python-wcwidth))
|
||||||
|
|
Loading…
Reference in a new issue