gnu: python-sip: Use 'modify-phases'.
* gnu/packages/qt.scm (python-sip)[arguments]: Use 'modify-phases'.
This commit is contained in:
		
							parent
							
								
									8fa7f8d907
								
							
						
					
					
						commit
						39766868a5
					
				
					 1 changed files with 22 additions and 23 deletions
				
			
		| 
						 | 
				
			
			@ -476,8 +476,8 @@ while JSON objects are mapped to QVariantMap.")
 | 
			
		|||
       #:modules ((srfi srfi-1)
 | 
			
		||||
                  ,@%gnu-build-system-modules)
 | 
			
		||||
       #:phases
 | 
			
		||||
         (alist-replace
 | 
			
		||||
          'configure
 | 
			
		||||
       (modify-phases %standard-phases
 | 
			
		||||
         (replace 'configure
 | 
			
		||||
           (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
			
		||||
             (let* ((out (assoc-ref outputs "out"))
 | 
			
		||||
                    (bin (string-append out "/bin"))
 | 
			
		||||
| 
						 | 
				
			
			@ -496,9 +496,8 @@ while JSON objects are mapped to QVariantMap.")
 | 
			
		|||
                 (system* "python" "configure.py"
 | 
			
		||||
                          "--bindir" bin
 | 
			
		||||
                          "--destdir" lib
 | 
			
		||||
                         "--incdir" include))))
 | 
			
		||||
          %standard-phases)))
 | 
			
		||||
    (home-page "http://www.riverbankcomputing.com/software/sip/intro")
 | 
			
		||||
                          "--incdir" include))))))))
 | 
			
		||||
    (home-page "https://www.riverbankcomputing.com/software/sip/intro")
 | 
			
		||||
    (synopsis "Python binding creator for C and C++ libraries")
 | 
			
		||||
    (description
 | 
			
		||||
     "SIP is a tool to create Python bindings for C and C++ libraries.  It
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue