guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: python-magic: Update to 0.4.24.


From: guix-commits
Subject: 01/03: gnu: python-magic: Update to 0.4.24.
Date: Sun, 24 Oct 2021 11:09:43 -0400 (EDT)

rekado pushed a commit to branch core-updates-frozen
in repository guix.

commit 1d9cf387b36215de206f331d9a906d30cb37c2a8
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Oct 24 14:52:04 2021 +0000

    gnu: python-magic: Update to 0.4.24.
    
    * gnu/packages/python-xyz.scm (python-magic): Update to 0.4.24.
---
 gnu/packages/python-xyz.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 178ebf4..04a47fe 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14498,7 +14498,7 @@ syntax highlighting, markdown and more to the 
terminal.")
 (define-public python-magic
   (package
     (name "python-magic")
-    (version "0.4.22")
+    (version "0.4.24")
     (home-page "https://github.com/ahupp/python-magic";)
     (source
      (origin
@@ -14507,7 +14507,7 @@ syntax highlighting, markdown and more to the 
terminal.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0zbdjr5shijs0jayz7gycpx0kn6v2bh83dpanyajk2vmy47jvbd6"))))
+         "17jalhjbfd600lzfz296m0nvgp6c7vx1mgz82jbzn8hgdzknf4w0"))))
     (build-system python-build-system)
     (arguments
      '(#:phases (modify-phases %standard-phases
@@ -14521,7 +14521,7 @@ syntax highlighting, markdown and more to the 
terminal.")
                     (lambda* (#:key inputs #:allow-other-keys)
                       (let ((file (assoc-ref inputs "file")))
                         (substitute* "magic/loader.py"
-                          (("ctypes\\.util\\.find_library\\('magic'\\)")
+                          (("find_library\\('magic'\\)")
                            (string-append "'" file "/lib/libmagic.so'"))))))
                   (replace 'check
                     (lambda* (#:key tests? #:allow-other-keys)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]