[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
256/397: gnu: instrain: Update to 1.9.0.
From: |
guix-commits |
Subject: |
256/397: gnu: instrain: Update to 1.9.0. |
Date: |
Thu, 16 Jan 2025 04:30:46 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 005b38aa812c5252b5ccf320a1a205af05607ed5
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Jan 12 12:52:34 2025 +0100
gnu: instrain: Update to 1.9.0.
* gnu/packages/bioinformatics.scm (instrain): Update to 1.9.0.
[source]: Fetch git repository.
[build-system]: Use pyproject-build-system.
[arguments]: Disable tests.
[inputs]: Move all from here...
[propagated-inputs]: ...to here; remove python-boto3, python-numba,
python-scikit-learn, and python-drep.
[native-inputs]: Add python-boto3, python-setuptools, and python-wheel.
Change-Id: Ied1e909a6b22518908b95a43b8db5f35bd6c6ac6
---
gnu/packages/bioinformatics.scm | 40 +++++++++++++++++++++++++---------------
1 file changed, 25 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index c872801fe1..6ab1449d27 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -19028,44 +19028,54 @@ set.")
(define-public instrain
(package
(name "instrain")
- (version "1.5.4")
+ (version "1.9.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "inStrain" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/MrOlm/instrain")
+ ;; There are no tags.
+ (commit "168f3f777b45139a9f6099f68974105b45e2d8ba")))
+ (file-name (git-file-name name version))
(sha256
(base32
- "05w1lw75x4lwkzg4qpi055g7hdjp9rnc4ksbxg2hfgksq9djk0hx"))))
- (build-system python-build-system)
+ "1wc69ggyiacm1slb678239lqmf1g5dlb4alwsbp14gi6393gj9fg"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
+ (list
+ ;; Tests assume that test files exist (they don't) and are located in
+ ;; the developer's home directory.
+ #:tests? #false
+ #:phases
+ '(modify-phases %standard-phases
(add-after 'unpack 'patch-relative-imports
(lambda _
+ (substitute* (find-files "test/tests" "test_.*\\.py")
+ (("from test_utils import BTO")
+ "from .test_utils import BTO")
+ (("import test_utils") "from . import test_utils"))
(substitute* "docker/run_instrain.py"
(("from s3_utils")
"from .s3_utils")
(("from job_utils")
"from .job_utils")))))))
- (inputs
+ (propagated-inputs
(list python-biopython-1.73
- python-boto3
python-h5py
python-lmfit
python-matplotlib
python-networkx
- python-numba
python-numpy
python-pandas
python-psutil
python-pysam
- python-scikit-learn
python-seaborn
- python-tqdm
- ;; drep is needed for deprecated plot utilities
- python-drep))
+ python-tqdm))
(native-inputs
- (list python-pytest))
+ (list python-boto3
+ python-pytest
+ python-setuptools
+ python-wheel))
(home-page "https://github.com/MrOlm/inStrain")
(synopsis "Calculation of strain-level metrics")
(description
- 227/397: gnu: python-spectral-cube: Add missing input., (continued)
- 227/397: gnu: python-spectral-cube: Add missing input., guix-commits, 2025/01/16
- 270/397: gnu: python-django-tagging: Update to 0.5.1., guix-commits, 2025/01/16
- 266/397: gnu: python-django-rq: Use pyproject-build-system., guix-commits, 2025/01/16
- 258/397: gnu: python-django-haystack: Update to 3.3.0., guix-commits, 2025/01/16
- 244/397: gnu: python-sybil: Update to 9.0.0., guix-commits, 2025/01/16
- 265/397: gnu: python-django-redis: Use pyproject-build-system., guix-commits, 2025/01/16
- 250/397: gnu: Add python-nanobind., guix-commits, 2025/01/16
- 260/397: gnu: python-libensemble: Add missing inputs., guix-commits, 2025/01/16
- 262/397: gnu: python-django-assets: Disable bad tests., guix-commits, 2025/01/16
- 238/397: gnu: python-sparse: Update to 0.15.4., guix-commits, 2025/01/16
- 256/397: gnu: instrain: Update to 1.9.0.,
guix-commits <=
- 254/397: gnu: watson: Add missing inputs., guix-commits, 2025/01/16
- 278/397: gnu: python-pysmt: Add missing inputs., guix-commits, 2025/01/16
- 283/397: gnu: python-xarray-schema: Add missing inputs., guix-commits, 2025/01/16
- 303/397: gnu: python-sge: Fix build., guix-commits, 2025/01/16
- 319/397: gnu: python-scripttest: Disable tests., guix-commits, 2025/01/16
- 285/397: gnu: python-pyrodigal: Add missing input., guix-commits, 2025/01/16
- 308/397: gnu: python-wiimatch: Fix build., guix-commits, 2025/01/16
- 312/397: gnu: python-types-dateutil: Fix build., guix-commits, 2025/01/16
- 326/397: gnu: python-pytest-ordering: Switch to maintained fork pytest-order., guix-commits, 2025/01/16
- 300/397: gnu: beets: Add missing input., guix-commits, 2025/01/16