mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-autocommand: Update to 2.2.2.
* gnu/packages/python-xyz.scm (python-autocommand): Update to 2.2.2. [build-system]: Use pyproject. [arguments]: Drop them. [native-inputs]: Remove python-pytest-asyncio; add python-setuptools. Change-Id: I19bdfdb633775d94bffcf80c6cae2dc9f9e7da90
This commit is contained in:
parent
16db22d016
commit
e599a6c549
1 changed files with 5 additions and 16 deletions
|
@ -11976,27 +11976,16 @@ multivalue dictionary that retains the order of insertions and deletions.")
|
|||
(define-public python-autocommand
|
||||
(package
|
||||
(name "python-autocommand")
|
||||
(version "2.2.1")
|
||||
(version "2.2.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "autocommand" version))
|
||||
(sha256
|
||||
(base32 "03qp9xx4dq81ljhf56r21gp5j0lpqs1vaw99g0d84i97s3lj1m7y"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
;; This test fails with an invalid syntax error on 'task1 =
|
||||
;; asyncio.async(coro_1())' (see:
|
||||
;; https://github.com/Lucretiel/autocommand/issues/20).
|
||||
(delete-file "test/test_autoasync.py")
|
||||
(invoke "pytest" "-vv")))))))
|
||||
(native-inputs (list python-pytest python-pytest-asyncio))
|
||||
(base32 "0d2zjms5xm236k46la5pnl7i7hs3a12jlp12cw8lk5jm7i1fk3c7"))))
|
||||
(build-system pyproject-build-system)
|
||||
(native-inputs
|
||||
(list python-pytest python-setuptools))
|
||||
(home-page "https://github.com/Lucretiel/autocommand")
|
||||
(synopsis "Python library to build a command-line from a function")
|
||||
(description "@code{autocommand} is library to automatically generate and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue