From cf04823d3c5f711f04776a85fd39f043f8b56fea Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 20 Jan 2022 22:33:32 +0100 Subject: [PATCH 10/18] gnu: Add a test-less python-pytest-harvest. * gnu/packages/python-xyz.scm (python-pytest-harvest-minimal): New variable. --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d51deec454..15bd70fa8f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28798,3 +28798,27 @@ (define python-decopatch-minimal @samp{decopatch} provides a simple way to solve this issue so that writing decorators is simple and straightforward.") (license license:bsd-3))) + +(define python-pytest-harvest-minimal + (package + (name "python-pytest-harvest-minimal") + (version "1.10.3") + (source (origin + (method url-fetch) + (uri (pypi-uri "pytest-harvest" version)) + (sha256 + (base32 + "092drlh96rhikwqqyfpwqhkzfzd7z8m5gbmjgky8npm81849jbsk")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (propagated-inputs (list python-decopatch-minimal python-makefun + python-six)) + (native-inputs (list python-pytest python-pytest-runner + python-setuptools-scm)) + (home-page "https://github.com/smarie/python-pytest-harvest") + (synopsis "Store data created during your @samp{pytest} tests execution") + (description + "Store data created during your pytest tests execution, and retrieve it +at the end of the session, e.g. for applicative benchmarking purposes.") + (license license:bsd-3))) -- 2.34.0