gnu: python-igraph: Update to 0.8.0.
* gnu/packages/graph.scm (python-igraph): Update to 0.8.0. [arguments]: Replace build phase; move check phase after install phase; pass "--use-pkg-config" to avoid rebuilding igraph. [propagated-inputs]: Add python-texttable. [native-inputs]: Add python-pytest.
This commit is contained in:
		
							parent
							
								
									02422b3b66
								
							
						
					
					
						commit
						7daae3c9d0
					
				
					 1 changed files with 19 additions and 4 deletions
				
			
		| 
						 | 
					@ -90,20 +90,35 @@ more.")
 | 
				
			||||||
(define-public python-igraph
 | 
					(define-public python-igraph
 | 
				
			||||||
  (package (inherit igraph)
 | 
					  (package (inherit igraph)
 | 
				
			||||||
    (name "python-igraph")
 | 
					    (name "python-igraph")
 | 
				
			||||||
    (version "0.7.1.post6")
 | 
					    (version "0.8.0")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
       (uri (pypi-uri "python-igraph" version))
 | 
					       (uri (pypi-uri "python-igraph" version))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32
 | 
					        (base32
 | 
				
			||||||
         "0xp61zz710qlzhmzbfr65d5flvsi8zf2xy78s6rsszh719wl5sm5"))))
 | 
					         "13mbrlmnbgbzw6y8ws7wj0a3ly3in8j4l1ngi6yxvgvxxi4bprj7"))))
 | 
				
			||||||
    (build-system python-build-system)
 | 
					    (build-system python-build-system)
 | 
				
			||||||
    (arguments '())
 | 
					    (arguments
 | 
				
			||||||
 | 
					     '(#:configure-flags
 | 
				
			||||||
 | 
					       (list "--use-pkg-config")
 | 
				
			||||||
 | 
					       #:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (replace 'build
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (invoke "python" "./setup.py" "build" "--use-pkg-config")))
 | 
				
			||||||
 | 
					         (delete 'check)
 | 
				
			||||||
 | 
					         (add-after 'install 'check
 | 
				
			||||||
 | 
					           (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
				
			||||||
 | 
					             (add-installed-pythonpath inputs outputs)
 | 
				
			||||||
 | 
					             (invoke "pytest" "-v"))))))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("igraph" ,igraph)))
 | 
					     `(("igraph" ,igraph)))
 | 
				
			||||||
 | 
					    (propagated-inputs
 | 
				
			||||||
 | 
					     `(("python-texttable" ,python-texttable)))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("pkg-config" ,pkg-config)))
 | 
					     `(("pkg-config" ,pkg-config)
 | 
				
			||||||
 | 
					       ("python-pytest" ,python-pytest)))
 | 
				
			||||||
    (home-page "http://pypi.python.org/pypi/python-igraph")
 | 
					    (home-page "http://pypi.python.org/pypi/python-igraph")
 | 
				
			||||||
    (synopsis "Python bindings for the igraph network analysis library")))
 | 
					    (synopsis "Python bindings for the igraph network analysis library")))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue