From: Antero Mejr via Guix-patches via <guix-patches@gnu.org>
To: 56027@debbugs.gnu.org
Subject: [bug#56027] [PATCH] gnu: Add python-timeout-decorator.
Date: Thu, 16 Jun 2022 18:56:45 +0000 [thread overview]
Message-ID: <20220616185645.10158-1-antero@mailbox.org> (raw)
* 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
next reply other threads:[~2022-06-16 18:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-16 18:56 Antero Mejr via Guix-patches via [this message]
2023-09-02 0:23 ` bug#56027: [PATCH] gnu: Add python-timeout-decorator Vagrant Cascadian
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220616185645.10158-1-antero@mailbox.org \
--to=guix-patches@gnu.org \
--cc=56027@debbugs.gnu.org \
--cc=antero@mailbox.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 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).