From: phodina via Guix-patches via <guix-patches@gnu.org>
To: "46005@debbugs.gnu.org" <46005@debbugs.gnu.org>
Subject: [bug#46005] [PATCH v2] gnu: Add python-lmso-algorithm.
Date: Wed, 03 Nov 2021 20:16:45 +0000 [thread overview]
Message-ID: <z-Rfy350-5RP6T_0iWuIto2uo-b53IRCIIuuwySTv1bBX6OH2eYFh_dRtsAJdZ7X-1aOqvbnLZMFodS6j53MVtNeAoUE1RJmtiFj7aJ-3Io=@protonmail.com> (raw)
In-Reply-To: <MRUGtYQ--3-2@tuta.io>
Hi Adam,
here's the reworked patch.
Petr
--8<---------------cut here---------------start------------->8---
* gnu/packages/python-xyz.scm (python-lmso-algorithm): New variable.
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 32d6b403d4..1d70cd6f2f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13440,6 +13440,39 @@ (define-public python-lmfit
enhancements to optimization and data fitting problems.")
(license license:bsd-3)))
+(define-public python-lmso-algorithm
+ (let ((commit "463699946d1805c6898ae9789370b1e8a122ccda")
+ (revision "1"))
+ (package
+ (name "python-lmso-algorithm")
+ (version (git-version "1.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alexgrusu/lmso_algorithm")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256 "122kyd1m0l1x79x0sp201bgbg7sb36c2dz7cranbf8g6m69f4w68")))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'delete-egg
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Delete the .egg-info directory, to avoid build errors
+ (delete-file-recursively "lmso_algorithm.egg-info"))))))
+ (propagated-inputs
+ `(("python-numpy" ,python-numpy)
+ ("python-scipy" ,python-scipy )))
+ (home-page "https://github.com/alexgrusu/lmso_algorithm")
+ (synopsis "Optimized LMS algorithm")
+ (description "This package provides an optimized least-mean-square (LMSO)
+algorithm. The proposed algorithm follows an optimization problem and
+introduces a variable step-size in order to minimize the system
+misalignment.")
+ (license license:gpl3))))
+
(define-public python-boto
(package
(name "python-boto")
--
2.33.1
prev parent reply other threads:[~2021-11-03 20:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-20 10:12 [bug#46005] [PATCH] gnu: Add python-lmso-algorithm guix-patches--- via
2021-11-03 20:16 ` phodina via Guix-patches via [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='z-Rfy350-5RP6T_0iWuIto2uo-b53IRCIIuuwySTv1bBX6OH2eYFh_dRtsAJdZ7X-1aOqvbnLZMFodS6j53MVtNeAoUE1RJmtiFj7aJ-3Io=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=46005@debbugs.gnu.org \
--cc=phodina@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.