guix-commits
[Top][All Lists]
Advanced

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

13/32: gnu: Add python-decopatch.


From: guix-commits
Subject: 13/32: gnu: Add python-decopatch.
Date: Wed, 16 Feb 2022 11:39:36 -0500 (EST)

nckx pushed a commit to branch wip-python-mne
in repository guix.

commit e9fcf198c3f648774d18dcd4ccd72bb37a26bd94
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Thu Jan 20 22:35:02 2022 +0100

    gnu: Add python-decopatch.
    
    * gnu/packages/python-xyz.scm (python-decopatch): New variable.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9b7eb717d7..b9802fdd4d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25657,6 +25657,28 @@ possibilities such as using fixture references as 
parameter values in a test
 function.")
     (license license:bsd-3)))
 
+(define-public python-decopatch
+  (package
+    (inherit python-decopatch-minimal)
+    (name "python-decopatch")
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'disable-failing-tests
+           (lambda _
+             (delete-file "decopatch/tests/test_main2.py")
+             (delete-file
+              "decopatch/tests/test_main2_parametrizers.py")
+             (delete-file "decopatch/tests/test_introspection.py")
+             (delete-file
+              "decopatch/tests/test_introspection_base.py")
+             (substitute* "decopatch/tests/test_doc_advanced.py"
+               (("'uses_introspection', \\[True, False\\]")
+                "'uses_introspection', [False]")))))))
+    (native-inputs (list python-pytest python-pytest-runner
+                         python-pytest-cases-minimal python-setuptools-scm
+                         python-pytest-logging))))
+
 (define-public python-frozendict
   (package
     (name "python-frozendict")



reply via email to

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