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,6 +8737,13 @@ is made as zipfile like as possible.")
|
||||||
(substitute* "magic.py"
|
(substitute* "magic.py"
|
||||||
(("ctypes.util.find_library\\('magic'\\)")
|
(("ctypes.util.find_library\\('magic'\\)")
|
||||||
(string-append "'" file "/lib/libmagic.so'")))
|
(string-append "'" file "/lib/libmagic.so'")))
|
||||||
|
#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))))))
|
#t))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-setuptools" ,python-setuptools)))
|
`(("python-setuptools" ,python-setuptools)))
|
||||||
|
|
Loading…
Reference in New Issue