[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
35/40: gnu: Add python-pygsp.
From: |
guix-commits |
Subject: |
35/40: gnu: Add python-pygsp. |
Date: |
Tue, 23 Jan 2024 07:43:43 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 123c880fe94c0a75de9798fcc99129af59f23b8c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jan 23 12:21:12 2024 +0100
gnu: Add python-pygsp.
* gnu/packages/graph.scm (python-pygsp): New variable.
Change-Id: I8dd195216617e5cdb4a7453ecbe23cd9ff9e06a3
---
gnu/packages/graph.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 9dfe2efbc9..6411afd9e0 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -64,6 +64,7 @@
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
+ #:use-module (gnu packages python-check)
#:use-module (gnu packages python-compression)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-web)
@@ -468,6 +469,43 @@ 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-pygsp
+ (package
+ (name "python-pygsp")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "PyGSP" version))
+ (sha256
+ (base32 "002q4z3p3ka81rzhgi66qqmz1ccrg9hwch4bax7jsqixg64asx28"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; These all fail due to a type error in scipy.
+ '(list "-k" (string-append "not test_bunny"
+ " and not test_lowstretchtree"
+ " and not test_nngraph"
+ " and not test_plot_graphs"
+ " and not test_randomregular"))
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'disable-doctests
+ (lambda _
+ (substitute* "pygsp/tests/test_all.py"
+ (("def test_docstrings.*") "def _disabled_test_docstrings():\n")
+ (("return doctest.DocFileSuite.*") "return False\n")
+ (("suites.append\\(test_docstrings.*")
+ "")))))))
+ (propagated-inputs (list python-numpy python-scikit-image python-scipy))
+ (native-inputs (list python-coverage python-coveralls python-flake8))
+ (home-page "https://github.com/epfl-lts2/pygsp")
+ (synopsis "Graph Signal Processing in Python")
+ (description "The PyGSP is a Python package to ease signal processing on
+graphs.")
+ (license license:bsd-3)))
+
(define-public faiss
(package
(name "faiss")
- 04/40: gnu: r-gensa: Update to 1.1.14., (continued)
- 04/40: gnu: r-gensa: Update to 1.1.14., guix-commits, 2024/01/23
- 07/40: gnu: r-ctrdata: Update to 1.17.0., guix-commits, 2024/01/23
- 13/40: gnu: r-nodbi: Update to 0.10.0., guix-commits, 2024/01/23
- 16/40: gnu: r-fmsb: Update to 0.7.6., guix-commits, 2024/01/23
- 27/40: gnu: r-maldiquant: Update to 1.22.2., guix-commits, 2024/01/23
- 24/40: gnu: r-lightgbm: Update to 4.3.0., guix-commits, 2024/01/23
- 18/40: gnu: r-rmpfr: Update to 0.9-5., guix-commits, 2024/01/23
- 34/40: gnu: Add r-scenic., guix-commits, 2024/01/23
- 32/40: gnu: r-desctools: Update to 0.99.53., guix-commits, 2024/01/23
- 31/40: gnu: r-plotly: Update to 4.10.4., guix-commits, 2024/01/23
- 35/40: gnu: Add python-pygsp.,
guix-commits <=
- 37/40: gnu: python-nose2: Update to 0.14.0., guix-commits, 2024/01/23
- 38/40: gnu: Add python-tasklogger., guix-commits, 2024/01/23
- 40/40: gnu: Add python-magic-impute., guix-commits, 2024/01/23
- 33/40: gnu: python-scipy: Update to 1.12.0., guix-commits, 2024/01/23
- 29/40: gnu: r-rsqlite: Update to 2.3.5., guix-commits, 2024/01/23