emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42636: closed ([PATCH] gnu: Add python-pytest-ordering.)


From: GNU bug Tracking System
Subject: bug#42636: closed ([PATCH] gnu: Add python-pytest-ordering.)
Date: Sat, 01 Aug 2020 06:55:02 +0000

Your message dated Sat, 01 Aug 2020 08:54:41 +0200
with message-id <87tuxmama6.fsf@gnu.org>
and subject line Re: [bug#42636] [PATCH] gnu: Add python-pytest-ordering.
has caused the debbugs.gnu.org bug report #42636,
regarding [PATCH] gnu: Add python-pytest-ordering.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
42636: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42636
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add python-pytest-ordering. Date: Fri, 31 Jul 2020 12:59:21 -0300
* gnu/packages/python-check.scm (python-pytest-ordering): New variable.
---
 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 e96ce9e666..3beac8c206 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -126,6 +126,40 @@ detect the absence of a cassette file and once again 
record all HTTP
 interactions, which will update them to correspond to the new API.")
     (license license:expat)))
 
+(define-public python-pytest-ordering
+  (package
+    (name "python-pytest-ordering")
+    (version "0.6")
+    (source
+     (origin
+       ;; No tests in the PyPI tarball.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ftobia/pytest-ordering";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "14msj5gyqza0gk3x7h1ivmjrwza82v84cj7jx3ks0fw9lpin7pjq"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (add-installed-pythonpath inputs outputs)
+             (invoke "pytest" "-vv" "-k"
+                     ;; This test fails because of a type mismatch of an
+                     ;; argument passed to @code{pytest.main}.
+                     "not test_run_marker_registered"))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/ftobia/pytest-ordering";)
+    (synopsis "Pytest plugin to run your tests in a specific order")
+    (description
+     "This plugin defines Pytest markers to ensure that some tests, or groups
+of tests run in a specific order.")
+    (license license:expat)))
+
 (define-public python-pytest-arraydiff
   (package
     (name "python-pytest-arraydiff")
-- 
2.20.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#42636] [PATCH] gnu: Add python-pytest-ordering. Date: Sat, 01 Aug 2020 08:54:41 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Hello,

> * gnu/packages/python-check.scm (python-pytest-ordering): New variable.

Pushed, thanks!

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]