mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: python-magic: Disable egg compression.
Reported by Troy Sankey <sankeytms@gmail.com>. * gnu/packages/python.scm (python-magic, python2-magic)[arguments]: Add 'disable-egg-compression' phase.
This commit is contained in:
parent
557d332898
commit
7743268658
1 changed files with 8 additions and 1 deletions
|
@ -8737,7 +8737,14 @@ is made as zipfile like as possible.")
|
|||
(substitute* "magic.py"
|
||||
(("ctypes.util.find_library\\('magic'\\)")
|
||||
(string-append "'" file "/lib/libmagic.so'")))
|
||||
#t))))))
|
||||
#t)))
|
||||
(add-before 'install 'disable-egg-compression
|
||||
(lambda _
|
||||
(let ((port (open-file "setup.cfg" "a")))
|
||||
(display "\n[easy_install]\nzip_ok = 0\n"
|
||||
port)
|
||||
(close-port port)
|
||||
#t))))))
|
||||
(native-inputs
|
||||
`(("python-setuptools" ,python-setuptools)))
|
||||
(inputs
|
||||
|
|
Loading…
Reference in a new issue