From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wFLbAoK7emR+FwEASxT56A (envelope-from ) for ; Sat, 03 Jun 2023 06:03:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oK2qAoK7emQnhwAAauVa8A (envelope-from ) for ; Sat, 03 Jun 2023 06:03:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A43D234A6 for ; Sat, 3 Jun 2023 06:03:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5ITo-0001PS-9A; Sat, 03 Jun 2023 00:03:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5ITm-0001PJ-PV for guix-patches@gnu.org; Sat, 03 Jun 2023 00:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5ITm-00081L-Dg for guix-patches@gnu.org; Sat, 03 Jun 2023 00:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5ITm-000745-8R for guix-patches@gnu.org; Sat, 03 Jun 2023 00:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62078] [PATCH v2] gnu: Add python-redo. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Jun 2023 04:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62078 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: jgart , 62078@debbugs.gnu.org Received: via spool by 62078-submit@debbugs.gnu.org id=B62078.168576497527139 (code B ref 62078); Sat, 03 Jun 2023 04:03:02 +0000 Received: (at 62078) by debbugs.gnu.org; 3 Jun 2023 04:02:55 +0000 Received: from localhost ([127.0.0.1]:41285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5ITf-00073f-5I for submit@debbugs.gnu.org; Sat, 03 Jun 2023 00:02:55 -0400 Received: from knopi.disroot.org ([178.21.23.139]:48650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5ITb-00073S-Ul for 62078@debbugs.gnu.org; Sat, 03 Jun 2023 00:02:53 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id DBE5040615; Sat, 3 Jun 2023 06:02:46 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yUboc2tDzdCc; Sat, 3 Jun 2023 06:02:45 +0200 (CEST) Message-ID: <855dc5d7-657c-f9db-b819-792ee1b0a430@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1685764965; bh=9AqedTSEbp87d7Enc3rLvBfFuPCPPpoW8A9l+SSgit0=; h=Date:Subject:To:References:From:In-Reply-To; b=ha2kmhjDrCz6RLezqJfIc2Y7go6DUAqWUMM4e4yOwVVSfZb/wxF6jh/6Dp1PP6e2F N8Q4RoUvKKMRXIawx+zWUefMxlFBExQvXTgMm2NiDFMCtvd/Ts+g25olXncVWytiWH Z9wsBJWE5K4RkGFheYcZP2579wMfISn4PjEftq8kzP4uBy/3ZWlI3BVKMOM6vUnYy2 9+Zc+SUcc+yJwXkhdCvGmfSb/3eZYmh0g8zVPdTnrGhbHwTPmnVojBcJrWvoTwHdOl bHgFzUI8ZoS9b1v3w/6ejLRN4nCoQSIKoN+c+1FlEVPbD4dbev55zX5mAGLFsonJ5c hjf0Dx+aUsDDA== Date: Sat, 3 Jun 2023 12:02:40 +0800 MIME-Version: 1.0 Content-Language: en-US References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches From: Adam Faiz via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685764993; a=rsa-sha256; cv=none; b=WVjCc73MNpQtTab8hT1Le4JmLOaLypG8U8XZTJRP04RIsna024cPIivzHbR8IgqV0kWA+W j7XEeNFlZnym/v/Vj01l2PP1dK/b65wOmggzsE2Nr6fMECcRusgZXu2bdZB3D9yNS950ys oD2N+aKguFF1a9NsxwyzBSmzLogvBvqePDdifRUST7DBqIJgOTmy1lqonlepoZ+anXG32c G+7cGRPzoV+0e0Yfy4ZFq1KvGHc152lYAfJrUfwT7+Qi/aLI5zpmEojVIOahQ35gfFq652 xcom4wfwp6EW/apy84w6PtWaj48FPlMsmOXz+h6a7jquSucEyb/ngGmAbFeTkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=ha2kmhjD; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685764993; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=L70uMvuCDx9Exq3MiO2mrYISHuey3UsIMpHBy+YIxdU=; b=MWo/I4YLoYULW1gROYh+lrAhjz6YeyEEFcfUJ+j02t0RgcxzJkjfPHQwEQWE/XOOBkjeGF 3jZ/myNE8xl9e6W+iiWMOwz5cWBHfbDy6axHtiTa5khvGYCi2psXvIvzLYhFUNE/DMs8IM JHlNEMKCHhPYpIEjhD4j5eMBTrMnEzPW23KQbwrRluV69vi9lgZXDXE5L8nkaSXCrzBih4 DwVCyzQ1xHn7ZFORhatnS1SS9TJovoLhn8ZvRYj9XN8rs5nc6urD5rZfnxMk/pEGU/MhFX A7s8XUeVwH/jQpChv2ph1feNCAa1ctlFtz9XIRUYgWExDSAzXf3feyuq7YcwdA== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=ha2kmhjD; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.47 X-Spam-Score: -4.47 X-Migadu-Queue-Id: A43D234A6 X-TUID: LL0x6Bu4FFU6 From 971c628998b36dc32bafd30364f635bafc8ff7cd Mon Sep 17 00:00:00 2001 Message-Id: <971c628998b36dc32bafd30364f635bafc8ff7cd.1685764335.git.adam.faiz@disroot.org> From: AwesomeAdam54321 Date: Thu, 9 Mar 2023 21:59:48 +0800 Subject: [PATCH v2] gnu: Add python-redo. * gnu/packages/python-xyz.scm (python-redo): New variable. --- gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 19f4ec97ff..2e2387a14a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29988,6 +29988,41 @@ (define-public python-recommonmark lets you write CommonMark inside of Docutils & Sphinx projects.") (license license:expat))) +(define-public python-redo + ; The latest release isn't tagged: + ; https://github.com/mozilla-releng/redo/issues/76 + (let ((commit "50cfe8e3656f253f9e51df3a998530351d2d9a8c") + (revision "0")) + (package + (name "python-redo") + (version (git-version "2.0.4" revision commit)) + (source + (origin + (method git-fetch) ; no tests in PyPI release + (uri (git-reference + (url "https://github.com/mozilla-releng/redo") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xpylx97qr4ikdhsr208ri41007mpp57a4n8mmlmlqmdljmsdpdb")))) + (build-system python-build-system) + (native-inputs + (list python-mock + python-pytest)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; The project uses tox to run the tests via pytest. + (invoke "pytest"))))))) + (home-page "https://github.com/mozilla-releng/redo") + (synopsis "Utilities to retry Python callables") + (description "Redo provides various means to add seamless ability to +retry to any Python callable.") + (license license:mpl2.0)))) + (define-public python-pyhull (package (name "python-pyhull") base-commit: 12e6a5923812abf180f03bea9e07dd99244a3fcd -- 2.40.1