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:
Sharlatan Hellseher 2025-07-29 10:47:12 +01:00
parent 16db22d016
commit e599a6c549
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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