gnu: python-black: Relax tomli version requirement.
* gnu/packages/python-xyz.scm (python-black)
[phases]{relax-version-requirements}: New phase.
			
			
This commit is contained in:
		
							parent
							
								
									e40dfcfcb1
								
							
						
					
					
						commit
						d849be7b5f
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -5239,6 +5239,11 @@ matching of file paths.")
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:phases
 | 
					     `(#:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-after 'unpack 'relax-version-requirements
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (substitute* "setup.py"
 | 
				
			||||||
 | 
					               (("tomli[^\"]*\",")
 | 
				
			||||||
 | 
					                "tomli\","))))
 | 
				
			||||||
         (add-after 'patch-source-shebangs 'use-absolute-file-names
 | 
					         (add-after 'patch-source-shebangs 'use-absolute-file-names
 | 
				
			||||||
           (lambda* (#:key native-inputs inputs #:allow-other-keys)
 | 
					           (lambda* (#:key native-inputs inputs #:allow-other-keys)
 | 
				
			||||||
             (let* ((inpts (or native-inputs inputs))
 | 
					             (let* ((inpts (or native-inputs inputs))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue