GNU bug report logs - #74497
[PATCH 00/46] Astro update 2024/11.

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Sat, 23 Nov 2024 19:49:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 74497 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 20/46] gnu: Add python-puremagic.
Date: Sat, 23 Nov 2024 19:51:07 +0000
* gnu/packages/python-xyz.scm (python-puremagic): New variable.

Change-Id: I326d15cdf6eb088f456954c28fd735bc1890840a
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3872b511a1..4ec6407571 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12827,6 +12827,29 @@ (define-public python-pure-eval
 abstract syntax tree (AST) nodes without side effects.")
     (license license:expat)))
 
+(define-public python-puremagic
+  (package
+    (name "python-puremagic")
+    (version "1.28")
+    (source
+     (origin
+       (method git-fetch)               ;no tests in PyPI archive
+       (uri (git-reference
+             (url "https://github.com/cdgriffith/puremagic")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0sffrjjqh37ijwnggyvs2rfm4iwaz2m395wqg0x727wv8i0x3f3b"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-pytest))
+    (home-page "https://github.com/cdgriffith/puremagic")
+    (synopsis "Pure Python implementation of magic file detection")
+    (description
+     "This package implements a functionality that will identify a file based
+off it's magic numbers.")
+    (license license:expat)))
+
 (define-public python-ast-decompiler
   (package
     (name "python-ast-decompiler")
-- 
2.46.0





This bug report was last modified 223 days ago.

Previous Next


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