From b8e12bc83ebf1cbeef1e5c4aefeaf028522068bf Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 20 Jan 2022 22:35:02 +0100 Subject: [PATCH v5 13/32] 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 48c1fa1382..57e2b7ed6f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25626,6 +25626,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