[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/24: gnu: python-pyvcf: Fix bytecode compilation.
From: |
guix-commits |
Subject: |
22/24: gnu: python-pyvcf: Fix bytecode compilation. |
Date: |
Sun, 5 Dec 2021 08:16:29 -0500 (EST) |
mbakke pushed a commit to branch core-updates-frozen
in repository guix.
commit b507cc49abb5492f992aff08f0931365bd4ccd4e
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Dec 4 12:12:11 2021 +0100
gnu: python-pyvcf: Fix bytecode compilation.
* gnu/packages/bioinformatics.scm (python-pyvcf)[arguments]: Add phase to
patch sample script.
---
gnu/packages/bioinformatics.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 453b512..fb3ceb8 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -15270,6 +15270,12 @@ for the analysis and visualization of raw nanopore
signal.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-sample-script
+ (lambda _
+ ;; Add Python 3 compatibility to this sample script.
+ (substitute* "scripts/vcf_sample_filter.py"
+ (("print (.*)\n" _ arg)
+ (string-append "print(" arg ")\n")))))
(add-after 'install 'remove-installed-tests
;; Do not install test files.
(lambda* (#:key inputs outputs #:allow-other-keys)
- 19/24: gnu: python-hyperkitty: Update to 1.3.5., (continued)
- 19/24: gnu: python-hyperkitty: Update to 1.3.5., guix-commits, 2021/12/05
- 24/24: gnu: tbb: Update to 2021.4.0., guix-commits, 2021/12/05
- 16/24: gnu: python-alembic: Update to 1.7.5., guix-commits, 2021/12/05
- 18/24: gnu: Add python-mistune-next., guix-commits, 2021/12/05
- 14/24: gnu: python-webassets: Patch for Python 3.9., guix-commits, 2021/12/05
- 06/24: gnu: python-django-sortedm2m: Fix tests., guix-commits, 2021/12/05
- 23/24: gnu: Adjust for python-build-system behavior change., guix-commits, 2021/12/05
- 12/24: gnu: python-mailmanclient: Update to 3.3.3., guix-commits, 2021/12/05
- 13/24: gnu: python-django-mailman3: Update to 1.3.7., guix-commits, 2021/12/05
- 10/24: gnu: python-django-netfields: Propagate psycopg2., guix-commits, 2021/12/05
- 22/24: gnu: python-pyvcf: Fix bytecode compilation.,
guix-commits <=