From 8cb125505b1f6a5ff79b71e643949ca7f90790b8 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 20 Jan 2022 22:35:49 +0100 Subject: [PATCH v4 15/18] gnu: Add python-pytest-harvest. * gnu/packages/python-xyz.scm (python-pytest-harvest): New variable. --- gnu/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 730a8723f7..0ffd4ef9c6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25671,6 +25671,25 @@ (define-public python-pytest-cases ;; Propagate the tested decopatch instead of decopatch-minimal (propagated-inputs (list python-decopatch python-makefun)))) +(define-public python-pytest-harvest + (package + (inherit python-pytest-harvest-minimal) + (name "python-pytest-harvest") + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'move-pytests-plugins + (lambda _ + (rename-file "pytest_harvest/tests/conftest.py" + "conftest.py")))))) + (native-inputs (list python-pytest + python-pytest-runner + python-setuptools-scm + python-pytest-cases + python-tabulate + python-pandas)) + (propagated-inputs (list python-decopatch python-makefun python-six)))) + (define-public python-frozendict (package (name "python-frozendict") -- 2.34.0