[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/10: gnu: Add python-louvain 0.15.
From: |
guix-commits |
Subject: |
07/10: gnu: Add python-louvain 0.15. |
Date: |
Sun, 25 Apr 2021 14:53:12 -0400 (EDT) |
lfam pushed a commit to branch master
in repository guix.
commit 76fb1a5cf29c3ecf189776eb16db4fcb89bb1939
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sun Apr 25 03:26:05 2021 +0000
gnu: Add python-louvain 0.15.
* gnu/packages/graph.scm (python-louvain): Rename variable to
python-louvain-0.6.
(python-louvain): New variable.
* gnu/packages/bioinformatics.scm (python-scanpy)[propagated-inputs]: Use
python-louvain-0.6.
Co-authored-by: Leo Famulari <leo@famulari.name>
---
gnu/packages/bioinformatics.scm | 2 +-
gnu/packages/graph.scm | 22 ++++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 0aaf308..b6e7249 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -12586,7 +12586,7 @@ in RNA-seq data.")
("python-igraph" ,python-igraph)
("python-joblib" ,python-joblib)
("python-legacy-api-wrap" ,python-legacy-api-wrap)
- ("python-louvain" ,python-louvain)
+ ("python-louvain" ,python-louvain-0.6)
("python-matplotlib" ,python-matplotlib)
("python-natsort" ,python-natsort)
("python-networkx" ,python-networkx)
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index d2e4c87..95506c6 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2019 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2020 Alexander Krotov <krotov@iitp.ru>
;;; Copyright © 2020 Pierre Langlois <pierre.langlos@gmx.com>
+;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -231,6 +232,27 @@ subplots, multiple-axes, polar charts, and bubble charts.
")
(define-public python-louvain
(package
(name "python-louvain")
+ (version "0.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python-louvain" version))
+ (sha256
+ (base32 "1sqp97fwh4asx0jr72x8hil8z8fcg2xq92jklmh2m599pvgnx19a"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-networkx" ,python-networkx)
+ ("python-numpy" ,python-numpy)))
+ (home-page "https://github.com/taynaud/python-louvain")
+ (synopsis "Louvain algorithm for community detection")
+ (description
+ "This package provides a pure Python implementation of the Louvain
+algorithm for community detection in large networks.")
+ (license license:bsd-3)))
+
+(define-public python-louvain-0.6
+ (package
+ (name "python-louvain")
(version "0.6.1")
;; The tarball on Pypi does not include the tests.
(source (origin
- branch master updated (862a886 -> 5461efe), guix-commits, 2021/04/25
- 01/10: gnu: Add python-anyqt., guix-commits, 2021/04/25
- 04/10: gnu: Add python-orange-canvas-core., guix-commits, 2021/04/25
- 05/10: gnu: Add python-orange-widget-base., guix-commits, 2021/04/25
- 06/10: gnu: Add python-serverfiles., guix-commits, 2021/04/25
- 03/10: gnu: Add python-qasync., guix-commits, 2021/04/25
- 02/10: gnu: Add python-pyqtgraph., guix-commits, 2021/04/25
- 07/10: gnu: Add python-louvain 0.15.,
guix-commits <=
- 08/10: gnu: python-pynndescent: Update to 0.5.2., guix-commits, 2021/04/25
- 09/10: gnu: python-opentsne: Update to 0.5.2., guix-commits, 2021/04/25
- 10/10: gnu: Add orange., guix-commits, 2021/04/25