From 568abb09c392b847a34a9673f4e7e1735a30182a Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 20 Jan 2022 22:35:49 +0100 Subject: [PATCH 15/18] gnu: Add python-pytest-harvest. * gnu/packages/python-xyz.scm (python-pytest-harvest): New variable. --- gnu/packages/python-xyz.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 31518820ff..51f17ed4e7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29137,3 +29137,21 @@ (define-public python-pytest-cases (arguments '()) (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)))) -- 2.34.0