From patchwork Mon Mar 31 06:18:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41060 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 3211127BBEA; Mon, 31 Mar 2025 07:21:19 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 B5E9627BBE2 for ; Mon, 31 Mar 2025 07:21:18 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tz8W1-0004sx-Ap; Mon, 31 Mar 2025 02:20:57 -0400 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 1tz8VL-0004ex-IY for guix-patches@gnu.org; Mon, 31 Mar 2025 02:20:15 -0400 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 1tz8VK-0007xr-Bx for guix-patches@gnu.org; Mon, 31 Mar 2025 02:20:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=wG224H38PvV5Q/AT0GRnz79EdJHsoLiAeBrxt5l3hJY=; b=HEvc6DTvPNoPHKZeJqJahVBhdTGXyqcRin1oiGrNcjdrkOIbi1wplSrZvb0eg0+dQ9PBeVnAIp6aUP16HdjxDZ7PL/Ch0hz+x3Ovyz3iyJJhuKo/0M/piMvq3dAzQPZ+ALAu43Sssfz7rYqvXHffFfqVbststD5TNW2KSpn9jVoUZGdpQ40fuLrMDugD/TGKMl8obgssa8peN5ZJIf3rxMvSl/f4xJX6OWbTGJzDY5Ve2glEAsLUQIBLWLgb07aMSDUPxOyH0iACf2l30wAtp0SbXpUcFwugp7RJXovRcKHEXU5daERfolnHsrrLkYFsunQE8+YXuNKnMF7R+LZdLw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tz8VK-00078X-4e for guix-patches@gnu.org; Mon, 31 Mar 2025 02:20:14 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77400] [PATCH 05/26] gnu: python-pyvcf: Use the fork python-pyvcf3. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 Mar 2025 06:20:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77400 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77400@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77400-submit@debbugs.gnu.org id=B77400.174340198327114 (code B ref 77400); Mon, 31 Mar 2025 06:20:14 +0000 Received: (at 77400) by debbugs.gnu.org; 31 Mar 2025 06:19:43 +0000 Received: from localhost ([127.0.0.1]:39254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tz8Um-00072o-U5 for submit@debbugs.gnu.org; Mon, 31 Mar 2025 02:19:42 -0400 Received: from 6.mo563.mail-out.ovh.net ([46.105.55.200]:34345) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tz8UJ-0006xM-DM for 77400@debbugs.gnu.org; Mon, 31 Mar 2025 02:19:12 -0400 Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net [152.228.215.222]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4ZR1DX5PrWz1dG7; Mon, 31 Mar 2025 06:19:08 +0000 (UTC) Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net. [127.0.0.1]) by director3.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77400@debbugs.gnu.org>; Mon, 31 Mar 2025 06:19:08 +0000 (UTC) Received: from mta6.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.178.215]) by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZR1DX2w1Nz7wVj; Mon, 31 Mar 2025 06:19:08 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.5]) by mta6.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 05ACAD43D29; Mon, 31 Mar 2025 06:19:07 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-111S0054cfc36dd-facc-422f-8c98-8fd63f12c999, 87830A87949A0BA70EB5F3889DD10BC79FDA47E2) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Mon, 31 Mar 2025 08:18:33 +0200 Message-ID: <20250331061901.22670-5-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250331061901.22670-1-ngraves@ngraves.fr> References: <20250331061901.22670-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 3736861791627961058 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddujeeludekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejgedttdesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeifegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=wG224H38PvV5Q/AT0GRnz79EdJHsoLiAeBrxt5l3hJY=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743401948; v=1; b=FTTOc3U+l9CmDgef2iSYOY55iIVt5xnKEJih5OKlIeuhPGq5B3jhYmkHDQ8Hmh8PVVzoe50t a4IMk1vTsDRhjlA3qN+p7Ej4E1n4zKtt1MlMvJTA5EmrN3jhIBziZnNKk128phGnB5gGrlkWHqQ I+TgQQg/PqHvwM39wt2AU89fwjIzUVGUO9hb0YqUpsgBjjbIzQ58U61glZbWTpVIgORDHruRFbM mL+8uUnynpQHA1VztwEIlr08Mh+qux38R0l5bBmhXZSGkVPYH6dBt+Z8SgYbqXM6ggfCxmDU+wT AdZ2ltTzVEyPmmSgHA/Zo1zw+uV/+NaGmLxvvRMo+wnHA== 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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-pyvcf): Define in terms of 'deprecated-package'. (python-pyvcf3): New variable. (python-nanosv): Replace python-pyvcf by python-pyvcf3. --- gnu/packages/bioinformatics.scm | 46 ++++++++++----------------------- 1 file changed, 14 insertions(+), 32 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 6274b2d868..659e7cfea0 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -23917,51 +23917,33 @@ (define-public tombo ;; Some parts may be BSD-3-licensed. (license license:mpl2.0))) -(define-public python-pyvcf - (let ((commit "476169cd457ba0caa6b998b301a4d91e975251d9") +;; This is a fork of the original unmaintained python-pyvcf. +(define-public python-pyvcf3 + (let ((commit "1fb3789153d1d8e28e2cedf121399f276b5f312a") (revision "0")) (package - (name "python-pyvcf") - (version (git-version "0.6.8" revision commit)) - ;; Use git, because the PyPI tarballs lack test data. + (name "python-pyvcf3") + (version (git-version "1.0.3" revision commit)) (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/jamescasbon/PyVCF.git") - ;; Latest release is not tagged. + (url "https://github.com/dridk/PyVCF3") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 - "0qf9lwj7r2hjjp4bd4vc7nayrhblfm4qcqs4dbd43a6p4bj2jv5p")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-sample-script - (lambda _ - ;; Add Python 3 compatibility to this sample script. - (substitute* "scripts/vcf_sample_filter.py" - (("print (.*)\n" _ arg) - (string-append "print(" arg ")\n"))))) - (add-after 'install 'remove-installed-tests - ;; Do not install test files. - (lambda* (#:key inputs outputs #:allow-other-keys) - (delete-file-recursively (string-append - (site-packages inputs outputs) - "/vcf/test"))))))) - (native-inputs - ;; Older setuptools is needed for use_2to3. - (list python-cython python-setuptools-57)) - (propagated-inputs - (list python-pysam python-rpy2)) - (home-page "https://github.com/jamescasbon/PyVCF") + (base32 "0i4j5bq5q32q216ja7yvg0mpww5j0b9p8ky5bya4d31wqmygal8z")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-setuptools)) + (native-inputs (list python-setuptools python-wheel)) + (home-page "https://github.com/dridk/PyVCF3") (synopsis "Variant Call Format parser for Python") (description "This package provides a @acronym{VCF,Variant Call Format} parser for Python.") (license license:expat)))) +(define-deprecated/public-alias python-pyvcf python-pyvcf3) + (define-public nanosv (package (name "nanosv") @@ -23974,7 +23956,7 @@ (define-public nanosv "1wl2daj0bwrl8fx5xi8j8hfs3mp3vg3qycy66538n032v1qkc6xg")))) (build-system python-build-system) (inputs - (list python-configparser python-pysam python-pyvcf)) + (list python-configparser python-pysam python-pyvcf3)) (home-page "https://github.com/mroosmalen/nanosv") (synopsis "Structural variation detection tool for Oxford Nanopore data") (description "NanoSV is a software package that can be used to identify