From patchwork Wed Feb 14 20:27:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: nafkhamdc X-Patchwork-Id: 60309 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 5A09827BBE9; Wed, 14 Feb 2024 20:30:09 +0000 (GMT) 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,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, 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 7FFBB27BBE2 for ; Wed, 14 Feb 2024 20:30:04 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raLtD-0002mS-1e; Wed, 14 Feb 2024 15:29:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raLtB-0002m4-M9 for guix-patches@gnu.org; Wed, 14 Feb 2024 15:29:53 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1raLt2-0002uA-Ce for guix-patches@gnu.org; Wed, 14 Feb 2024 15:29:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raLtK-0002i8-Fi for guix-patches@gnu.org; Wed, 14 Feb 2024 15:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69134] [PATCH] gnu: Add python-ega-download-client. Resent-From: nafkhamdc Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Feb 2024 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69134 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69134@debbugs.gnu.org Cc: nafkhamdc X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.170794257010356 (code B ref -1); Wed, 14 Feb 2024 20:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Feb 2024 20:29:30 +0000 Received: from localhost ([127.0.0.1]:53231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raLso-0002gx-1I for submit@debbugs.gnu.org; Wed, 14 Feb 2024 15:29:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:39006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raLsl-0002gp-4P for submit@debbugs.gnu.org; Wed, 14 Feb 2024 15:29:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raLsS-0002iE-Ka for guix-patches@gnu.org; Wed, 14 Feb 2024 15:29:08 -0500 Received: from b2062.mx.srv.dfn.de ([194.95.234.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raLsQ-0002m4-Fx for guix-patches@gnu.org; Wed, 14 Feb 2024 15:29:08 -0500 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; s=mdc; t=1707942527; x=1709756928; bh=X2D52rjAEbg/+kh latEajWBJU5aV9vDzIpVt1VmZ5vE=; b=BUwnpUCWaJN8TFczSDSPAvCF93H21Mh ruUdUvr4SoUneO/cO+v5QZ8on7nRH2CY33Lb+UY/tQ1XRXXqV+OewTZBLtkZ0NIy DOseDPgcJEdqKsDU5VD1EhZCmIqrf8YPxRPdYOAk1/xvadIhiFRIheYzLs2PyS1w p/ZWWUWne0/Q= 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 id 1BF411601A9 for ; Wed, 14 Feb 2024 21:28:46 +0100 (CET) Received: from localhost (141.80.218.27) 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.2.1258.28; Wed, 14 Feb 2024 21:28:46 +0100 From: nafkhamdc Date: Wed, 14 Feb 2024 20:27:46 +0000 Message-ID: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [141.80.218.27] 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.3152-9.1.1006-28192.001 X-TM-AS-Result: No-10--13.738400-5.000000 X-TMASE-MatchedRID: LWf8uVYp425O5VUUsLndbwgqYHjJNWHe05SDu2UGfe9OaDdl7pggvQTg sjIJUJZIIvrftAIhWmLy9zcRSkKatX2sDZhHvxsBfOaYwP8dcX5IvK4LrXs1aSdEcnIP1FQIU9a 6zfLFA1aS9IT+Bgp99Q9neHJxPRoyh2Em++ruuH88o3fwIs8rQQGo1vhC/pWj592Swrd60UmKFp UuXMOO1fw/G+ZntJPRg+lHmj6O1YcRC3tpysE8AGLvWLmiffgqCZa9cSpBObmKtcrCRXmudyMvx YNZkZ6iiNBI53r2vd+bKItl61J/yZ+inTK0bC9eKrauXd3MZDWXf5sC39gVVC8R+AOaLbE+R5gg Xt2Q0ger4Qj7JCVutBMuqxt9VFXhNkUSDDq742k= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--13.738400-5.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-28192.001 X-TM-SNTS-SMTP: EBBF3FE21860FD9146778A4AFE4E877E483CFCC39CAA29B55011357A116C79852000:F Received-SPF: pass client-ip=194.95.234.172; envelope-from=Navid.Afkhami@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_PASS=-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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/bioinformatics.scm (python-ega-download-client): New variable. Change-Id: I3233774975989f912281ab2e6ec6ad3362cae18b --- gnu/packages/bioinformatics.scm | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) base-commit: 2ba2875dbda4b080fcad4e6d672bb4104d59dd0c diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index bcfe3c2656..863bf1ff26 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2525,6 +2525,43 @@ (define-public python-pybedtools ;; licensed lgpl2.1+ (license (list license:expat license:lgpl2.1+)))) +(define-public python-ega-download-client + (package + (name "python-ega-download-client") + (version "5.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/EGA-archive/ega-download-client") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0k9rfq2yyvfxs5sq9lsm8krp9ddx4s18hv85ikf3b37zv24kpwjk")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags '(list "-k" + ;; These tests fail because they require internet access. + (string-append "not test_download.py" + " and not test_htsget.py" + " and not test_commands.py")) + #:phases '(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "setup.py" + (("==") + ">="))))))) + (propagated-inputs (list python-htsget python-psutil python-requests + python-tqdm python-urllib3)) + (native-inputs (list python-coverage python-pytest python-pyfakefs + python-responses)) + (home-page "https://github.com/EGA-archive/ega-download-client") + (synopsis "EGA download client: pyEGA3") + (description + "PyEGA3 is a tool for viewing and downloading files from authorized EGA datasets.") + (license license:asl2.0))) + (define-public python-scdamandtools (package (name "python-scdamandtools")