gnu: offlate: Fix build.
* gnu/packages/python-xyz.scm (offlate)
[phases]{patch-for-pygit2}: New phase.
			
			
This commit is contained in:
		
							parent
							
								
									e3d2650726
								
							
						
					
					
						commit
						ceeb2bfcae
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -24334,7 +24334,13 @@ with features similar to the @command{wget} utility.")
 | 
			
		|||
    (build-system python-build-system)
 | 
			
		||||
    (arguments
 | 
			
		||||
     ;; No tests
 | 
			
		||||
     `(#:tests? #f))
 | 
			
		||||
     `(#:tests? #f
 | 
			
		||||
       #:phases (modify-phases %standard-phases
 | 
			
		||||
                  (add-after 'unpack 'patch-for-pygit2
 | 
			
		||||
                    (lambda _
 | 
			
		||||
                      (substitute* "offlate/systems/git.py"
 | 
			
		||||
                        (("pygit2.remote.RemoteCallbacks")
 | 
			
		||||
                         "pygit2.RemoteCallbacks")))))))
 | 
			
		||||
    (propagated-inputs
 | 
			
		||||
      (list python-android-stringslib
 | 
			
		||||
            python-dateutil
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue