unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42741] [PATCH 1/4] gnu: Add python-outcome.
@ 2020-08-07 13:24 Vinicius Monego
  2020-08-07 13:24 ` [bug#42742] [PATCH 2/4] gnu: Add python-trustme Vinicius Monego
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Vinicius Monego @ 2020-08-07 13:24 UTC (permalink / raw)
  To: 42741; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-outcome): New variable.
---
 gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e4a83a2f37..e15f1a495e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18929,6 +18929,39 @@ easy-to-extend subclass system, and lots of primitive constructs to
 make your work easier.")
     (license license:expat)))
 
+(define-public python-outcome
+  (package
+    (name "python-outcome")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "outcome" version))
+       (sha256
+        (base32 "0vxn04vspmlkkyijjkjnsc46f93ki8g62hr7ag10zpd7ic324y7w"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (add-installed-pythonpath inputs outputs)
+             (invoke "pytest" "-vv"))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-asyncio" ,python-pytest-asyncio)))
+    (propagated-inputs
+     `(("python-async-generator" ,python-async-generator)
+       ("python-attrs" ,python-attrs)))
+    (home-page "https://github.com/python-trio/outcome")
+    (synopsis "Capture the outcome of Python function calls")
+    (description
+     "Capture the outcome of Python function calls.  Extracted from the Trio
+project.")
+    ;; Either license applies.
+    (license (list license:expat license:asl2.0))))
+
 (define-public python-humanize
   (package
     (name "python-humanize")
-- 
2.20.1





^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-08-09 11:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-07 13:24 [bug#42741] [PATCH 1/4] gnu: Add python-outcome Vinicius Monego
2020-08-07 13:24 ` [bug#42742] [PATCH 2/4] gnu: Add python-trustme Vinicius Monego
2020-08-09 11:55   ` bug#42742: " Efraim Flashner
2020-08-07 13:24 ` [bug#42743] [PATCH 3/4] gnu: Add python-trio Vinicius Monego
2020-08-09 11:56   ` bug#42743: " Efraim Flashner
2020-08-07 13:24 ` [bug#42744] [PATCH 4/4] gnu: Add python-pytest-trio Vinicius Monego
2020-08-09 11:56   ` bug#42744: " Efraim Flashner
2020-08-07 18:45 ` [bug#42741] [PATCH 1/4] gnu: Add python-outcome Brett Gilio
2020-08-07 19:30   ` Vinicius Monego
2020-08-08 13:35     ` Vinicius Monego
2020-08-09 11:55 ` bug#42741: " Efraim Flashner

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).