From: Vinicius Monego <monego@posteo.net>
To: 48842@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#48842] [PATCH 1/6] gnu: Add python-pytest-datadir.
Date: Sat, 5 Jun 2021 01:46:50 +0000 [thread overview]
Message-ID: <20210605014655.18459-1-monego@posteo.net> (raw)
In-Reply-To: <20210605014517.18212-1-monego@posteo.net>
* gnu/packages/python-check.scm (python-pytest-datadir): New variable.
---
gnu/packages/python-check.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 1206dda5c4..abcbb6d805 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -882,6 +882,36 @@ framework.")
for the @code{pytest} framework.")
(license license:expat)))
+(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)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest")))))))
+ (propagated-inputs
+ `(("python-pathlib2" ,python-pathlib2)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-setuptools-scm" ,python-setuptools-scm)))
+ (home-page "https://github.com/gabrielcnr/pytest-datadir")
+ (synopsis "Pytest plugin for test data directories and files")
+ (description
+ "Pytest plugin for test data directories and files.")
+ (license license:expat)))
+
(define-public python-pytest-benchmark
(package
(name "python-pytest-benchmark")
--
2.31.1
next prev parent reply other threads:[~2021-06-05 1:48 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-05 1:45 [bug#48842] [PATCH 0/6] gnu: Add python-myst-parser Vinicius Monego
2021-06-05 1:46 ` Vinicius Monego [this message]
2021-06-05 1:46 ` [bug#48842] [PATCH 2/6] gnu: Add python-pytest-regressions Vinicius Monego
2021-06-05 1:46 ` [bug#48842] [PATCH 3/6] gnu: Add python-linkify-it-py Vinicius Monego
2021-06-05 13:27 ` Xinglu Chen
2021-06-05 1:46 ` [bug#48842] [PATCH 4/6] gnu: Add python-markdown-it-py Vinicius Monego
2021-06-05 1:46 ` [bug#48842] [PATCH 5/6] gnu: Add python-mdit-py-plugins Vinicius Monego
2021-06-05 13:27 ` Xinglu Chen
2021-06-05 1:46 ` [bug#48842] [PATCH 6/6] gnu: Add python-myst-parser Vinicius Monego
2021-06-05 13:37 ` Xinglu Chen
2021-11-12 3:42 ` Vinicius Monego
2021-06-05 13:24 ` [bug#48842] [PATCH 1/6] gnu: Add python-pytest-datadir Xinglu Chen
2021-06-07 11:20 ` [bug#48842] [PATCH v2 1/7] " Vinicius Monego
2021-06-07 11:20 ` [bug#48842] [PATCH v2 2/7] gnu: Add python-pytest-regressions Vinicius Monego
2021-06-07 11:20 ` [bug#48842] [PATCH v2 3/7] gnu: Add python-uc-micro-py Vinicius Monego
2021-06-07 11:20 ` [bug#48842] [PATCH v2 4/7] gnu: Add python-linkify-it-py Vinicius Monego
2021-06-07 11:20 ` [bug#48842] [PATCH v2 5/7] gnu: Add python-markdown-it-py Vinicius Monego
2021-06-07 11:20 ` [bug#48842] [PATCH v2 6/7] gnu: Add python-mdit-py-plugins Vinicius Monego
2021-06-07 11:20 ` [bug#48842] [PATCH v2 7/7] gnu: Add python-myst-parser Vinicius Monego
2021-09-15 16:41 ` [bug#48842] [PATCH v3 1/5] gnu: Add python-uc-micro-py Vinicius Monego
2021-09-15 16:41 ` [bug#48842] [PATCH v3 2/5] gnu: Add python-linkify-it-py Vinicius Monego
2021-09-15 16:41 ` [bug#48842] [PATCH v3 3/5] gnu: Add python-markdown-it-py Vinicius Monego
2021-09-15 16:41 ` [bug#48842] [PATCH v3 4/5] gnu: Add python-mdit-py-plugins Vinicius Monego
2021-09-15 16:41 ` [bug#48842] [PATCH v3 5/5] gnu: Add python-myst-parser Vinicius Monego
2022-11-06 10:46 ` bug#48842: [PATCH 0/6] " Vinicius Monego
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210605014655.18459-1-monego@posteo.net \
--to=monego@posteo.net \
--cc=48842@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).