From 828f5207b4e8a09a0e166ed89047a91617e84324 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 ea4de06935..6d57192ccb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28904,3 +28904,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