From 389e25d12d533395a95ca163a1a26cb20b123fce Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 20 Jan 2022 22:35:49 +0100 Subject: [PATCH v5 15/32] 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 15d8ffecbf..142e5b257e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25656,6 +25656,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