From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AF9ENI/ugmEcTgEAgWs5BA (envelope-from ) for ; Wed, 03 Nov 2021 21:18:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +FrSL4/ugmFtTAAAbx9fmQ (envelope-from ) for ; Wed, 03 Nov 2021 20:18:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 98ECECE2F for ; Wed, 3 Nov 2021 21:18:23 +0100 (CET) Received: from localhost ([::1]:55704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miMiE-0004iz-KO for larch@yhetil.org; Wed, 03 Nov 2021 16:18:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miMhu-0004iJ-7S for guix-patches@gnu.org; Wed, 03 Nov 2021 16:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1miMht-0006d3-V0 for guix-patches@gnu.org; Wed, 03 Nov 2021 16:18:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1miMht-0006n0-N7 for guix-patches@gnu.org; Wed, 03 Nov 2021 16:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#46005] [PATCH v2] gnu: Add python-lmso-algorithm. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Nov 2021 20:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46005 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "46005@debbugs.gnu.org" <46005@debbugs.gnu.org> Received: via spool by 46005-submit@debbugs.gnu.org id=B46005.163597062426014 (code B ref 46005); Wed, 03 Nov 2021 20:18:01 +0000 Received: (at 46005) by debbugs.gnu.org; 3 Nov 2021 20:17:04 +0000 Received: from localhost ([127.0.0.1]:41358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miMgt-0006l1-Ox for submit@debbugs.gnu.org; Wed, 03 Nov 2021 16:17:04 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:64913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miMgo-0006kd-34 for 46005@debbugs.gnu.org; Wed, 03 Nov 2021 16:16:58 -0400 Date: Wed, 03 Nov 2021 20:16:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1635970607; bh=UCPTEUGVjkD/tIVakZIi0pYZ1vKKF4tJ1w4c5AksjkM=; h=Date:To:From:Reply-To:Subject:From; b=m54q3he3+SFun7+9DjKlMcOEvFergtzNAbQVlnWE3x0XoyEJ4IRCfH1+SUmlvuKR1 yYJtmFnBM/ApyDaD4NLrJWS+jKkWtdM6vdrMDxkKvhO7hL5SRCoeYeIVRP8z111JKx d1VkxpDh0sXVY7aNnbwkzuZHpJcbEyQhGFOGTsas= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635970703; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UCPTEUGVjkD/tIVakZIi0pYZ1vKKF4tJ1w4c5AksjkM=; b=kk9KY/t9GhLEowP1Bp5txO7iFYMCRdGwQGTg9D/p/NhBc3ZkhzWIWHz0Gz2pyPZVtzGcqC 1N8ejTq03VAQQlJoptOUWcAnrAe5FgGWqnF8U9WR1uS4ZWmk3yZ4h35OXJdafW1mV3at/M Eg2lTemL5s8ExKxSBtVn9uq3aJ/TFfm63rTCdCBzWK/C8+VR2k/TArjwynecpH7t24wTff mFVz+KMiaCxLbGP3Q7lYpoRT3ukwmyNR+qnuCOc+QYSNSFsMuab2xvZc/9p9V1AuqQdHpx 10Hq+HM9mN9BU7udf+3gebcEM1G6M8VkBc0ZpV/hOvVAKKUCpaYHihw/6FjMWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635970703; a=rsa-sha256; cv=none; b=uCN4MAaa3bLnMUf8pUGPada0Ctcz0kfVp9mpUyEZ4oI/JDK+Hn+1pZFgjNZVWTe0KAjSAE 9hac3ZkjbHf84g6fusl5w5uyDnu/1l1cj3kwGNIMle1xlC1c5v/UG2BgNRzpZf1srIks5c v6NWudAOtfuSOQIOkygISP2M24m6NG8QaAx0/svfPB2f4VrVTnl9Sfaa58QFakM5E+4Lck 4kHioPuAIVQia884jcJZoFIPC9osNwpq4zC4a/u3Ph0rA8WPEVilgQ4xtpMSkftdwnZG3x L26Vef05cOO5NCT8bTzF7yO0Q0gmqoXbLzsI+Ca4VbsCzTSIxlsVb1ZOnGYSVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=m54q3he3; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=m54q3he3; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 98ECECE2F X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: nwJrepIXrr9f 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