* [bug#42255] [PATCH] gnu: Add python-scikit-fuzzy.
@ 2020-07-08 2:07 Vinicius Monego
2020-07-08 9:47 ` bug#42255: " Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Vinicius Monego @ 2020-07-08 2:07 UTC (permalink / raw)
To: 42255; +Cc: Vinicius Monego
* gnu/packages/python-science.scm (python-scikit-fuzzy): New variable.
---
gnu/packages/python-science.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 3d6d4e909e..e4c39cf8d1 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
+;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -390,6 +391,37 @@ large and growing library of domain-agnostic functions for advanced analytics
and visualization with these data structures.")
(license license:asl2.0)))
+(define-public python-scikit-fuzzy
+ (package
+ (name "python-scikit-fuzzy")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "scikit-fuzzy" version))
+ (sha256
+ (base32 "0bp1n771fj44kdp7a00bcvfwirvv2rc803b7g6yf3va7v0j29c8s"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "nosetests" "-s" "-v" "skfuzzy")
+ #t)))))
+ (native-inputs
+ `(("python-nose" ,python-nose)))
+ (propagated-inputs
+ `(("python-networkx" ,python-networkx)
+ ("python-numpy" ,python-numpy)
+ ("python-scipy" ,python-scipy)))
+ (home-page "https://github.com/scikit-fuzzy/scikit-fuzzy")
+ (synopsis "Fuzzy logic toolkit for SciPy")
+ (description
+ "This package implements many useful tools for projects involving fuzzy
+logic, also known as grey logic.")
+ (license license:bsd-3)))
+
(define-public python-msgpack-numpy
(package
(name "python-msgpack-numpy")
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-08 9:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 2:07 [bug#42255] [PATCH] gnu: Add python-scikit-fuzzy Vinicius Monego
2020-07-08 9:47 ` bug#42255: " Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).