mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-29 07:42:23 -05:00
gnu: python-setproctitle: Delete obsolete phase.
* gnu/packages/python-xyz.scm (python-setproctitle) [phases]{patch-Makefile}: Delete phase.
This commit is contained in:
parent
4a0e996ada
commit
9c19bdbf5c
1 changed files with 0 additions and 11 deletions
|
@ -17608,17 +17608,6 @@ (define-public python-setproctitle
|
|||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'check 'patch-Makefile
|
||||
;; Stricly this is only required for the python2 variant.
|
||||
;; But adding a phase in an inherited package seems to be
|
||||
;; cumbersum. So we patch even for python3.
|
||||
(lambda _
|
||||
(let ((nose (assoc-ref %build-inputs "python2-nose")))
|
||||
(when nose
|
||||
(substitute* "Makefile"
|
||||
(("\\$\\(PYTHON\\) [^ ]which nosetests[^ ] ")
|
||||
(string-append nose "/bin/nosetests "))))
|
||||
#t)))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(setenv "PYTHON" (or (which "python3") (which "python")))
|
||||
|
|
Loading…
Reference in a new issue