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
|
@ -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 New Issue