summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-01-02 23:02:15 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:21:00 +0100
commit80ea353362328b8891b339c6b7fce6c76946d52e (patch)
treeb48ce29f729e0b1bedf2a6ac8e803fccc0ada7dc
parent8cd522db2b3e2b95b1397d0e398b8615158eab9c (diff)
gnu: python-presto: Improve package, fix tests.
* gnu/packages/bioinformatics.scm (python-presto): Refresh package style. [arguments] <test-flags>: Skip 3 tests. [native-inputs]: Remove python-wheel. Change-Id: I5992e127fd653aa04711647cf0a458586029b3d4 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
-rw-r--r--gnu/packages/bioinformatics.scm36
1 files changed, 22 insertions, 14 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 2475162a0cd..0ac4db05440 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4779,18 +4779,35 @@ in a modular way.")
(package
(name "python-presto")
(version "0.7.6")
- (home-page "https://github.com/immcantation/presto")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url home-page)
+ (url "https://github.com/immcantation/presto")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32
- "1mcngwrxiw8r1j26r5crf7j0dscvhg3b8g1is3j3vq5jpnyn8jmz"))))
+ (base32 "1mcngwrxiw8r1j26r5crf7j0dscvhg3b8g1is3j3vq5jpnyn8jmz"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:build-backend "setuptools.build_meta"
+ ;; tests: 29 passed, 6 skipped, 3 deselected, 8 warnings
+ #:test-flags
+ ;; FileNotFoundError: [Errno 2] No such file or directory: 'cd-hit-est'
+ #~(list "--ignore=tests/test_ClusterSets.py"
+ ;; TypeError: seq argument should be a Seq or MutableSeq object
+ #$@(map (lambda (test) (string-append "--deselect="
+ "tests/"
+ "test_EstimateError.py::"
+ "TestEstimateError::"
+ test))
+ (list "test_calculateDistances"
+ "test_countMismatches"
+ "test_initializeMismatchDictionary")))))
+ (native-inputs
+ (list python-pytest
+ python-setuptools))
(propagated-inputs
(list muscle
python-biopython
@@ -4799,16 +4816,7 @@ in a modular way.")
python-pyyaml
python-scipy
vsearch))
- (native-inputs
- (list python-pytest
- python-setuptools
- python-wheel))
- (arguments
- (list
- #:build-backend "setuptools.build_meta"
- #:test-flags
- ;; FileNotFoundError: [Errno 2] No such file or directory: 'cd-hit-est'
- '(list "--ignore=tests/test_ClusterSets.py")))
+ (home-page "https://github.com/immcantation/presto")
(synopsis "The REpertoire Sequencing TOolkit")
(description "Presto is a python toolkit for processing raw reads from
high-throughput sequencing of B cell and T cell repertoires.")