* [bug#56027] [PATCH] gnu: Add python-timeout-decorator.
@ 2022-06-16 18:56 Antero Mejr via Guix-patches via
2023-09-02 0:23 ` bug#56027: " Vagrant Cascadian
0 siblings, 1 reply; 2+ messages in thread
From: Antero Mejr via Guix-patches via @ 2022-06-16 18:56 UTC (permalink / raw)
To: 56027
* 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 <jaivetrivelan@gmail.com>
;;; Copyright © 2022 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
+;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
;;;
;;; 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#56027: [PATCH] gnu: Add python-timeout-decorator.
2022-06-16 18:56 [bug#56027] [PATCH] gnu: Add python-timeout-decorator Antero Mejr via Guix-patches via
@ 2023-09-02 0:23 ` Vagrant Cascadian
0 siblings, 0 replies; 2+ messages in thread
From: Vagrant Cascadian @ 2023-09-02 0:23 UTC (permalink / raw)
To: Antero Mejr, 56027-done
[-- Attachment #1: Type: text/plain, Size: 379 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-02 0:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-16 18:56 [bug#56027] [PATCH] gnu: Add python-timeout-decorator Antero Mejr via Guix-patches via
2023-09-02 0:23 ` bug#56027: " Vagrant Cascadian
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.