From b5687abe6b2e7d03c1cb35c31f707f6b534ffca6 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 20 Jan 2022 22:36:06 +0100 Subject: [PATCH 16/18] gnu: Add python-pytest-steps. * gnu/packages/python-xyz.scm (python-pytest-steps): New variable. --- gnu/packages/python-xyz.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6d57192ccb..0f85efd085 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28922,3 +28922,17 @@ (define-public python-pytest-harvest python-tabulate python-pandas)) (propagated-inputs (list python-decopatch python-makefun python-six)))) + +(define-public python-pytest-steps + (package + (inherit python-pytest-steps-minimal) + (name "python-pytest-steps") + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'move-pytests-plugins + (lambda _ + (rename-file "pytest_steps/tests/conftest.py" + "conftest.py")))))) + (native-inputs (list python-pytest python-pytest-runner + python-setuptools-scm python-pytest-cases + python-pytest-harvest)))) -- 2.34.0