gnu: python-pycodestyle: Update to 2.8.0.
* gnu/packages/python-xyz.scm (python-pycodestyle): Update to 2.8.0. [arguments]: Respect tests?. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
		
							parent
							
								
									2680f30a2e
								
							
						
					
					
						commit
						2660f99b57
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -6468,21 +6468,22 @@ a simple netcat replacement with chaining support.")
 | 
			
		|||
(define-public python-pycodestyle
 | 
			
		||||
  (package
 | 
			
		||||
    (name "python-pycodestyle")
 | 
			
		||||
    (version "2.7.0")
 | 
			
		||||
    (version "2.8.0")
 | 
			
		||||
    (source
 | 
			
		||||
     (origin
 | 
			
		||||
       (method url-fetch)
 | 
			
		||||
       (uri (pypi-uri "pycodestyle" version))
 | 
			
		||||
       (sha256
 | 
			
		||||
        (base32
 | 
			
		||||
         "1vqwmzmjdv331kmfq3q9j3as2x7r2r49lf83r9w4147pdg8c32f3"))))
 | 
			
		||||
         "0zxyrg8029lzjhima6l5nk6y0z6lm5wfp9qchz3s33j3xx3mipgd"))))
 | 
			
		||||
    (build-system python-build-system)
 | 
			
		||||
    (arguments
 | 
			
		||||
     `(#:phases
 | 
			
		||||
       (modify-phases %standard-phases
 | 
			
		||||
         (replace 'check
 | 
			
		||||
           (lambda _
 | 
			
		||||
             (invoke "pytest" "-vv"))))))
 | 
			
		||||
           (lambda* (#:key tests? #:allow-other-keys)
 | 
			
		||||
             (when tests?
 | 
			
		||||
               (invoke "pytest" "-vv")))))))
 | 
			
		||||
    (native-inputs
 | 
			
		||||
     (list python-pytest))
 | 
			
		||||
    (home-page "https://pycodestyle.readthedocs.io/")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue