all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: nafkhamdc <navid.afkhami@mdc-berlin.de>
To: 70673@debbugs.gnu.org
Cc: nafkhamdc <navid.afkhami@mdc-berlin.de>
Subject: [bug#70673] [PATCH] gnu: Add python-archspec.
Date: Tue, 30 Apr 2024 14:06:12 +0000	[thread overview]
Message-ID: <0c93cb41c25fe436646a1cb8db09d248fee5dc49.1714485972.git.navid.afkhami@mdc-berlin.de> (raw)

* 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	other threads:[~2024-04-30 14:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-30 14:06 nafkhamdc [this message]
2024-05-06 11:04 ` bug#70673: [PATCH] gnu: Add python-archspec 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=0c93cb41c25fe436646a1cb8db09d248fee5dc49.1714485972.git.navid.afkhami@mdc-berlin.de \
    --to=navid.afkhami@mdc-berlin.de \
    --cc=70673@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.