From patchwork Fri Jun 24 12:50:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antero Mejr X-Patchwork-Id: 40291 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 363DE27BBEB; Fri, 24 Jun 2022 13:54:52 +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 E373327BBEA for ; Fri, 24 Jun 2022 13:54:51 +0100 (BST) Received: from localhost ([::1]:44472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4ipm-0000j4-WE for patchwork@mira.cbaines.net; Fri, 24 Jun 2022 08:54:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4in4-0006dX-KG for guix-patches@gnu.org; Fri, 24 Jun 2022 08:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4in4-0004se-BP for guix-patches@gnu.org; Fri, 24 Jun 2022 08:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4in4-0002FC-Am for guix-patches@gnu.org; Fri, 24 Jun 2022 08:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56186] [PATCH] gnu: Add python-deepdish. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Jun 2022 12:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56186 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56186@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16560750708556 (code B ref -1); Fri, 24 Jun 2022 12:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jun 2022 12:51:10 +0000 Received: from localhost ([127.0.0.1]:41334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4imE-0002Dw-8l for submit@debbugs.gnu.org; Fri, 24 Jun 2022 08:51:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:46800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4im8-0002Dk-Ss for submit@debbugs.gnu.org; Fri, 24 Jun 2022 08:51:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4im6-0005YU-2R for guix-patches@gnu.org; Fri, 24 Jun 2022 08:51:02 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:53030) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1o4im3-0004jM-Hd for guix-patches@gnu.org; Fri, 24 Jun 2022 08:51:01 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4LTxn1166Qz9sWb for ; Fri, 24 Jun 2022 14:50:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1656075045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ulcYdbbOgyv8j9FwWbqFF5eLhjzCf2trH1NNTRDzNdA=; b=PbpXx3zw46RowQSYjtwLtW1vMpsTkOYJqE0nnLm340KB/C5YLpsDFqXim5bC00jmaoI0VM 8TT4EGvh1kZjhy7iBMgYBdHgUQ5pJ4JshIZ4mnS0H+Fr1c0aguYKBOKPwJ7zuu9C9ZQWyo FviKqLoBkjS+vl8+/QncjQezuQja6fNxOPTE1E/hv1kDd2QDRXZvH870/SaY250yuQV5Pq 2O8NgyXY/G2Cqvx7T68LXtCnp5s3Hp5WRV4haV4OOUlgQ0rV3PFgtvOtCtwWUdfkvWdj8a HB3IejT8sYgmoZ/rwk6mYecLQvPlxl8Ima7bHJhGf3JmopZYAq6YpsHvzwWZJA== Date: Fri, 24 Jun 2022 12:50:33 +0000 Message-Id: <20220624125033.5605-1-antero@mailbox.org> MIME-Version: 1.0 X-MBO-RS-ID: 93d413df26faa214ba6 X-MBO-RS-META: cfcoywxi4po8tdb3atreyzww3z4f6tch X-Rspamd-Queue-Id: 4LTxn1166Qz9sWb Received-SPF: pass client-ip=80.241.56.172; envelope-from=antero@mailbox.org; helo=mout-p-202.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches X-Patchwork-Original-From: Antero Mejr via Guix-patches via From: Antero Mejr X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-science.scm (python-deepdish): New variable. --- gnu/packages/python-science.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 56f109e3d5..0f5403b36b 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1367,3 +1367,34 @@ (define-public python-gpy Python, from the Sheffield machine learning group. GPy implements a range of machine learning algorithms based on GPs.") (license license:bsd-3))) + +(define-public python-deepdish + (package + (name "python-deepdish") + (version "0.3.7") + (source (origin + (method url-fetch) + (uri (pypi-uri "deepdish" version)) + (sha256 + (base32 + "1wqzwh3y0mjdyba5kfbvlamn561d3afz50zi712c7klkysz3mzva")))) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'dont-vendor-six + (lambda _ + (delete-file "deepdish/six.py") + (substitute* "deepdish/io/hdf5io.py" + (("from deepdish import six") "import six")) + (substitute* "deepdish/io/ls.py" + (("from deepdish import io, six, __version__") + "from deepdish import io, __version__ +import six +"))))))) + (build-system python-build-system) + (native-inputs (list python-pandas)) + (propagated-inputs (list python-numpy python-scipy python-six + python-tables)) + (home-page "https://github.com/uchicago-cs/deepdish") + (synopsis "Python library for HDF5 file saving and loading") + (description "HDF5 saving/loading and other data science tools.") + (license license:bsd-3)))