From: nafkhamdc <navid.afkhami@mdc-berlin.de>
To: 70048@debbugs.gnu.org
Cc: nafkhamdc <navid.afkhami@mdc-berlin.de>
Subject: [bug#70048] [PATCH] gnu: Add python-contexttimer.
Date: Thu, 28 Mar 2024 10:27:51 +0000 [thread overview]
Message-ID: <495145bd3f5d95dfd2e025496e161a8d5002c1f9.1711621671.git.navid.afkhami@mdc-berlin.de> (raw)
* 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
next reply other threads:[~2024-03-28 10:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-28 10:27 nafkhamdc [this message]
2024-03-28 12:31 ` bug#70048: [PATCH] gnu: Add python-contexttimer Ricardo Wurmus
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=495145bd3f5d95dfd2e025496e161a8d5002c1f9.1711621671.git.navid.afkhami@mdc-berlin.de \
--to=navid.afkhami@mdc-berlin.de \
--cc=70048@debbugs.gnu.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 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.