GNU bug report logs - #77316
[PATCH] gnu: Add python-crc.

Previous Next

Package: guix-patches;

Reported by: Cayetano Santos <csantosb <at> inventati.org>

Date: Thu, 27 Mar 2025 16:01:03 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 77316 in the body.
You can then email your comments to 77316 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#77316; Package guix-patches. (Thu, 27 Mar 2025 16:01:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cayetano Santos <csantosb <at> inventati.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 27 Mar 2025 16:01:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Cayetano Santos <csantosb <at> inventati.org>
To: guix-patches <at> gnu.org
Cc: Cayetano Santos <csantosb <at> inventati.org>
Subject: [PATCH] gnu: Add python-crc.
Date: Thu, 27 Mar 2025 16:59:20 +0100
* gnu/packages/python-xyz.scm (python-crc): New variable.

Change-Id: I6d9c4320c1e4b01fe4c87013b7ff6761d993bad4
---
 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 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")

base-commit: eb30f5ecbea896e9cf93722bf97681d208f1a7be
-- 
2.49.0





Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Tue, 01 Apr 2025 11:00:07 GMT) Full text and rfc822 format available.

Notification sent to Cayetano Santos <csantosb <at> inventati.org>:
bug acknowledged by developer. (Tue, 01 Apr 2025 11:00:08 GMT) Full text and rfc822 format available.

Message #10 received at 77316-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 77316-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-crc.
Date: Tue, 01 Apr 2025 11:59:49 +0100
[Message part 1 (text/plain, inline)]
Hi,

Thank you for the patch.

I've sorted it alphabetically starting from the top of the file; added
more details in description, and removed python-setuptools from
native-inputs as it builds just fine without it.

Pushed to master as 295f6417025638dfcd94b5c19bfbff3c5a85e5e4.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 Apr 2025 11:24:16 GMT) Full text and rfc822 format available.

This bug report was last modified 49 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.