Subject: [bug#49338] [PATCH 3/8] gnu: Add python-pytest-datadir.

From: Hugo Lecomte <[email-masked]>
Date: Mon, 5 Jul 2021 09:29:26 +0200

* gnu/packages/check.scm (python-pytest-datadir): New variable.
---
 gnu/packages/check.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 658905a7f5..c97e1e721c 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2924,3 +2924,25 @@ to mark some tests as dependent from other tests.  These tests will then be
 skipped if any of the dependencies did fail or has been skipped.")
     (license license:asl2.0)))
 
+(define-public python-pytest-datadir
+  (package
+    (name "python-pytest-datadir")
+    (version "1.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-datadir" version))
+       (sha256
+        (base32
+         "066bg6wlzgq2pqnjp73dfrcmk8951xw3aqcxa3p1axgqimrixbyk"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-setuptools-scm" ,python-setuptools-scm)))
+    (propagated-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-wheel" ,python-wheel)))
+    (home-page "https://github.com/gabrielcnr/pytest-datadir")
+    (synopsis "Pytest plugin for manipulating test data directories and files")
+    (description
+     "Pytest plugin for manipulating test data directories and files")
+    (license license:expat)))
-- 
2.31.1