gnu: python-pyscss: Adjust for newer python.
* gnu/packages/python-web.scm (python-pyscss)[source]: Add snippet to adjust python imports. Change-Id: I0073089ed505a55f08aec2f0cc0ffa2a2c7963e4
This commit is contained in:
		
							parent
							
								
									31b63a7a8c
								
							
						
					
					
						commit
						7b4623b44b
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
					@ -1330,7 +1330,12 @@ Encryption} (JOSE) Web Standards.")
 | 
				
			||||||
             (commit version)))
 | 
					             (commit version)))
 | 
				
			||||||
       (file-name (git-file-name name version))
 | 
					       (file-name (git-file-name name version))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))))
 | 
					        (base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))
 | 
				
			||||||
 | 
					       (snippet
 | 
				
			||||||
 | 
					        #~(begin (use-modules (guix build utils))
 | 
				
			||||||
 | 
					                 (substitute* "scss/types.py"
 | 
				
			||||||
 | 
					                   (("from collections import Iterable")
 | 
				
			||||||
 | 
					                    "from collections.abc import Iterable"))))))
 | 
				
			||||||
    (build-system python-build-system)
 | 
					    (build-system python-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     ;; XXX: error in test collection, possible incompatibility with Pytest 6.
 | 
					     ;; XXX: error in test collection, possible incompatibility with Pytest 6.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue