[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/09: gnu: Add python-pytest-sanic.
From: |
guix-commits |
Subject: |
08/09: gnu: Add python-pytest-sanic. |
Date: |
Tue, 15 Dec 2020 02:03:12 -0500 (EST) |
lfam pushed a commit to branch master
in repository guix.
commit 7ae45716848b6f660eff86911f599a1626b51b55
Author: Giacomo Leidi <goodoldpaul@autistici.org>
AuthorDate: Fri Nov 13 09:54:01 2020 +0100
gnu: Add python-pytest-sanic.
* gnu/packages/python-check.scm (python-pytest-sanic): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
---
gnu/packages/python-check.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 7202647..fb111d6 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1153,3 +1153,30 @@ execute @code{unittest} test suites using multiple
processes to split up
execution of a test suite. It will also store a history of all test runs to
help in debugging failures and optimizing the scheduler to improve speed.")
(license license:asl2.0)))
+
+;; This is only used by python-sanic
+(define-public python-pytest-sanic
+ (package
+ (name "python-pytest-sanic")
+ (version "1.6.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-sanic" version))
+ (sha256
+ (base32
+ "02ajd8z77ahi69kzkz200qgxrb4s2j4qb6k8j9ds1kz6qa6fsa34"))))
+ (build-system python-build-system)
+ (arguments
+ ;; Tests depend on python-sanic.
+ `(#:tests? #f))
+ (propagated-inputs
+ `(("python-aiohttp" ,python-aiohttp)
+ ("python-async-generator"
+ ,python-async-generator)
+ ("python-pytest" ,python-pytest)))
+ (home-page
+ "https://github.com/yunstanford/pytest-sanic")
+ (synopsis "Pytest plugin for Sanic")
+ (description "A pytest plugin for Sanic. It helps you to test your
+code asynchronously.")
+ (license license:expat)))
- branch master updated (3385920 -> e779dc8), guix-commits, 2020/12/15
- 01/09: gnu: Add python-contextvars., guix-commits, 2020/12/15
- 02/09: gnu: Add python-aiofiles., guix-commits, 2020/12/15
- 03/09: gnu: Add python-hstspreload., guix-commits, 2020/12/15
- 04/09: gnu: Add python-pyre-extensions., guix-commits, 2020/12/15
- 05/09: gnu: Add python-nbsphinx., guix-commits, 2020/12/15
- 07/09: gnu: Add python-pywatchman., guix-commits, 2020/12/15
- 08/09: gnu: Add python-pytest-sanic.,
guix-commits <=
- 09/09: gnu: Add python-sanic., guix-commits, 2020/12/15
- 06/09: gnu: Add python-dataclasses., guix-commits, 2020/12/15