dfsg-contrib: Update linode package.

This commit is contained in:
Efraim Flashner 2021-12-25 21:04:21 +02:00
parent 9a0fc806b6
commit 2a78b01f9d
Signed by: efraim
GPG key ID: 41AAE7DCCA3D8351

View file

@ -52,19 +52,19 @@
`(#:tests? #f ; Tests expect a configuration file and network access.
#:phases
(modify-phases %standard-phases
;; Loading the module works, but also launches the CLI.
(delete 'sanity-check)
(add-after 'unpack 'patch-sources
(lambda _
(substitute* "setup.py"
(("\\,\\\"enum34\\\"") ""))
#t))
(("\\,\\\"enum34\\\"") ""))))
(replace 'check
(lambda* (#:key tests? outputs #:allow-other-keys)
(if tests?
(with-directory-excursion "test"
(setenv "PATH" (string-append (assoc-ref outputs "out")
"/bin:" (getenv "PATH")))
(invoke "sh" "test-runner.sh" "--force")))
#t)))))
(invoke "sh" "test-runner.sh" "--force"))))))))
(inputs
`(("python-colorclass" ,python-colorclass)
("python-pyyaml" ,python-pyyaml)