[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/15: gnu: Add python-re-assert.
From: |
guix-commits |
Subject: |
03/15: gnu: Add python-re-assert. |
Date: |
Tue, 10 Nov 2020 16:34:16 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit c682dae03d39e7b987bbb74d8bc6121ded2ccfe4
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sat Oct 31 17:03:43 2020 -0300
gnu: Add python-re-assert.
* gnu/packages/python-check.scm (python-re-assert): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
---
gnu/packages/python-check.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 24fe290..dcd4bb9 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -436,6 +436,40 @@ in Pytest.")
of the project to ensure it renders properly.")
(license license:expat)))
+(define-public python-re-assert
+ (package
+ (name "python-re-assert")
+ (version "1.1.0")
+ (source
+ (origin
+ ;; There are no tests in the PyPI tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/asottile/re-assert")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1rssq4wpqmx1c17hjfx5l3sn3zmnlz9jffddiqrs4f6h7m6cadai"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "pytest" "-vv"))))))
+ (native-inputs
+ `(("python-covdefaults" ,python-covdefaults)
+ ("python-coverage" ,python-coverage)
+ ("python-pytest" ,python-pytest)))
+ (propagated-inputs
+ `(("python-regex" ,python-regex)))
+ (home-page "https://github.com/asottile/re-assert")
+ (synopsis "Show where your regex match assertion failed")
+ (description
+ "@code{re-assert} provides a helper class to make assertions of regexes
+simpler.")
+ (license license:expat)))
+
(define-public python-pytest-trio
(package
(name "python-pytest-trio")
- branch master updated (28e2f27 -> 569cd53), guix-commits, 2020/11/10
- 04/15: gnu: pre-commit: Update to 2.8.1., guix-commits, 2020/11/10
- 06/15: gnu: v4l-utils: Move graphical tools to a separate output, guix-commits, 2020/11/10
- 07/15: gnu: v4l-utils: Do not build static libraries., guix-commits, 2020/11/10
- 08/15: gnu: sdcc: Remove non-free code., guix-commits, 2020/11/10
- 01/15: gnu: ungoogled-chromium: Update to 86.0.4240.193-0.b68e17f., guix-commits, 2020/11/10
- 02/15: gnu: cl-slime-swank: Update to 2.26., guix-commits, 2020/11/10
- 03/15: gnu: Add python-re-assert.,
guix-commits <=
- 05/15: gnu: python-canonicaljson: Update to 1.4.0., guix-commits, 2020/11/10
- 11/15: gnu: gnucash: Enable python bindings., guix-commits, 2020/11/10
- 15/15: gnu: nomad: Update to 0.2.0-alpha-199-g3e7a475., guix-commits, 2020/11/10
- 14/15: gnu: g-golf: Update to ef830107b9765bd6a2da848d0cbe45e11374c0b5., guix-commits, 2020/11/10
- 10/15: gnu: Add setzer., guix-commits, 2020/11/10
- 09/15: gnu: Add icedove-wayland., guix-commits, 2020/11/10
- 13/15: gnu: emacsy-minimal: Update to v0.4.1-37-g5f91ee6., guix-commits, 2020/11/10
- 12/15: gnu: httpie: Add 'lint-hidden-cve' property., guix-commits, 2020/11/10