From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eIgCJUqIvGCvegEAgWs5BA (envelope-from ) for ; Sun, 06 Jun 2021 10:33:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0HV7IEqIvGAdFAAAbx9fmQ (envelope-from ) for ; Sun, 06 Jun 2021 08:33:14 +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 121EB36417 for ; Sun, 6 Jun 2021 10:33:14 +0200 (CEST) Received: from localhost ([::1]:34188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpoDY-0006HE-Vs for larch@yhetil.org; Sun, 06 Jun 2021 04:33:13 -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?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= 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?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= 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?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= 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 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622968394; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MkLGWVw0s34hOhL4kDCx2OFPaoxaioC5GzYccCp0vtI=; b=Bk5jivjNr0CBvz/tlnWxoJyOYyRrCrrEa1123i5Tme6NqdNd4GIELkNtwV1AxgUcuID+qr 0UEr14BmZjeIZjPlYG8JrmkQs5q7+axEyukEm7dIvcFrNXQkpV55WF2EdCE4Pajbs9fUKR 794BwFTwJuKjy1iNZ18Ukw4TYLQf/JvCv9GrMnz5NloV3ZmMM+k3YtFk5kfCEpOtKC4Sxa +wZzAcPo+ftTu/G72/MCKGzIvOaRdd0QQOsxRU3cWgV0I4CTC7Yt9MJtW2wqEeaqFdlp8d CfWio5yLcjnm3YwDdx+Zzhy4RyBi/U2/IXliEjHoAbxTSMBrzL6YSmpfCXI4jA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622968394; a=rsa-sha256; cv=none; b=C5LG7m98frIN9cx9QgmTjc0JrmAawK5JfhCKKpUBhJ3QLxUleIrvz0JWxqMaA0wEJD5aVb JY5LcGK+gjAfbd1HcWvSd51Oszn+aNRS58Wbp8x+wzhBLIJeXUxBfCEHfLFoYJG2l1NSYS 11YUnfKnCVU/U737BVJXlDfNbrWK9qi+WD3tP35wM1eIQc0NXzfLpb3xNmNQAeJzFxxjFt BZGhno615xB3ES3zBtejlbUel4szajm/bj7rmTcJ28WsyvrpXhcgEgAv/7UPakpR1uUUi3 6VWAQ+AIQt5vAHW4m9bFoTSg9ehyzC/gI61+M2s/Mdgnplz1Swk42kC9ghFs6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=Essgculr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mdc-berlin.de (policy=none); 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.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=Essgculr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mdc-berlin.de (policy=none); 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: 121EB36417 X-Spam-Score: 2.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: tKAz444csnLg * 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 -- 2.31.1