From patchwork Thu Mar 27 15:59:20 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cayetano Santos X-Patchwork-Id: 40884 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 34D2C27BBE9; Thu, 27 Mar 2025 16:03:13 +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=-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=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 8AA6E27BBE2 for ; Thu, 27 Mar 2025 16:03:11 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1txpfR-0000eD-MZ; Thu, 27 Mar 2025 12:01:17 -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 1txpfF-0000Xo-RB for guix-patches@gnu.org; Thu, 27 Mar 2025 12:01:07 -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 1txpfF-0000lb-F7 for guix-patches@gnu.org; Thu, 27 Mar 2025 12:01:05 -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:Date:From:To:Subject; bh=meZAIPFmoDkIyAuFYCr79X5yPk4V3+OfznISzUz9xCQ=; b=oil2Qsj4ZD86ynZZiJu/lRbjz3OYuV4veLkuR3ooBWifXD4Q4PGbPlAd9eTzL0z0hpTK3QkIq0vChnY8S1Y78lePzFBEvYKQvVl6SyA0mJRQR+xc3vbGoZQ14fsHojgnfL1JwKjOpztj6Ks9Efh7j9rYqrax2yjhEr/IZYn4JA9zrgU7+obnbbQ9szxtQgZ0sf2kmRumPgmHOxIhicxKyx45GzC0xL5h6c6Ia8bg3xjsWccjUTFlXcPFyt63nGzVyFkdSoHWcGQtEZQWiAhWKA27gdoYJselpEt1payfN78yB9jEzi+pLmX7OM2BRwg/fMxw4pexdfUdlRzBiCZEvg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1txpfE-00079S-Qd for guix-patches@gnu.org; Thu, 27 Mar 2025 12:01:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77316] [PATCH] gnu: Add python-crc. Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Mar 2025 16:01:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77316 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77316@debbugs.gnu.org Cc: Cayetano Santos X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174309122026947 (code B ref -1); Thu, 27 Mar 2025 16:01:03 +0000 Received: (at submit) by debbugs.gnu.org; 27 Mar 2025 16:00:20 +0000 Received: from localhost ([127.0.0.1]:50996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1txpeU-0006zu-59 for submit@debbugs.gnu.org; Thu, 27 Mar 2025 12:00:19 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52904) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1txpeQ-0006u9-Js for submit@debbugs.gnu.org; Thu, 27 Mar 2025 12:00:16 -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 1txpeI-0000BW-Br for guix-patches@gnu.org; Thu, 27 Mar 2025 12:00:06 -0400 Received: from latitanza.investici.org ([2001:888:2000:56::19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1txpeE-0000UF-GU for guix-patches@gnu.org; Thu, 27 Mar 2025 12:00:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1743091190; bh=meZAIPFmoDkIyAuFYCr79X5yPk4V3+OfznISzUz9xCQ=; h=From:To:Cc:Subject:Date:From; b=EwneUqF+XngkXGCaY2Wf7jq+o3ZqOPDLnnXanJDoZbJE5mWKa1Uz0nKCmmu4NSI1f A3i9gwO7CJby3Swmq9TiujuW55Dj8n964/g9Z/ZcZ0t843QoMIBdHkY/KnKAa0/9kc n6xLHLpPXL4SiVi8vokgiruGLJxeAYB7sq/hDQbw= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4ZNpJQ3zFgzGp56; Thu, 27 Mar 2025 15:59:50 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZNpJQ2qDbzGp4P; Thu, 27 Mar 2025 15:59:50 +0000 (UTC) Date: Thu, 27 Mar 2025 16:59:20 +0100 Message-ID: <4b8466278b262926f8bf289bd4dc0df830bfe536.1743091160.git.csantosb@inventati.org> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=csantosb@inventati.org; helo=latitanza.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-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: , Reply-to: Cayetano Santos X-ACL-Warn: , Cayetano Santos via Guix-patches X-Patchwork-Original-From: Cayetano Santos via Guix-patches via From: Cayetano Santos 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-crc): New variable. Change-Id: I6d9c4320c1e4b01fe4c87013b7ff6761d993bad4 --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) base-commit: eb30f5ecbea896e9cf93722bf97681d208f1a7be diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8c7a60f3e7..81f4b6cead 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16725,6 +16725,30 @@ (define-public python-cram output.") (license license:gpl2+))) +(define-public python-crc + (package + (name "python-crc") + (version "7.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Nicoretti/crc/") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1b9164z6v3ng5s8564a0gjdzqws6zf5aqvk6mnzw7ysk6d5rbb9r")))) + (build-system pyproject-build-system) + (native-inputs (list python-setuptools python-wheel + ;; tests + python-poetry-core python-pytest)) + (home-page "https://nicoretti.github.io/crc/") + (synopsis "Pure Python CRC library") + (description + "This library computes and verifies CRC checksums, using predefined and +custom CRC configurations.") + (license license:bsd-2))) + (define-public python-crccheck (package (name "python-crccheck")