From patchwork Wed Jun 5 15:52:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosha X-Patchwork-Id: 65179 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 2AE2827BBEA; Wed, 5 Jun 2024 16:56:40 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 B824B27BBE2 for ; Wed, 5 Jun 2024 16:56:39 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEszZ-0002n1-7z; Wed, 05 Jun 2024 11:56:01 -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 1sEszX-0002lK-4a for guix-patches@gnu.org; Wed, 05 Jun 2024 11:55:59 -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 1sEszW-0006Kf-S9; Wed, 05 Jun 2024 11:55:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sEsze-0004vb-SY; Wed, 05 Jun 2024 11:56:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65367] [PATCH v4 1/4] gnu: Add python-pymarshal. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Wed, 05 Jun 2024 15:56:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65367 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65367@debbugs.gnu.org Cc: Sughosha , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 65367-submit@debbugs.gnu.org id=B65367.171760296318891 (code B ref 65367); Wed, 05 Jun 2024 15:56:06 +0000 Received: (at 65367) by debbugs.gnu.org; 5 Jun 2024 15:56:03 +0000 Received: from localhost ([127.0.0.1]:44494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEsza-0004uO-KL for submit@debbugs.gnu.org; Wed, 05 Jun 2024 11:56:03 -0400 Received: from layka.disroot.org ([178.21.23.139]:58054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEszY-0004u0-8n for 65367@debbugs.gnu.org; Wed, 05 Jun 2024 11:56:01 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id AD77544E8C; Wed, 5 Jun 2024 17:55:44 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oO8OVL_dSMQS; Wed, 5 Jun 2024 17:55:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1717602943; bh=y1AxAynAj+ehZU0t6d7J7sxePstj5tv6bGQPIhtu1WU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=NRhUdJ0E+7wSndu2e4/viv1nuNjmAdz57SB55X+OTwZ/n88xo3PUIq5VWC1cB39IN hubjpa4NEd5jLxhzJOk+BTKWxNGgAHonYdqU0KmTqsInAjiU3ySz2uAGcg2AQ9tpPI y4BV1md9WRVc1/BiVA3Wl98k+yAJWnuPOchD8bzRjyKC0wupfdVF+zZr6ZAqcXixjA Ni9WvBTu2xvM/QbDblGObEOz5/NuT1RxZdG9mmMoDhKn/pjpf2AJT/AcwxpMfN8jXL 5Br5PasjUaomaK6Rj/r4KYp60gG6vlfG/LRq670uMVRc6PoOMF8SY9ZdCUaIqJdLa0 P6JKjYqRfbDQw== Date: Wed, 5 Jun 2024 21:22:08 +0530 Message-ID: <7414f5ac144c54eb0ba49d93c99b93d580e137c0.1717602731.git.sughosha@disroot.org> 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: , Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches X-Patchwork-Original-From: Sughosha via Guix-patches via From: Sughosha 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/python-xyz.scm (python-pymarshal): New variable. Change-Id: I6a1d2f8f21869856a9a227bed213d9f71204b2d4 --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c22df7728a..f4fc6c8768 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4485,6 +4485,30 @@ (define-public python-jsonargparse variables.") (license license:expat))) +(define-public python-pymarshal + (package + (name "python-pymarshal") + (version "2.2.3") + (source (origin + (method url-fetch) + (uri (pypi-uri "pymarshal" version)) + (sha256 + (base32 + "1lhb7yim60pvclbd440zd4n50xs1d2rvmnrhhvib3hyv0dxil5j3")))) + (build-system pyproject-build-system) + (arguments + ;; Test fails with this error: + ;; "CovReportWarning: Failed to generate report: No data to report." + (list #:tests? #f)) + (native-inputs + (list python-pytest python-pytest-cov)) + (propagated-inputs (list python-bson python-pyyaml)) + (home-page "https://gitlab.com/d3v-t00lz/pymarshal") + (synopsis "Pythonic implementation of Golang struct (un)marshalling") + (description "PyMarshal replicates the feature of (un)marshalling structs +in Golang.") + (license license:bsd-2))) + (define-public python-simplejson (package (name "python-simplejson")