gnu: python-scipy: Add phase to fix tests.
* gnu/packages/python.scm (python-scipy)[arguments]: Add build phase "fix-tests".
This commit is contained in:
		
							parent
							
								
									5248d49e41
								
							
						
					
					
						commit
						4f9ff21ea0
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
					@ -3330,7 +3330,13 @@ atlas_libs = openblas
 | 
				
			||||||
              (zero? (system* "python" "-c" "import scipy; scipy.test()"))))
 | 
					              (zero? (system* "python" "-c" "import scipy; scipy.test()"))))
 | 
				
			||||||
          (alist-delete
 | 
					          (alist-delete
 | 
				
			||||||
           'check
 | 
					           'check
 | 
				
			||||||
           %standard-phases))))))
 | 
					           (alist-cons-after
 | 
				
			||||||
 | 
					            'unpack 'fix-tests
 | 
				
			||||||
 | 
					            (lambda _
 | 
				
			||||||
 | 
					              (substitute* "scipy/integrate/tests/test_quadpack.py"
 | 
				
			||||||
 | 
					                (("libm.so") "libm.so.6"))
 | 
				
			||||||
 | 
					              #t)
 | 
				
			||||||
 | 
					            %standard-phases)))))))
 | 
				
			||||||
    (home-page "http://www.scipy.org/")
 | 
					    (home-page "http://www.scipy.org/")
 | 
				
			||||||
    (synopsis "The Scipy library provides efficient numerical routines")
 | 
					    (synopsis "The Scipy library provides efficient numerical routines")
 | 
				
			||||||
    (description "The SciPy library is one of the core packages that make up
 | 
					    (description "The SciPy library is one of the core packages that make up
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue