gnu: python-igraph: Update to 0.10.4-0.b6ebd8e.
* gnu/packages/graph.scm (python-igraph): Update to 0.10.4-0.b6ebd8e. [build-system]: Use pyproject-build-system. [phases]: Delete check phase override.
This commit is contained in:
parent
0b1fae08d0
commit
c539be939b
1 changed files with 42 additions and 42 deletions
|
@ -34,6 +34,7 @@
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
|
#:use-module (guix build-system pyproject)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
#:use-module (guix build-system r)
|
#:use-module (guix build-system r)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
|
@ -146,21 +147,26 @@ more.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public python-igraph
|
(define-public python-igraph
|
||||||
|
;; Temporarily use a precise commit, as there was a mistake in the last
|
||||||
|
;; release that was fixed by it (see:
|
||||||
|
;; https://github.com/igraph/python-igraph/issues/632).
|
||||||
|
(let ((revision "0")
|
||||||
|
(commit "b6ebd8eb277fc1d0e33340a6624629a10c638992"))
|
||||||
(package
|
(package
|
||||||
(inherit igraph)
|
(inherit igraph)
|
||||||
(name "python-igraph")
|
(name "python-igraph")
|
||||||
(version "0.9.11")
|
(version (git-version "0.10.4" revision commit))
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
;; The PyPI archive lacks tests.
|
;; The PyPI archive lacks tests.
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/igraph/python-igraph")
|
(url "https://github.com/igraph/python-igraph")
|
||||||
(commit version)))
|
(commit commit)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1xlr0cnf3a1vs9n2psvgrmjhld4n1xr79kkjqzby4pxxyzk1bydn"))))
|
"0dhrz5a6pi6vs94fm8q4nmkh6v1nmpw1sk482xls213zcbbh67hd"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -171,23 +177,17 @@ more.")
|
||||||
(substitute* "setup.py"
|
(substitute* "setup.py"
|
||||||
(("(LIBIGRAPH_FALLBACK_INCLUDE_DIRS = ).*" _ var)
|
(("(LIBIGRAPH_FALLBACK_INCLUDE_DIRS = ).*" _ var)
|
||||||
(string-append
|
(string-append
|
||||||
var (format #f "[~s]~%" (string-append igraph
|
var (format #f "[~s]~%"
|
||||||
"/include/igraph"))))
|
(string-append igraph "/include/igraph"))))
|
||||||
(("(LIBIGRAPH_FALLBACK_LIBRARY_DIRS = ).*" _ var)
|
(("(LIBIGRAPH_FALLBACK_LIBRARY_DIRS = ).*" _ var)
|
||||||
(string-append
|
(string-append
|
||||||
var (format #f "[~s]~%" (string-append igraph "/lib"))))))))
|
var (format #f "[~s]~%"
|
||||||
(replace 'check
|
(string-append igraph "/lib")))))))))))
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(inputs (list igraph))
|
||||||
(when tests?
|
(propagated-inputs (list python-texttable))
|
||||||
(invoke "pytest" "-v")))))))
|
(native-inputs (list python-pytest))
|
||||||
(inputs
|
|
||||||
(list igraph))
|
|
||||||
(propagated-inputs
|
|
||||||
(list python-texttable))
|
|
||||||
(native-inputs
|
|
||||||
(list python-pytest))
|
|
||||||
(home-page "https://igraph.org/python/")
|
(home-page "https://igraph.org/python/")
|
||||||
(synopsis "Python bindings for the igraph network analysis library")))
|
(synopsis "Python bindings for the igraph network analysis library"))))
|
||||||
|
|
||||||
(define-public r-rbiofabric
|
(define-public r-rbiofabric
|
||||||
(let ((commit "666c2ae8b0a537c006592d067fac6285f71890ac")
|
(let ((commit "666c2ae8b0a537c006592d067fac6285f71890ac")
|
||||||
|
|
Reference in a new issue