From patchwork Thu Feb 15 20:46:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 60413 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 A74F027BBE2; Thu, 15 Feb 2024 20:48:19 +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 DDD5B27BBE9 for ; Thu, 15 Feb 2024 20:48:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raie5-000116-AY; Thu, 15 Feb 2024 15:47:49 -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 1raie1-0000zY-Rf for guix-patches@gnu.org; Thu, 15 Feb 2024 15:47:45 -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 1raie1-0003XV-Cw; Thu, 15 Feb 2024 15:47:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raieK-0005ES-6Q; Thu, 15 Feb 2024 15:48:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66690] [PATCH v2 4/8] gnu: Add python-cwlformat. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: arunisaac@systemreboot.net, ludo@gnu.org, guix-patches@gnu.org Resent-Date: Thu, 15 Feb 2024 20:48:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66690 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: 66690@debbugs.gnu.org Cc: Arun Isaac , Arun Isaac , Ludovic =?utf-8?q?Court=C3=A8s?= X-Debbugs-Original-Xcc: Arun Isaac , Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 66690-submit@debbugs.gnu.org id=B66690.170803004819950 (code B ref 66690); Thu, 15 Feb 2024 20:48:04 +0000 Received: (at 66690) by debbugs.gnu.org; 15 Feb 2024 20:47:28 +0000 Received: from localhost ([127.0.0.1]:57553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raidk-0005Bg-0s for submit@debbugs.gnu.org; Thu, 15 Feb 2024 15:47:28 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:59008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raidf-0005BI-Cs for 66690@debbugs.gnu.org; Thu, 15 Feb 2024 15:47:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=FowdT+9noddNBLC6r97xM//2JZu6Yc37qE5PSj+dRjw=; b=U6MKTx3byOdgGRfBEBT6e6vh0C 8+YWIiFQV1HmqU189fBgLX/bxAsYppWPjCiWnUdu9Jz8ExKHOlwfhOfx+w1mWeYOLcbRu8ajzaa0r xOvg4iSPQVTHqzJpZ8cjazmzlPJAsBWOYr3SxVAI12TOmRHUIynrJWfSzw4YqG519R9L3maxwH59C i0ypiadqPZIbWrrgSrnFSvrpljxgxUoZ3Sy2x4ipW6GI43u78HdWMdl3Gz9t0AgfLfGx2etOJNW4g CVAZbvpYGTHQbpDhyPYbxeTf6jGtmxFFk7D3nbrj2pqP0AF47KtMfh4XhW2PszgSMARcM2i81Kxza aQIrtcJw==; Received: from [192.168.2.1] (port=57126 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1raicA-0004iN-1I; Thu, 15 Feb 2024 20:45:51 +0000 From: Arun Isaac Date: Thu, 15 Feb 2024 20:46:21 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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-cwlformat): New variable. Change-Id: Ib2d79e350ab100c61c7afe2d5d3eafc72146e493 --- gnu/packages/bioinformatics.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 75cfad51a6..48e56945b3 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -5138,6 +5138,33 @@ (define-public python-scrublet doublets in single-cell RNA-seq data.") (license license:expat))) +(define-public python-cwlformat + (package + (name "python-cwlformat") + (version "2022.02.18") + (source + ;; The PyPI tarball is missing Readme.md. Readme.md is required for the + ;; build. + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rabix/cwl-format") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0agkz2w86k91rc9m5vx5hsqi5nm6fcmzkng6j99hjapz0r9233ql")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-importlib-resources + python-ruamel.yaml)) + (home-page "https://github.com/rabix/cwl-format") + (synopsis "Prettifier for CWL code") + (description "@code{python-cwlformat} is a specification and a reference +implementation for a very opinionated @acronym{CWL, Common Workflow Language} +code formatter. It outputs CWL in a standardized YAML format.") + (license license:asl2.0))) + (define-public cwltool (package (name "cwltool")