From patchwork Wed May 18 16:20:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Wiktor Zelazny X-Patchwork-Id: 39469 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B07A127BBEA; Wed, 18 May 2022 17:50:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 74F3127BBE9 for ; Wed, 18 May 2022 17:50:29 +0100 (BST) Received: from localhost ([::1]:35154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrMsW-0004Y2-Jm for patchwork@mira.cbaines.net; Wed, 18 May 2022 12:50:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrMs7-0004WW-3t for guix-patches@gnu.org; Wed, 18 May 2022 12:50:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrMs6-0000WP-RB for guix-patches@gnu.org; Wed, 18 May 2022 12:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nrMs6-0004AZ-LS for guix-patches@gnu.org; Wed, 18 May 2022 12:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55502] [PATCH 1/3] gnu: Add python-climin. References: <20220518140016.26210-1-wzelazny@vurv.cz> In-Reply-To: <20220518140016.26210-1-wzelazny@vurv.cz> Resent-From: Wiktor Zelazny Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 May 2022 16:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55502 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "55502@debbugs.gnu.org" <55502@debbugs.gnu.org> Cc: Wiktor Zelazny Received: via spool by 55502-submit@debbugs.gnu.org id=B55502.165289255815949 (code B ref 55502); Wed, 18 May 2022 16:50:02 +0000 Received: (at 55502) by debbugs.gnu.org; 18 May 2022 16:49:18 +0000 Received: from localhost ([127.0.0.1]:33355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrMrN-000499-9o for submit@debbugs.gnu.org; Wed, 18 May 2022 12:49:18 -0400 Received: from nat.vurv.cz ([62.168.13.101]:40526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrMPY-0003MY-F1 for 55502@debbugs.gnu.org; Wed, 18 May 2022 12:20:33 -0400 Received: from ServerExch-1.vurv.local (ServerExch-1.vurv.local [10.0.8.45]) by nat.vurv.cz (Postfix) with ESMTPS id 657E9224DB1A for <55502@debbugs.gnu.org>; Wed, 18 May 2022 18:20:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 nat.vurv.cz 657E9224DB1A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vurv.cz; s=default; t=1652890823; bh=YzuUo38bTUfnjnLDQGRYhUfW1isdUMuoMYmVEAEF+0I=; h=From:To:CC:Subject:Date:From; b=B6F1RFKGVJ0prDt68ERK4EB0s0Wv52zN4ZJWrPBdaojCiyqS+gvmBJlgT7S33xgy9 EGK6BSp45FV50w2JpW+Cnv8Y65ia1kblIdhrfgWvoaMqHpDRHCWJcuRwDhGuh5fQzF DBAFSn2UMkbIm/6QG59FYNyYekWA/ne7anXir6Mg= Received: from ServerExch-1.vurv.local (10.0.8.45) by ServerExch-1.vurv.local (10.0.8.45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 18 May 2022 18:20:23 +0200 Received: from ServerExch-1.vurv.local ([fe80::e4b0:1814:2ffc:fff7]) by ServerExch-1.vurv.local ([fe80::e4b0:1814:2ffc:fff7%4]) with mapi id 15.01.2242.012; Wed, 18 May 2022 18:20:23 +0200 From: Wiktor Zelazny Thread-Topic: [PATCH 1/3] gnu: Add python-climin. Thread-Index: AQHYatMsp0xVaB3NPkS9J63QCnMAIw== Date: Wed, 18 May 2022 16:20:23 +0000 Message-ID: <20220518162004.1536-1-wzelazny@vurv.cz> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.8.2] Content-ID: MIME-Version: 1.0 X-VURV-MailScanner-Information: Please contact the ISP for more information X-VURV-MailScanner-ID: 657E9224DB1A.A7385 X-VURV-MailScanner: Found to be clean X-VURV-MailScanner-From: wzelazny@vurv.cz X-Mailman-Approved-At: Wed, 18 May 2022 12:49:16 -0400 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-science.scm (python-climin): New variable. --- gnu/packages/python-science.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) -- 2.36.0 diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index bf7c7ce45f..ad17401a61 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -18,6 +18,7 @@ ;;; Copyright © 2022 Malte Frank Gerdes ;;; Copyright © 2022 Guillaume Le Vaillant ;;; Copyright © 2022 Paul A. Patience +;;; Copyright © 2022 Wiktor Żelazny ;;; ;;; This file is part of GNU Guix. ;;; @@ -1222,3 +1223,25 @@ (define-public python-traittypes out of the scope of the main traitlets project but are a common requirement to build applications with traitlets in combination with the scipy stack.") (license license:bsd-3))) + +(define-public python-climin + (package + (name "python-climin") + (version "0.1a1") + (source (origin + (method url-fetch) + (uri (pypi-uri "climin" version)) + (sha256 + (base32 + "1wpjisd5zzi5yvjff02hnxn84822k8sdxvvd33lil2x79wdb36rv")))) + (build-system python-build-system) + (native-inputs (list python-nose)) + (propagated-inputs (list python-numpydoc python-numpy python-scipy)) + (home-page "https://github.com/BRML/climin") + (synopsis "Optimization for machine learning") + (description + "@command{climin} is a Python package for optimization, +heavily biased to machine learning scenarios distributed under the BSD 3-clause +license. It works on top of @command{numpy} and (partially) +@command{gnumpy}.") + (license license:bsd-3)))