guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/17: gnu: python-pysnptools: Update to 0.5.14.


From: guix-commits
Subject: 16/17: gnu: python-pysnptools: Update to 0.5.14.
Date: Thu, 16 Jan 2025 16:55:45 -0500 (EST)

rekado pushed a commit to branch python-team
in repository guix.

commit 9fab26b5657df448a7f23a57c7fcc4c5e148a88f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jan 16 22:51:36 2025 +0100

    gnu: python-pysnptools: Update to 0.5.14.
    
    * gnu/packages/python-xyz.scm (python-pysnptools): Update to 0.5.14.
    [build-system]: Use pyproject-build-system.
    [arguments]: Remove custom 'check phase.
    [propagated-inputs]: Remove python-dill; add python-bed-reader,
    python-cloudpickle, and python-more-itertools.
    [native-inputs]: Remove python-cython; add python-pytest, python-pytest-cov,
    python-pytest-datadir, python-pytest-doctestplus, python-setuptools,
    python-sphinx, python-sphinx-rtd-theme, and python-wheel.
    
    Change-Id: I685f819e70ab209198b504c6e41b253dc5a1d876
---
 gnu/packages/python-xyz.scm | 33 +++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 851e139da6..3b1e90621b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10524,35 +10524,36 @@ the results.")
 (define-public python-pysnptools
   (package
     (name "python-pysnptools")
-    (version "0.4.11")
+    (version "0.5.14")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pysnptools" version))
        (sha256
         (base32
-         "0gxr0bjix307wvk0qh7vkafbxbzfpdmq0wlswpxyyaymy0fwcypv"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:tests? #f ; no test data are included
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
-             (if tests?
-                 (begin
-                   (add-installed-pythonpath inputs outputs)
-                   (invoke "python3" "pysnptools/test.py"))
-                 #t))))))
+         "1babnyky5fk93as1ybdvpz9x3x5099gkgscxflngzfswin23mspk"))))
+    (build-system pyproject-build-system)
+    ;; Tests require test data from python-bed-reader, which fetches data with
+    ;; python-pooch.
+    (arguments (list #:tests? #f))
     (propagated-inputs
-     (list python-dill
+     (list python-bed-reader
+           python-cloudpickle
            python-h5py
+           python-more-itertools
            python-numpy
            python-pandas
            python-psutil
            python-scipy))
     (native-inputs
-     (list python-cython))
+     (list python-pytest
+           python-pytest-cov
+           python-pytest-datadir
+           python-pytest-doctestplus
+           python-setuptools
+           python-sphinx
+           python-sphinx-rtd-theme
+           python-wheel))
     (home-page "http://microsoftgenomics.github.io/PySnpTools/";)
     (synopsis "Library for reading and manipulating genetic data")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]