gnu: python-setproctitle: Delete obsolete phase.

* gnu/packages/python-xyz.scm (python-setproctitle)
[phases]{patch-Makefile}: Delete phase.
This commit is contained in:
Maxim Cournoyer 2022-05-13 15:06:14 -04:00
parent 4a0e996ada
commit 9c19bdbf5c
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

View File

@ -17608,17 +17608,6 @@ JSON) codec.")
(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")))