me
/
guix
Archived
1
0
Fork 0

gnu: python-verboselogs: Fix build.

* gnu/packages/python-xyz.scm (python-verboselogs)[arguments]: Do not run
pylint plugin test that depend of an old version of astroid and also remove
...,
[native-inputs]: ... python-astroid and python-pylint from here.
master
Mathieu Othacehe 2019-10-19 22:46:44 +02:00
parent 6862c03808
commit 1760c97063
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 10 additions and 2 deletions

View File

@ -910,10 +910,18 @@ some helpful Python 2 compatibility convenience methods.")
(base32 (base32
"09z4d1jiasn7k1hs5af2ckmnrd0i1d1m04bhfjhv7z6svzfdwgg3")))) "09z4d1jiasn7k1hs5af2ckmnrd0i1d1m04bhfjhv7z6svzfdwgg3"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
;; Do not run pylint plugin test, as astroid is an old
;; unsupported version.
(invoke "pytest" "-v" "-k" "not test_pylint_plugin"
"verboselogs/tests.py"))))))
(native-inputs (native-inputs
`(("python-mock" ,python-mock) `(("python-mock" ,python-mock)
("python-astroid" ,python-astroid) ("python-pytest" ,python-pytest)))
("python-pylint" ,python-pylint)))
(home-page "https://verboselogs.readthedocs.io") (home-page "https://verboselogs.readthedocs.io")
(synopsis "Verbose logging level for Python's logging module") (synopsis "Verbose logging level for Python's logging module")
(description (description