gnu: python-testlib: Remove useless self-defined phase "unpack".
Unzipping is now done by standard-phase "unpack" automatically. * gnu/packages/python.scm (python-testlib, python2-testlib)[phases] No longer replace "unpack".
This commit is contained in:
parent
251ed7f2fe
commit
632735f215
|
@ -5290,18 +5290,7 @@ falling into the Python interpreter.")
|
||||||
(base32 "1mz26cxn4x8bbgv0rn0mvj2z05y31rkc8009nvdlb3lam5b4mj3y"))))
|
(base32 "1mz26cxn4x8bbgv0rn0mvj2z05y31rkc8009nvdlb3lam5b4mj3y"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("unzip" ,unzip)))
|
`(("unzip" ,unzip))) ; for unpacking the source
|
||||||
(arguments
|
|
||||||
`(#:phases
|
|
||||||
(alist-replace
|
|
||||||
'unpack
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
(let ((unzip (string-append (assoc-ref inputs "unzip")
|
|
||||||
"/bin/unzip"))
|
|
||||||
(source (assoc-ref inputs "source")))
|
|
||||||
(and (zero? (system* unzip source))
|
|
||||||
(chdir (string-append "testlib-" ,version)))))
|
|
||||||
%standard-phases)))
|
|
||||||
(synopsis "Python micro test suite harness")
|
(synopsis "Python micro test suite harness")
|
||||||
(description "A micro unittest suite harness for Python.")
|
(description "A micro unittest suite harness for Python.")
|
||||||
(home-page "https://github.com/trentm/testlib")
|
(home-page "https://github.com/trentm/testlib")
|
||||||
|
|
Loading…
Reference in New Issue