diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2024-12-02 10:49:06 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2024-12-02 10:49:06 +0100 |
| commit | 2756c660fb2d9e2fe3e1fd0898e4d7038c8273c7 (patch) | |
| tree | 8d3fcb3c0a5111616e0b3a932dd8ebbd1e0bffb5 | |
| parent | 207c69e40d3dca947137dbfcd0564e610b17832d (diff) | |
gnu: python-pairtools: Update to 1.1.0-fix.
* gnu/packages/bioinformatics.scm (python-pairtools): Update to 1.1.0-fix.
[build-system]: Use pyproject-build-system.
[arguments]: Add phase 'patch-setup.py.
[native-inputs]: Add python-pytest-cov, python-setuptools, and python-wheel.
Change-Id: Ifa3c12de228420d8fdd7b0053bb9da80b9b3efe4
| -rw-r--r-- | gnu/packages/bioinformatics.scm | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 82d4e84b6c6..4e850ab562b 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm | |||
| @@ -3572,20 +3572,26 @@ e.g. microbiome samples, genomes, metagenomes.") | |||
| 3572 | (define-public python-pairtools | 3572 | (define-public python-pairtools |
| 3573 | (package | 3573 | (package |
| 3574 | (name "python-pairtools") | 3574 | (name "python-pairtools") |
| 3575 | (version "1.0.2") | 3575 | (version "1.1.0-fix") |
| 3576 | (source (origin | 3576 | (source (origin |
| 3577 | (method git-fetch) | 3577 | (method git-fetch) |
| 3578 | (uri (git-reference | 3578 | (uri (git-reference |
| 3579 | (url "https://github.com/open2c/pairtools") | 3579 | (url "https://github.com/open2c/pairtools") |
| 3580 | (commit (string-append "v" version)))) | 3580 | (commit (string-append "pairtools-v" version)))) |
| 3581 | (file-name (git-file-name name version)) | 3581 | (file-name (git-file-name name version)) |
| 3582 | (sha256 | 3582 | (sha256 |
| 3583 | (base32 | 3583 | (base32 |
| 3584 | "0xn4cg4jq3rfn42h8rfwg0k6xkvihjrv32gwldb9y0jp05lzw9cs")))) | 3584 | "0983vw4kb6frjncsnml4ahw3l7sixg1paz80s119iah2i086cw06")))) |
| 3585 | (build-system python-build-system) | 3585 | (build-system pyproject-build-system) |
| 3586 | (arguments | 3586 | (arguments |
| 3587 | `(#:phases | 3587 | (list |
| 3588 | (modify-phases %standard-phases | 3588 | #:phases |
| 3589 | '(modify-phases %standard-phases | ||
| 3590 | (add-after 'unpack 'patch-setup.py | ||
| 3591 | (lambda _ | ||
| 3592 | ;; __NUMPY_SETUP__ is undefined. | ||
| 3593 | (substitute* "setup.py" | ||
| 3594 | ((".*__builtins__.__NUMPY_SETUP.*") "")))) | ||
| 3589 | (add-after 'unpack 'fix-references | 3595 | (add-after 'unpack 'fix-references |
| 3590 | (lambda _ | 3596 | (lambda _ |
| 3591 | (substitute* '("pairtools/cli/header.py" | 3597 | (substitute* '("pairtools/cli/header.py" |
| @@ -3598,7 +3604,11 @@ e.g. microbiome samples, genomes, metagenomes.") | |||
| 3598 | (with-directory-excursion "/tmp" | 3604 | (with-directory-excursion "/tmp" |
| 3599 | (invoke "pytest" "-v")))))))) | 3605 | (invoke "pytest" "-v")))))))) |
| 3600 | (native-inputs | 3606 | (native-inputs |
| 3601 | (list python-cython python-pytest)) | 3607 | (list python-cython |
| 3608 | python-pytest | ||
| 3609 | python-pytest-cov | ||
| 3610 | python-setuptools | ||
| 3611 | python-wheel)) | ||
| 3602 | (propagated-inputs | 3612 | (propagated-inputs |
| 3603 | (list htslib ; for bgzip, looked up in PATH | 3613 | (list htslib ; for bgzip, looked up in PATH |
| 3604 | samtools ; looked up in PATH | 3614 | samtools ; looked up in PATH |
