[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: Add python-pomegranate.
From: |
guix-commits |
Subject: |
12/12: gnu: Add python-pomegranate. |
Date: |
Mon, 12 Dec 2022 09:01:21 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 94e9651241b3e827531779717952d386535801f3
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Dec 12 11:12:27 2022 +0100
gnu: Add python-pomegranate.
* gnu/packages/python-xyz.scm (python-pomegranate): New variable.
---
gnu/packages/python-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4298fd4c40..8591423116 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3320,6 +3320,46 @@ existing ones.")
a certain expected condition.")
(license license:expat)))
+(define-public python-pomegranate
+ (package
+ (name "python-pomegranate")
+ (version "0.14.8")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pomegranate" version))
+ (sha256
+ (base32
+ "0gb9srkbxzlkjyfizvxkw5y0bvnfcyiaxapz0hrdaba8j096b5i2"))
+ (modules '((guix build utils)))
+ ;; Delete generated Cython C files.
+ (snippet
+ '(for-each delete-file (find-files "." "\\.c$")))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "setup.py" "test")))))))
+ (propagated-inputs
+ (list python-joblib
+ python-networkx
+ python-numpy
+ python-pyyaml
+ python-scipy))
+ (native-inputs
+ (list python-cython
+ python-nose
+ python-pandas))
+ (home-page "https://pypi.python.org/pypi/pomegranate/")
+ (synopsis "Graphical models library for Python")
+ (description
+ "Pomegranate is a graphical models library for Python, implemented in
+Cython for speed.")
+ (license license:expat)))
+
(define-public python-poyo
(package
(name "python-poyo")
- branch master updated (ad4bb682d3 -> 94e9651241), guix-commits, 2022/12/12
- 08/12: gnu: Add python-fit-nbinom., guix-commits, 2022/12/12
- 11/12: gnu: Add python-pygtrie., guix-commits, 2022/12/12
- 10/12: gnu: Add python-flask-jwt., guix-commits, 2022/12/12
- 09/12: gnu: Add python-apispec-webframeworks., guix-commits, 2022/12/12
- 04/12: gnu: Add python-cleanlab., guix-commits, 2022/12/12
- 07/12: gnu: Add python-py4j., guix-commits, 2022/12/12
- 01/12: gnu: u-boot: Update to 2022.10., guix-commits, 2022/12/12
- 12/12: gnu: Add python-pomegranate.,
guix-commits <=
- 05/12: gnu: Add python-cleanlab-1., guix-commits, 2022/12/12
- 06/12: gnu: Add python-imbalanced-learn., guix-commits, 2022/12/12
- 02/12: gnu: u-boot: Use plain list of inputs., guix-commits, 2022/12/12
- 03/12: gnu: bioperl-minimal: Remove trailing #T from build phase., guix-commits, 2022/12/12