GNU bug report logs -
#47593
[PATCH 0/6] *** Add Python Abjad v3.3 ***
Previous Next
Reported by: BonfaceKilz <me <at> bonfacemunyoki.com>
Date: Sun, 4 Apr 2021 12:17:02 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
Message #77 received at 47593 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-check.scm (python-pytest-helpers-namespace): New
variable.
Co-authored-by: jgart <jgart <at> dismail.de>
---
gnu/packages/python-check.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index bde836a931..92887ef625 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -12,6 +12,7 @@
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus <at> gmail.com>
;;; Copyright © 2021 Brendan Tildesley <mail <at> brendan.scot>
;;; Copyright © 2021 Guillaume Le Vaillant <glv <at> posteo.net>
+;;; Copyright © 2021 Bonface Munyoki Kilyungi <me <at> bonfacemunyoki.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -374,6 +375,40 @@ provides a shortcut to testing all code and documentation for a given
sub-package.")
(license license:bsd-3)))
+(define-public python-pytest-helpers-namespace
+ (package
+ (name "python-pytest-helpers-namespace")
+ (version "2021.3.24")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-helpers-namespace" version))
+ (sha256
+ (base32
+ "0pyj2d45zagmzlajzqdnkw5yz8k49pkihbydsqkzm413qnkzb38q"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; Make the installed plugin discoverable by Pytest.
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "-vv"))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest-6)
+ ("python-setuptools" ,python-setuptools)
+ ("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-setuptools-declarative-requirements"
+ ,python-setuptools-declarative-requirements)))
+ (home-page
+ "https://github.com/saltstack/pytest-helpers-namespace")
+ (synopsis "Pytest Helpers Namespace Plugin")
+ (description "Pytest Helpers Namespace Plugin provides a helpers pytest
+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-openfiles
(package
(name "python-pytest-openfiles")
--
2.31.1
This bug report was last modified 4 years and 96 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.