mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pytest-metadata: Update to 3.1.1.
* gnu/packages/python-check.scm (python-pytest-metadata): Update to 3.1.1. [build-system]: Swap to pyproject-build-system. [native-inputs]: Add python-hatchling and python-hatch-vcs. Change-Id: If6d335a10a8eafcbab09e6149f8117647f95990f
This commit is contained in:
parent
27fdf6fa94
commit
7427ff48be
1 changed files with 9 additions and 12 deletions
|
@ -953,22 +953,19 @@ someone to import them in their actual tests to use them.")
|
||||||
(define-public python-pytest-metadata
|
(define-public python-pytest-metadata
|
||||||
(package
|
(package
|
||||||
(name "python-pytest-metadata")
|
(name "python-pytest-metadata")
|
||||||
(version "1.11.0")
|
(version "3.1.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pytest-metadata" version))
|
(uri (pypi-uri "pytest_metadata" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1wgcz0w053lnjln0081kjmfflaq7bwncxdzx7k63kr9lkpa0ddbi"))))
|
(base32 "1j0ph028mj81314vxb027d5b98xii3zl2vd9i8b3zh7val1rp8nj"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(native-inputs
|
||||||
(list #:phases
|
(list python-hatchling
|
||||||
#~(modify-phases %standard-phases
|
python-hatch-vcs
|
||||||
(replace 'check
|
python-pytest
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
python-setuptools-scm))
|
||||||
(when tests?
|
|
||||||
(invoke "pytest" "-vv")))))))
|
|
||||||
(native-inputs (list python-pytest python-setuptools-scm))
|
|
||||||
(home-page "https://github.com/pytest-dev/pytest-metadata")
|
(home-page "https://github.com/pytest-dev/pytest-metadata")
|
||||||
(synopsis "Access test session metadata with Pytest")
|
(synopsis "Access test session metadata with Pytest")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue