mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 15:26:47 +01:00
gnu: python-leidenalg: Update to 0.8.10.
* gnu/packages/graph.scm (python-leidenalg): Update to 0.8.10. [arguments]: Patch setup.py. [native-inputs]: Remove python-setuptools; add python-setuptools-scm.
This commit is contained in:
parent
7c8f3dfa34
commit
ca2516f065
1 changed files with 7 additions and 5 deletions
|
@ -495,14 +495,14 @@ (define-public python-faiss
|
||||||
(define-public python-leidenalg
|
(define-public python-leidenalg
|
||||||
(package
|
(package
|
||||||
(name "python-leidenalg")
|
(name "python-leidenalg")
|
||||||
(version "0.7.0")
|
(version "0.8.10")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "leidenalg" version))
|
(uri (pypi-uri "leidenalg" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"15fwld9hdw357rd026mzcwpah5liy4f33vc9x9kwy37g71b2rjf1"))))
|
"1hbvagp1yyazvl7cid7mii5263qi48lpkq543n5w71qysgz1f0v7"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ;tests are not included
|
'(#:tests? #f ;tests are not included
|
||||||
|
@ -510,12 +510,14 @@ (define-public python-leidenalg
|
||||||
(add-after 'unpack 'fix-requirements
|
(add-after 'unpack 'fix-requirements
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "setup.py"
|
(substitute* "setup.py"
|
||||||
|
(("self.external = False")
|
||||||
|
"self.external = True")
|
||||||
|
(("self.use_pkgconfig = False")
|
||||||
|
"self.use_pkgconfig = True")
|
||||||
(("python-igraph >=")
|
(("python-igraph >=")
|
||||||
"igraph >=")))))))
|
"igraph >=")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
;; XXX: setuptools >= 58 as shipped with Python 3.9+ removes support
|
(list pkg-config python-setuptools-scm))
|
||||||
;; for lib2to3, so use this older variant.
|
|
||||||
(list pkg-config python-setuptools))
|
|
||||||
(inputs
|
(inputs
|
||||||
(list igraph))
|
(list igraph))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Loading…
Reference in a new issue