GNU bug report logs - #70673
[PATCH] gnu: Add python-archspec.

Previous Next

Package: guix-patches;

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

Date: Tue, 30 Apr 2024 14:09:01 UTC

Severity: normal

Tags: patch

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

To reply to this bug, email your comments to 70673 AT debbugs.gnu.org.
There is no need to reopen the bug first.

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#70673; Package guix-patches. (Tue, 30 Apr 2024 14:09:01 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. (Tue, 30 Apr 2024 14:09:01 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-archspec.
Date: Tue, 30 Apr 2024 14:06:12 +0000
* gnu/packages/bioinformatics.scm (python-archspec): New variable.

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

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index aa6bce5591..437371bf89 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -19504,6 +19504,56 @@ (define-public python-arboreto
 tree-based ensemble regressors.")
     (license license:bsd-3)))
 
+(define-public python-archspec
+  (package
+    (name "python-archspec")
+    (version "0.2.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/archspec/archspec")
+             (commit (string-append "v" version))
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "03yfn4b9xg41pd7vls2cils77wkkb9si1h2qqvnkds661fdankqj"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases '(modify-phases %standard-phases
+                  ;; Numba needs a writable dir to cache functions.
+                  (add-before 'build 'set-numba-cache-dir
+                    (lambda _
+                      (setenv "NUMBA_CACHE_DIR" "/tmp"))))))
+    (propagated-inputs (list python-boltons
+                             python-cooler
+                             python-ctxcore
+                             python-interlap
+                             python-intervaltree
+                             python-jsonschema
+                             python-networkx
+                             python-numba
+                             python-poetry-core
+                             pyscenic
+                             python-scikit-learn
+                             python-tables
+                             python-typing-extensions))
+    (native-inputs (list python-black
+                         python-flake8
+                         python-isort
+                         python-poetry-core
+                         python-pylint
+                         python-pytest
+                         python-pytest-cov))
+    (home-page "https://github.com/archspec/archspec")
+    (synopsis "Library to query system architecture")
+    (description
+     "Archspec offers human-readable labels for system architecture aspects.
+These aspects include CPU, network fabrics, etc.  In addition, it offers
+APIs to detect, query, and compare them.")
+    (license license:expat)))
+
 (define-public pyscenic
   ;; Latest commit from the update-pyarrow branch
   (let ((commit "5f170fdf474548c37ab381d1849c662820d658ee")

base-commit: df3d30819e650a490ef39dd6692740bb13263c75
-- 
2.34.1





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Mon, 06 May 2024 11:05:01 GMT) Full text and rfc822 format available.

Notification sent to nafkhamdc <navid.afkhami <at> mdc-berlin.de>:
bug acknowledged by developer. (Mon, 06 May 2024 11:05:02 GMT) Full text and rfc822 format available.

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

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 70673-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-archspec.
Date: Mon, 06 May 2024 13:04:04 +0200
Applied, but moved to a different location because it is unrelated to
bioinformatics.

Thanks!

-- 
Ricardo




This bug report was last modified 10 days ago.

Previous Next


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