mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: acme: Disable egg compression.
* gnu/packages/python.scm (acme)[arguments]: Add 'disable-egg-compression' phase.
This commit is contained in:
parent
0c7320dc89
commit
9bee9d87dc
1 changed files with 12 additions and 1 deletions
|
@ -330,7 +330,18 @@ (define-public acme
|
|||
"1x6fd3cw9pq45k71rgmxi91hmdmnbf1xxvlfwv31fmzs5255dlbw"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:python ,python-2))
|
||||
`(#:python ,python-2
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'install 'disable-egg-compression
|
||||
(lambda _
|
||||
;; Do not compress the egg.
|
||||
;; See <http://bugs.gnu.org/20765>.
|
||||
(let ((port (open-file "setup.cfg" "a")))
|
||||
(display "\n[easy_install]\nzip_ok = 0\n"
|
||||
port)
|
||||
(close-port port)
|
||||
#t))))))
|
||||
;; TODO: Add optional inputs for testing and building documentation.
|
||||
(native-inputs
|
||||
`(("python2-mock" ,python2-mock)
|
||||
|
|
Loading…
Reference in a new issue