Subject: bug#56027: closed (Re: [bug#56027] [PATCH] gnu: Add python-timeout-decorator.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 02 Sep 2023 00:25:01 +0000

Your bug report

#56027: [PATCH] gnu: Add python-timeout-decorator.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
56027: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56027
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#56027] [PATCH] gnu: Add python-timeout-decorator.
From: Vagrant Cascadian <[email-masked]>
To: Antero Mejr <[email-masked]>, [email-masked]
Date: Fri, 01 Sep 2023 17:23:39 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

On 2022-06-16, Antero Mejr wrote:
> * gnu/packages/python-xyz.scm (python-timeout-decorator): New variable.
...
> +(define-public python-timeout-decorator
> +  (package
> +    (name "python-timeout-decorator")
> +    (version "0.5.0")

This was added in commit:

b6b09a93fd0d2177e702f43c566bb2b4c2d300c8 gnu: Add python-timeout-decorator.

Marking as done.

live well,
  vagrant

Subject: [PATCH] gnu: Add python-timeout-decorator.
From: Antero Mejr <[email-masked]>
To: [email-masked]
Date: Thu, 16 Jun 2022 18:56:45 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4b8e63890f..7b67fda45f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -123,6 +123,7 @@
 ;;; Copyright © 2022 Jai Vetrivelan <[email-masked]>
 ;;; Copyright © 2022 Artyom V. Poptsov <[email-masked]>
 ;;; Copyright © 2022 Paul A. Patience <[email-masked]>
+;;; Copyright © 2022 Antero Mejr <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -29693,3 +29694,22 @@ (define-public python-langcodes
 and names, built from Unicode CLDR and the IANA subtag registry, if you
 install @code{python-language-data}.")
     (license license:expat)))
+
+(define-public python-timeout-decorator
+  (package
+    (name "python-timeout-decorator")
+    (version "0.5.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "timeout-decorator" version))
+              (sha256
+               (base32
+                "1mxk2qyydhzncm93z08kvj5ssxq3fr2n7pkrrji28nqwvdc2ybva"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/pnpnpn/timeout-decorator")
+    (synopsis "Python decorator for applying a timeout to a function")
+    (description
+     "This package provides the Python decorator
+@code{timeout_decorator.timeout} which can be used to apply a timeout to the
+decorated function.  The decorator supports multi-threaded applications.")
+    (license license:expat)))
-- 
2.36.1