From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:58918) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAb8U-0000Ly-4I for guix-patches@gnu.org; Sat, 07 Mar 2020 10:13:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAb8S-0006qf-UR for guix-patches@gnu.org; Sat, 07 Mar 2020 10:13:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41404) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jAb8S-0006qL-Qm for guix-patches@gnu.org; Sat, 07 Mar 2020 10:13:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jAb8S-0005T5-NA for guix-patches@gnu.org; Sat, 07 Mar 2020 10:13:04 -0500 Subject: [bug#39292] [PATCH 09/10] gnu: Add python-tenacity Resent-Message-ID: From: Sebastian Schott Date: Sat, 7 Mar 2020 16:11:45 +0100 Message-Id: <20200307151146.2581-9-sschott@mailbox.org> In-Reply-To: <20200307151146.2581-1-sschott@mailbox.org> References: <20200307151146.2581-1-sschott@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39292@debbugs.gnu.org Cc: Sebastian Schott * gnu/packages/python-xyz.scm (python-tenacity): New variable. --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 05c9c1e5d5..989469ad27 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -172,6 +172,36 @@ #:use-module (srfi srfi-1) #:use-module (srfi srfi-26)) +(define-public python-tenacity + (package + (name "python-tenacity") + (version "6.1.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "tenacity" version)) + (sha256 + (base32 + "1j36v9fcpmmd4985ix0cwnvcq71rkrn5cjiiv0id9vkl4kpxh0gv")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools-scm" ,python-setuptools-scm) + ("python-sphinx" ,python-sphinx) + ("python-tornado" ,python-tornado) + ("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-six" ,python-six))) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest") + #t))))) + (home-page "https://github.com/jd/tenacity") + (synopsis "Retrying library for python") + (description "Tenacity is a general-purpose python library to simplify the +task of adding retry behavior to just about anything.") + (license license:asl2.0))) + (define-public python-colorlog (package (name "python-colorlog") -- 2.24.0