gnu: python-pyvcf: Fix bytecode compilation.
* gnu/packages/bioinformatics.scm (python-pyvcf)[arguments]: Add phase to patch sample script.
This commit is contained in:
		
							parent
							
								
									a2584a08be
								
							
						
					
					
						commit
						b507cc49ab
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -15270,6 +15270,12 @@ for the analysis and visualization of raw nanopore signal.") | ||||||
|     (arguments |     (arguments | ||||||
|      `(#:phases |      `(#:phases | ||||||
|         (modify-phases %standard-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 |           (add-after 'install 'remove-installed-tests | ||||||
|             ;; Do not install test files. |             ;; Do not install test files. | ||||||
|             (lambda* (#:key inputs outputs #:allow-other-keys) |             (lambda* (#:key inputs outputs #:allow-other-keys) | ||||||
|  |  | ||||||
		Reference in a new issue