From: Josh Marshall <joshua.r.marshall.1991@gmail.com>
To: 41067@debbugs.gnu.org
Subject: [bug#41067] Add python-pytest-asyncio
Date: Sun, 3 May 2020 19:06:47 -0400 [thread overview]
Message-ID: <CAFkJGRdXz=GfarOjDM3c-rxyNkei7_taM=0iLEgGdhcC279t1A@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 154 bytes --]
Here's an addition for the python-pytest-asyncio package. I'm not sure how
to merge the patches, but the two patches attached refer to the same
package.
[-- Attachment #1.2: Type: text/html, Size: 189 bytes --]
[-- Attachment #2: 0002-Linting.patch --]
[-- Type: text/x-patch, Size: 977 bytes --]
From c881b474072b4d8eb62a16624d0f193671b72b0c Mon Sep 17 00:00:00 2001
From: Josh Marshall <joshua.r.marshall.1991@gmail.com>
Date: Sun, 3 May 2020 18:58:56 -0400
Subject: [PATCH 2/2] Linting
To: guix-patches@gnu.org
---
gnu/packages/check.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index eda33e283c..93d9da946b 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1427,7 +1427,7 @@ executed.")
("python-async-generator" ,python-async-generator)
("python-hypothesis" ,python-hypothesis)))
(home-page "https://github.com/pytest-dev/pytest-asyncio")
- (synopsis "Pytest support for asyncio.")
+ (synopsis "Pytest support for asyncio")
(description "Python asyncio code is usually written in the form of
coroutines, which makes it slightly more difficult to test using normal
testing tools. pytest-asyncio provides useful fixtures and markers to make
--
2.25.1
[-- Attachment #3: 0001-Merged-adding-authors.patch --]
[-- Type: text/x-patch, Size: 1969 bytes --]
From 66c95e2d01d194fd95d3a96e5fe513aa07b4a92f Mon Sep 17 00:00:00 2001
From: Josh Marshall <joshua.r.marshall.1991@gmail.com>
Date: Sun, 3 May 2020 18:22:23 -0400
Subject: [PATCH 1/2] Merged adding authors
To: guix-patches@gnu.org
---
gnu/packages/check.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 427607e6de..eda33e283c 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -32,6 +32,7 @@
;;; Copyright © 2019 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
+;;; Copyright © 2020 Josh Marshall <joshua.r.marshall.1991@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1408,6 +1409,32 @@ executed.")
(define-public python2-coverage
(package-with-python2 python-coverage))
+(define-public python-pytest-asyncio
+ (package
+ (name "python-pytest-asyncio")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-asyncio" version))
+ (sha256
+ (base32 "1bysy4nii13bm7h345wxf8fxcjhab7l374pqdv7vwv3izl053b4z"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pytest" ,python-pytest)))
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-async-generator" ,python-async-generator)
+ ("python-hypothesis" ,python-hypothesis)))
+ (home-page "https://github.com/pytest-dev/pytest-asyncio")
+ (synopsis "Pytest support for asyncio.")
+ (description "Python asyncio code is usually written in the form of
+coroutines, which makes it slightly more difficult to test using normal
+testing tools. pytest-asyncio provides useful fixtures and markers to make
+testing easier.")
+ (license license:asl2.0)))
+
+
(define-public python-cov-core
(package
(name "python-cov-core")
--
2.25.1
next reply other threads:[~2020-05-04 1:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-03 23:06 Josh Marshall [this message]
2020-05-05 18:01 ` bug#41067: Add python-pytest-asyncio Marius Bakke
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFkJGRdXz=GfarOjDM3c-rxyNkei7_taM=0iLEgGdhcC279t1A@mail.gmail.com' \
--to=joshua.r.marshall.1991@gmail.com \
--cc=41067@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.