emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42741: closed ([PATCH 1/4] gnu: Add python-outcome.)


From: GNU bug Tracking System
Subject: bug#42741: closed ([PATCH 1/4] gnu: Add python-outcome.)
Date: Sun, 09 Aug 2020 11:56:01 +0000

Your message dated Sun, 9 Aug 2020 14:55:17 +0300
with message-id <20200809115517.GC840@E5400>
and subject line Re: [bug#42741] [PATCH 1/4] gnu: Add python-outcome.
has caused the debbugs.gnu.org bug report #42741,
regarding [PATCH 1/4] gnu: Add python-outcome.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
42741: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42741
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 1/4] gnu: Add python-outcome. Date: Fri, 7 Aug 2020 10:24:13 -0300
* 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#42741] [PATCH 1/4] gnu: Add python-outcome. Date: Sun, 9 Aug 2020 14:55:17 +0300
Thanks! Pushed as 7d7ad3c946897014cc1ccb7094382b21a8f7b45c


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]