[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51314] [PATCH v2 10/24] gnu: Add python-pytest-doctest-custom.
From: |
Vinicius Monego |
Subject: |
[bug#51314] [PATCH v2 10/24] gnu: Add python-pytest-doctest-custom. |
Date: |
Sat, 13 Nov 2021 20:02:16 +0000 |
* gnu/packages/python-check.scm (python-pytest-doctest-custom): New variable.
---
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 5b230934a5..4205e6bb48 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -752,6 +752,35 @@ in Pytest.")
"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
+ `(("python-pytest" ,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")
--
2.30.2
- [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 02/24] gnu: Add python-pylru., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 03/24] gnu: python-flask: Update to 1.1.4., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 04/24] gnu: python-flask: Respect #:tests?., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 07/24] gnu: Add python-zipstream-new., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 05/24] gnu: Add python-pyscss., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 06/24] gnu: Add python-flask-assets., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 08/24] gnu: Add python-executing., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 10/24] gnu: Add python-pytest-doctest-custom.,
Vinicius Monego <=
- [bug#51314] [PATCH v2 12/24] gnu: python-feedparser: Enable tests., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 11/24] gnu: python-feedparser: Update to 6.0.8., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 09/24] gnu: Add python-sentry-sdk., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 15/24] gnu: python-pkginfo: Update to 1.7.1., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 14/24] gnu: python-websocket-client: Update to 0.59.0., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 13/24] gnu: python-netifaces: Update to 0.11.0., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 16/24] gnu: python-watchdog: Update to 2.1.6., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 17/24] gnu: python-colorlog: Update to 6.6.0., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 19/24] gnu: python-wrapt: Update to 1.13.3., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 18/24] gnu: python-zeroconf: Update to 0.36.13., Vinicius Monego, 2021/11/13