gnu: python-aiosignal: Update to 1.3.1.

* gnu/packages/python-web.scm (python-aiosignal): Update to 1.3.1.
[build-system]: Use pyproject-build-system.
[arguments]: Remove #:phases.  Add #:test-flags.
[native-inputs]: Add python-pytest-cov.
This commit is contained in:
Maxim Cournoyer 2023-04-17 09:55:18 -04:00
parent e27acc6fc7
commit 718b4687c9
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -290,23 +290,17 @@ (define-public python-frozenlist
(define-public python-aiosignal
(package
(name "python-aiosignal")
(version "1.2.0")
(version "1.3.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "aiosignal" version))
(sha256
(base32 "1wkxbdgw07ay8yzx3pg1jcm46p3d21rfb5g4k17ysz3vdkdngvbq"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "tests")))))))
(base32 "1z4cnqww6j0xl6f3vx2r6kfv1hdny1pnlll7difvfj8nbvhrdkal"))))
(build-system pyproject-build-system)
(arguments (list #:test-flags #~(list "tests")))
(propagated-inputs (list python-frozenlist))
(native-inputs (list python-pytest python-pytest-asyncio))
(native-inputs (list python-pytest python-pytest-asyncio python-pytest-cov))
(home-page "https://github.com/aio-libs/aiosignal")
(synopsis "Callback manager for Python @code{asyncio} projects")
(description "This Python module provides @code{Signal}, an abstraction to