gnu: python-clint: Fix tests.
* gnu/packages/python.scm (python-clint, python2-clint)[native-inputs]: Add python-pytest. [arguments]: Replace 'check' phase with custom command.
This commit is contained in:
		
							parent
							
								
									b7f3ea9532
								
							
						
					
					
						commit
						6145b60462
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
					@ -8125,6 +8125,14 @@ Blog, News or Announcements section to a Sphinx website.")
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "1an5lkkqk1zha47198p42ji3m94xmzx1a03dn7866m87n4r4q8h5"))))
 | 
					                "1an5lkkqk1zha47198p42ji3m94xmzx1a03dn7866m87n4r4q8h5"))))
 | 
				
			||||||
    (build-system python-build-system)
 | 
					    (build-system python-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     '(#:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (replace 'check
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (zero? (system* "py.test" "-v")))))))
 | 
				
			||||||
 | 
					    (native-inputs
 | 
				
			||||||
 | 
					     `(("python-pytest" ,python-pytest)))
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     `(("python-args" ,python-args)))
 | 
					     `(("python-args" ,python-args)))
 | 
				
			||||||
    (home-page "https://github.com/kennethreitz/clint")
 | 
					    (home-page "https://github.com/kennethreitz/clint")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue