From aac715959af6b765272a07c4521dc44939cdb84c Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 20 Jan 2022 22:35:02 +0100 Subject: [PATCH v4 13/18] 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 49e553c567..bdb5b9537d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25641,6 +25641,28 @@ (define python-pytest-cases-minimal 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") -- 2.34.0