gnu: python-click: Fix tests.
* gnu/packages/python.scm (python-click, python2-click)[arguments]: Replace 'check' with custom phase. [native-inputs]: Add python-pytest.
This commit is contained in:
		
							parent
							
								
									3fe2c209e0
								
							
						
					
					
						commit
						97be1bc231
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2301,7 +2301,12 @@ is used by the Requests library to verify HTTPS requests.")
 | 
			
		|||
               (substitute* "click/_unicodefun.py"
 | 
			
		||||
                 (("'locale'")
 | 
			
		||||
                  (string-append "'" glibc "/bin/locale'"))))
 | 
			
		||||
             #t)))))
 | 
			
		||||
             #t))
 | 
			
		||||
         (replace 'check
 | 
			
		||||
           (lambda _
 | 
			
		||||
             (zero? (system* "make" "test")))))))
 | 
			
		||||
    (native-inputs
 | 
			
		||||
     `(("python-pytest" ,python-pytest)))
 | 
			
		||||
    (home-page "http://click.pocoo.org")
 | 
			
		||||
    (synopsis "Command line library for Python")
 | 
			
		||||
    (description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue