From dfaf06e9a9c1830ad02292d8c01d7b03d1bfdd1a Mon Sep 17 00:00:00 2001 From: Sebastian Gibb Date: Mon, 12 Apr 2021 17:48:51 +0200 Subject: gnu: Add python-pytest-datafiles. * gnu/packages/python-check.scm (python-pytest-datafiles): New variable. Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/python-check.scm') diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 74e833686fe..88729df5940 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2021 Brendan Tildesley ;;; Copyright © 2021, 2022 Guillaume Le Vaillant ;;; Copyright © 2021 Bonface Munyoki Kilyungi +;;; Copyright © 2021 Sebastian Gibb ;;; Copyright © 2022 Malte Frank Gerdes ;;; Copyright © 2022 Felix Gruber ;;; Copyright © 2022 Tomasz Jeneralczyk @@ -698,6 +699,29 @@ your template is working as expected and takes care of cleaning up after running the tests.") (license license:expat))) +(define-public python-pytest-datafiles + (package + (name "python-pytest-datafiles") + (version "3.0.0") + (source + (origin + (method git-fetch) ; no tests in the PyPI tarball + (uri (git-reference + (url "https://github.com/omarkohl/pytest-datafiles") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wbgfsn4pcdm0bw61pwaaq707mlfnixlff3x8m5mpsf6jhrzql30")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest)) + (home-page "https://github.com/omarkohl/pytest-datafiles") + (synopsis "Pytest plugin to create a tmpdir") + (description + "A pytest plugin to create a tmpdir containing a preconfigured set of +files and/or directories.") + (license license:expat))) + (define-public python-pytest-doctestplus (package (name "python-pytest-doctestplus") -- cgit v1.3