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.
This commit is contained in:
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

View file

@ -910,10 +910,18 @@ (define-public python-verboselogs
(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