[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/15: gnu: Add python-pytest-doctest-custom.
From: |
guix-commits |
Subject: |
08/15: gnu: Add python-pytest-doctest-custom. |
Date: |
Tue, 11 Jan 2022 12:14:15 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 3d2ea6a50b806ba27db8f1c3c2ad34bb5553b511
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Mon Dec 27 23:30:31 2021 +0000
gnu: Add python-pytest-doctest-custom.
* gnu/packages/python-check.scm (python-pytest-doctest-custom): New
variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/python-check.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index b4e2765d72..6d8e3560d9 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -776,6 +776,35 @@ support and @code{subtests} fixture.")
"Plugin for managing VCR.py cassettes.")
(license license:expat))))
+(define-public python-pytest-doctest-custom
+ (package
+ (name "python-pytest-doctest-custom")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-doctest-custom" version))
+ (sha256
+ (base32 "0kxkdd6q9c3h31kc88lbyfll4c45b0zjd24cbr4c083fcvcy7lip"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "test_pytest_doctest_custom.py")))))))
+ (native-inputs
+ (list python-pytest))
+ (home-page "https://github.com/danilobellini/pytest-doctest-custom")
+ (synopsis
+ "Pytest plugin to customize string representations of doctest results")
+ (description "This package provides a Pytest plugin for customizing string
+representations of doctest results. It can change the display hook used by
+doctest to render the object representations.")
+ (license license:expat)))
+
(define-public python-pytest-checkdocs
(package
(name "python-pytest-checkdocs")
- 04/15: gnu: Add python-flask-assets., (continued)
- 04/15: gnu: Add python-flask-assets., guix-commits, 2022/01/11
- 01/15: gnu: Add python-sarge., guix-commits, 2022/01/11
- 02/15: gnu: Add python-pylru., guix-commits, 2022/01/11
- 03/15: gnu: Add python-pyscss., guix-commits, 2022/01/11
- 10/15: gnu: python-netifaces: Update to 0.11.0., guix-commits, 2022/01/11
- 12/15: gnu: python-pkginfo: Update to 1.8.2., guix-commits, 2022/01/11
- 14/15: gnu: python-colorlog: Update to 6.6.0., guix-commits, 2022/01/11
- 05/15: gnu: Add python-zipstream-new., guix-commits, 2022/01/11
- 06/15: gnu: Add python-executing., guix-commits, 2022/01/11
- 09/15: gnu: python-feedparser: Enable tests., guix-commits, 2022/01/11
- 08/15: gnu: Add python-pytest-doctest-custom.,
guix-commits <=
- 11/15: gnu: python-websocket-client: Update to 0.59.0., guix-commits, 2022/01/11
- 13/15: gnu: python-watchdog: Update to 2.1.6., guix-commits, 2022/01/11
- 15/15: gnu: python-zeroconf: Update to 0.38.1., guix-commits, 2022/01/11
- 07/15: gnu: Add python-sentry-sdk., guix-commits, 2022/01/11