gnu: python-pytelegrambotapi: Use new style.
* gnu/packages/python-xyz.scm (python-pytelegrambotapi) [arguments]: Use new style. Change-Id: Id31d34d9c09330f7a5aa723ca1a1352b6736d875
parent
fb11149fea
commit
74ed0a9f15
|
@ -2083,14 +2083,14 @@ task of adding retry behavior to just about anything.")
|
||||||
(base32 "0r7g5zs0fk3g2dxvbpl0pi730x7r2kalrhn30fs0pvc15a59fmxz"))))
|
(base32 "0r7g5zs0fk3g2dxvbpl0pi730x7r2kalrhn30fs0pvc15a59fmxz"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(replace 'check
|
#~(modify-phases %standard-phases
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(replace 'check
|
||||||
(when tests?
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(with-directory-excursion "tests"
|
(when tests?
|
||||||
(invoke "py.test")))
|
(with-directory-excursion "tests"
|
||||||
#t)))))
|
(invoke "py.test"))))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-requests))
|
(list python-requests))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Reference in New Issue