From patchwork Sun Jun 6 08:31:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TcSDZMSDbGluIElvbmVsIFBhdHJhyJljdQ==?= X-Patchwork-Id: 29959 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 18B9E27BC81; Sun, 6 Jun 2021 09:33:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 832A227BC78 for ; Sun, 6 Jun 2021 09:33:13 +0100 (BST) Received: from localhost ([::1]:34188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpoDY-0006HE-DI for patchwork@mira.cbaines.net; Sun, 06 Jun 2021 04:33:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpoDP-00069t-7s for guix-patches@gnu.org; Sun, 06 Jun 2021 04:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39031) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpoDP-0000Iy-0V for guix-patches@gnu.org; Sun, 06 Jun 2021 04:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpoDO-0002EW-Nw for guix-patches@gnu.org; Sun, 06 Jun 2021 04:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48863] [PATCH] gnu: python-hicmatrix: Update to 15. Resent-From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Jun 2021 08:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48863 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48863@debbugs.gnu.org Cc: rekado@elephly.net, =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmE=?= =?utf-8?b?yJljdQ==?= X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.16229683338527 (code B ref -1); Sun, 06 Jun 2021 08:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jun 2021 08:32:13 +0000 Received: from localhost ([127.0.0.1]:50577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpoCb-0002DR-BI for submit@debbugs.gnu.org; Sun, 06 Jun 2021 04:32:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:49106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpoCX-0002DI-Po for submit@debbugs.gnu.org; Sun, 06 Jun 2021 04:32:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpoCX-0005h6-7c for guix-patches@gnu.org; Sun, 06 Jun 2021 04:32:09 -0400 Received: from b2062.mx.srv.dfn.de ([194.95.234.172]:59435) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpoCS-0008AP-Ih for guix-patches@gnu.org; Sun, 06 Jun 2021 04:32:08 -0400 Received: from localhost (localhost [127.0.0.1]) by b2062.mx.srv.dfn.de (Postfix) with ESMTP id 403B11600C0; Sun, 6 Jun 2021 10:31:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :x-mailer:message-id:date:date:subject:subject:from:from :received:received:received; s=mdc; t=1622968318; x=1624782719; bh=joRv7AG13dAHIuuDiVxx+uXDxPePbb/iMvUeW0+Mjz8=; b=Essgculr25T7 VbKVC7EMYWx2KwWWX5OrdsKFQn5fb+3y7PzOozduIFvtqq9wcBBSbL6LfqbJSeET 5N8zpNvFmOox/ACWf7ZeWqRGPPpLF+Vc/bDA+KdMSDnja2B4GV04ZTzkWiRiE3KD /zK+80e415AWDmmHIXhL6HsXbuzDv/M= Received: from b2062.mx.srv.dfn.de ([127.0.0.1]) by localhost (mgw4-tub.srv.dfn.de [127.0.0.1]) (amavisd-new, port 20134) with ESMTP id 81bRtOAd-hL2; Sun, 6 Jun 2021 10:31:58 +0200 (CEST) Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by b2062.mx.srv.dfn.de (Postfix) with ESMTPS; Sun, 6 Jun 2021 10:31:58 +0200 (CEST) Received: from Guix-Ubuntu18.04 (141.80.113.106) by SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Sun, 6 Jun 2021 10:31:57 +0200 From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Date: Sun, 6 Jun 2021 10:31:44 +0200 Message-ID: <20210606083144.25207-1-madalinionel.patrascu@mdc-berlin.de> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Originating-IP: [141.80.113.106] X-ClientProxiedBy: SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) To SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) X-TM-AS-Product-Ver: SMEX-14.0.0.3080-8.6.1012-26202.006 X-TM-AS-Result: No-10--4.678200-8.000000 X-TMASE-MatchedRID: SWYYoXVcRru6/eEqqZaZmmvOwg12ikVSpAWTmiZjiA04rjJc1YXhsBDa KMHusATY1joxU3t+0uTWwyFsF8Jh5rUd2R7XKvn32pDoO7oaT7MXivwflisSrAdkFovAReUog9x e4gtUJtr2f0BS8Vzei7K2ydSXuQZ1ZIqk0TFrZSOsoC9I+K53IfioIsi7Sa0gTPm/MsQarwN7i8 vAf7tRu/8lqKDjhCPxxtgTkG+GaOc7mT8/EEC+/tNtHlqACwPXQxituV8iXjsm9NNiXSn/v64rm QIDoB6SQYdNM7ug8oESU447Pck+mKPFjJEFr+olX8emX/Nw6OXpaGIM46J67MprJP8FBOIatyaK chQkyE7uzjlrW+JdbDHNP/bw0WSn/eBUfq67laN3BF6eopsVMunJaHrOvYdR46MYTdtpCV7yz7g SnAfcyaGXpbLxuYjb4zYZtOlNtZN4W/rV0NGdh/RzmpSOCosq9iVB5TfGsfRe0YmbY3/fIg== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.678200-8.000000 X-TMASE-Version: SMEX-14.0.0.3080-8.6.1012-26202.006 X-TM-SNTS-SMTP: C6A2846C651F28B91B7011E3CCD4F54C78AD0B2D20DF2D7F13865C789B2F28522000:F Received-SPF: pass client-ip=194.95.234.172; envelope-from=MadalinIonel.Patrascu@mdc-berlin.de; helo=b2062.mx.srv.dfn.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/bioinformatics.scm (python-hicmatrix): Update to 15. [source]: Changed from pypi to github, pypi sources do not contain tests. [arguments]: Removed build phase "relax-requirements" and replaced the pahse "check". [native-inputs]: Add python-pytest. --- gnu/packages/bioinformatics.scm | 37 ++++++++++++++++----------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 2de8a59d3c..02da131fdf 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -11786,29 +11786,26 @@ such as Hi-C contact matrices.") (define-public python-hicmatrix (package (name "python-hicmatrix") - (version "12") - (source - (origin - ;; Version 12 is not available on pypi. - (method git-fetch) - (uri (git-reference - (url "https://github.com/deeptools/HiCMatrix") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1xhdyx16f3brgxgxybixdi64ki8nbbkq5vk4h9ahi11pzpjfn1pj")))) + (version "15") + (source + (origin + ;;Pypi sources do not contain any test + (method git-fetch) + (uri (git-reference + (url "https://github.com/deeptools/HiCMatrix") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1dshjxgb16sdfg9k1bhw2yhyngac04k4ca7aqy8g3i3pprr068r5")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'relax-requirements - (lambda _ - (substitute* '("requirements.txt" - "setup.py") - (("cooler *=+ *0.8.5") - "cooler==0.8.*")) - #t))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "pytest" "-v"))))))) (propagated-inputs `(("python-cooler" ,python-cooler) ("python-intervaltree" ,python-intervaltree) @@ -11816,6 +11813,8 @@ such as Hi-C contact matrices.") ("python-pandas" ,python-pandas) ("python-scipy" ,python-scipy) ("python-tables" ,python-tables))) + (native-inputs + `(("python-pytest" ,python-pytest))) (home-page "https://github.com/deeptools/HiCMatrix/") (synopsis "HiCMatrix class for HiCExplorer and pyGenomeTracks") (description