diff options
author | Sebastian Gibb <mail@sebastiangibb.de> | 2021-04-12 17:48:51 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-08-27 00:33:33 +0100 |
commit | dfaf06e9a9c1830ad02292d8c01d7b03d1bfdd1a (patch) | |
tree | 0f5906c60161a4c890ed74d1a10627c9a5b77145 | |
parent | 7781bdf4b50930823454354e035231d816446048 (diff) | |
download | guix-dfaf06e9a9c1830ad02292d8c01d7b03d1bfdd1a.tar guix-dfaf06e9a9c1830ad02292d8c01d7b03d1bfdd1a.tar.gz |
gnu: Add python-pytest-datafiles.
* gnu/packages/python-check.scm (python-pytest-datafiles): New variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r-- | gnu/packages/python-check.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 74e833686f..88729df594 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot> ;;; Copyright © 2021, 2022 Guillaume Le Vaillant <glv@posteo.net> ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com> +;;; Copyright © 2021 Sebastian Gibb <mail@sebastiangibb.de> ;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes@gmail.com> ;;; Copyright © 2022 Felix Gruber <felgru@posteo.net> ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl> @@ -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") |