[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/28: gnu: Add python-pytest-metadata.
From: |
guix-commits |
Subject: |
22/28: gnu: Add python-pytest-metadata. |
Date: |
Sat, 22 Jan 2022 04:23:48 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 36481d00de7137d055368f92c409c917a6fadfe8
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Jan 22 09:28:52 2022 +0100
gnu: Add python-pytest-metadata.
* gnu/packages/python-check.scm (python-pytest-metadata): New variable.
---
gnu/packages/python-check.scm | 29 ++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 9eee1a621c..2ab6686bbc 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019, 2021 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
-;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
@@ -44,6 +44,7 @@
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix download)
#:use-module (guix build-system python))
@@ -524,6 +525,32 @@ namespace which can be used to register helper functions
without requiring
someone to import them in their actual tests to use them.")
(license license:asl2.0)))
+(define-public python-pytest-metadata
+ (package
+ (name "python-pytest-metadata")
+ (version "1.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-metadata" version))
+ (sha256
+ (base32 "1wgcz0w053lnjln0081kjmfflaq7bwncxdzx7k63kr9lkpa0ddbi"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
+ (native-inputs (list python-pytest python-setuptools-scm))
+ (home-page "https://github.com/pytest-dev/pytest-metadata")
+ (synopsis "Access test session metadata with Pytest")
+ (description
+ "@code{pytest-metadata} is a @command{pytest} plugin that provides
+access to test session metadata.")
+ (license license:mpl2.0)))
+
(define-public python-pytest-openfiles
(package
(name "python-pytest-openfiles")
- 06/28: gnu: Add python-typeguard., (continued)
- 06/28: gnu: Add python-typeguard., guix-commits, 2022/01/22
- 08/28: gnu: python-pytest-mock: Cope with test warnings., guix-commits, 2022/01/22
- 07/28: gnu: python-tenacity: Update to 8.0.1., guix-commits, 2022/01/22
- 05/28: gnu: python-mypy: Update to 0.931., guix-commits, 2022/01/22
- 09/28: gnu: python-pytest-asyncio: Update to 0.17.2., guix-commits, 2022/01/22
- 17/28: gnu: python-flask: Update to 2.0.2., guix-commits, 2022/01/22
- 20/28: gnu: Deprecate python-flask-restplus., guix-commits, 2022/01/22
- 24/28: gnu: behave: Update to 1.2.7.dev2., guix-commits, 2022/01/22
- 10/28: gnu: Add python-psycopg-pool., guix-commits, 2022/01/22
- 18/28: gnu: python-flask-session: Update to 0.4.0., guix-commits, 2022/01/22
- 22/28: gnu: Add python-pytest-metadata.,
guix-commits <=
- 25/28: gnu: cwltool: Update to 3.1.20220119140128., guix-commits, 2022/01/22
- 26/28: gnu: python-flask-oidc: Update to 1.4.0., guix-commits, 2022/01/22
- 27/28: gnu: python-watchdog: Remove unused input., guix-commits, 2022/01/22
- 15/28: gnu: python-louvain: Build with older setuptools., guix-commits, 2022/01/22
- 16/28: gnu: python-werkzeug: Update to 2.0.2., guix-commits, 2022/01/22
- 19/28: gnu: python-sqlalchemy: Update to 1.4.31., guix-commits, 2022/01/22
- 23/28: gnu: Add python-cucumber-tag-expressions., guix-commits, 2022/01/22
- 28/28: gnu: python-sphinx-autobuild: Update to 2021.3.14., guix-commits, 2022/01/22
- 13/28: gnu: python-upsetplot: Update to 0.6.0., guix-commits, 2022/01/22
- 21/28: gnu: python-pyvcf: Build with old setuptools., guix-commits, 2022/01/22