summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hogan <code@greghogan.com>2025-05-05 15:41:51 +0000
committerGreg Hogan <code@greghogan.com>2025-05-13 16:35:42 +0000
commit782d431cca91524910b6d1873d355037d775b14c (patch)
treeffb710b61f7628b9a89d08939c221e5de822fbc4
parent73eb9b8d2439e1cd8fc4355fad98d8e5c17b6f3e (diff)
gnu: python-vtraag-louvain: Deprecate.
* gnu/packages/graph.scm (python-vtraag-louvain): Deprecate with replacement python-louvain-igraph. Change-Id: I4e8b938a0a7ffb1932209bfff97a84b075aabb0e
-rw-r--r--gnu/packages/graph.scm39
1 files changed, 3 insertions, 36 deletions
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 54640fd018..adee7c77e7 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -416,42 +416,6 @@ subplots, multiple-axes, polar charts, and bubble charts.")
algorithm for community detection in large networks.")
(license license:bsd-3)))
-(define-public python-vtraag-louvain
- (package
- (name "python-vtraag-louvain")
- (version "0.8.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "louvain" version))
- (sha256
- (base32
- "16l2zi4jwc3vpvpnz32jv7xy0g5087dp9y57wxplj1xa9r312x0i"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:phases
- '(modify-phases %standard-phases
- (add-after 'unpack 'do-not-use-bundled-igraph
- (lambda _
- (substitute* "setup.py"
- (("self.external = False")
- "self.external = True")
- (("self.use_pkgconfig = False")
- "self.use_pkgconfig = True")))))))
- (inputs (list igraph))
- (propagated-inputs (list python-igraph python-setuptools))
- (native-inputs
- (list pkg-config
- python-ddt
- python-setuptools-scm
- python-wheel))
- (home-page "https://github.com/vtraag/louvain")
- (synopsis "Community detection in large networks")
- (description
- "Louvain is a general algorithm for methods of community detection in
-large networks.")
- (license license:gpl3+)))
-
(define-public python-graphtools
(package
(name "python-graphtools")
@@ -556,6 +520,9 @@ millions of nodes (as long as they can fit in memory). The core function is
algorithm for a number of different methods.")
(license license:gpl3+)))
+(define-public python-vtraag-louvain
+ (deprecated-package "python-vtraag-louvain" python-louvain-igraph))
+
(define-public python-pygsp
(package
(name "python-pygsp")