mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-09 12:49:45 -05:00
gnu: python-magic: Update to 0.4.24.
* gnu/packages/python-xyz.scm (python-magic): Update to 0.4.24.
This commit is contained in:
parent
b3ac826e18
commit
1d9cf387b3
1 changed files with 3 additions and 3 deletions
|
@ -14498,7 +14498,7 @@ (define-public python-rich
|
||||||
(define-public python-magic
|
(define-public python-magic
|
||||||
(package
|
(package
|
||||||
(name "python-magic")
|
(name "python-magic")
|
||||||
(version "0.4.22")
|
(version "0.4.24")
|
||||||
(home-page "https://github.com/ahupp/python-magic")
|
(home-page "https://github.com/ahupp/python-magic")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
|
@ -14507,7 +14507,7 @@ (define-public python-magic
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0zbdjr5shijs0jayz7gycpx0kn6v2bh83dpanyajk2vmy47jvbd6"))))
|
"17jalhjbfd600lzfz296m0nvgp6c7vx1mgz82jbzn8hgdzknf4w0"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (modify-phases %standard-phases
|
'(#:phases (modify-phases %standard-phases
|
||||||
|
@ -14521,7 +14521,7 @@ (define-public python-magic
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((file (assoc-ref inputs "file")))
|
(let ((file (assoc-ref inputs "file")))
|
||||||
(substitute* "magic/loader.py"
|
(substitute* "magic/loader.py"
|
||||||
(("ctypes\\.util\\.find_library\\('magic'\\)")
|
(("find_library\\('magic'\\)")
|
||||||
(string-append "'" file "/lib/libmagic.so'"))))))
|
(string-append "'" file "/lib/libmagic.so'"))))))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
|
Loading…
Reference in a new issue