GNU bug report logs - #70048
[PATCH] gnu: Add python-contexttimer.

Previous Next

Package: guix-patches;

Reported by: nafkhamdc <navid.afkhami <at> mdc-berlin.de>

Date: Thu, 28 Mar 2024 10:29:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70048 in the body.
You can then email your comments to 70048 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#70048; Package guix-patches. (Thu, 28 Mar 2024 10:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to nafkhamdc <navid.afkhami <at> mdc-berlin.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 28 Mar 2024 10:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: nafkhamdc <navid.afkhami <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Cc: nafkhamdc <navid.afkhami <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add python-contexttimer.
Date: Thu, 28 Mar 2024 10:27:51 +0000
* gnu/packages/bioinformatics.scm (python-contexttimer): New variable.

Change-Id: I1ed35f1d0190f0e3a60095c7627b6c17552cb4cc
---
 gnu/packages/bioinformatics.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index d18d5d8611..406506f549 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -17575,6 +17575,28 @@ (define-public python-pyfaidx
 fasta subsequences.")
     (license license:bsd-3)))
 
+(define-public python-contexttimer
+  (package
+    (name "python-contexttimer")
+    (version "0.3.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/brouberol/contexttimer")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "00a9h06a1wj66935n863qlk4jpl9gvdvzkkhl8xmgqwdkwv0js54"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-decorator python-unittest2))
+    (native-inputs (list python-mock))
+    (home-page "https://github.com/brouberol/contexttimer")
+    (synopsis "Timer as a context manager")
+    (description
+     "This package offers utilities to measure code block or function execution time.")
+    (license license:gpl3)))
+
 (define-public python-cooler
   (package
     (name "python-cooler")

base-commit: 0e8f7ee3a95011dd9ebdc99e0f3b754160524b5d
prerequisite-patch-id: d26b189d1487d0d6a234a8197c5892f1e179e5f5
-- 
2.34.1





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Thu, 28 Mar 2024 12:32:02 GMT) Full text and rfc822 format available.

Notification sent to nafkhamdc <navid.afkhami <at> mdc-berlin.de>:
bug acknowledged by developer. (Thu, 28 Mar 2024 12:32:02 GMT) Full text and rfc822 format available.

Message #10 received at 70048-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 70048-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-contexttimer.
Date: Thu, 28 Mar 2024 13:31:09 +0100
Thanks for the patch.  I applied it but moved it to python-xyz.scm, as
it is nothing to do with bioinformatics.

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 26 Apr 2024 11:25:44 GMT) Full text and rfc822 format available.

This bug report was last modified 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.