mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 09:02:59 -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
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-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
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "PYTHON" (or (which "python3") (which "python")))
|
(setenv "PYTHON" (or (which "python3") (which "python")))
|
||||||
|
|
Loading…
Reference in a new issue