gnu: weasyprint: Update to 51.

* gnu/packages/pdf.scm (weasyprint): Update to 51.
This commit is contained in:
Tobias Geerinckx-Rice 2020-03-04 10:51:28 +01:00
parent 8b5185c6a6
commit c0ba02379e
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1282,13 +1282,13 @@ (define-public stapler
(define-public weasyprint (define-public weasyprint
(package (package
(name "weasyprint") (name "weasyprint")
(version "50") (version "51")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "WeasyPrint" version)) (uri (pypi-uri "WeasyPrint" version))
(sha256 (sha256
(base32 "0invs96zvmcr6wh5klj52jrcnr9qg150v9wpmbhcsf3vv1d1hbcw")) (base32 "0skdzwq7cd715dnnds6abx0k0xmmnmsqp0vb1r1w20sg7abp3sdk"))
(patches (search-patches "weasyprint-library-paths.patch")))) (patches (search-patches "weasyprint-library-paths.patch"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
@ -1316,11 +1316,11 @@ (define-public weasyprint
(lambda _ (lambda _
(substitute* "setup.cfg" (substitute* "setup.cfg"
;; flake8 and isort syntax checks fail, which is not our ;; flake8 and isort syntax checks fail, which is not our
;; business ;; business.
(("addopts = --flake8 --isort") "")))) (("addopts = --flake8 --isort") ""))))
(replace 'check (replace 'check
(lambda _ (lambda _
;; run pytest, excluding one failing test ;; Run pytest, excluding one failing test.
(invoke "pytest" "-k" "not test_flex_column_wrap_reverse")))))) (invoke "pytest" "-k" "not test_flex_column_wrap_reverse"))))))
(inputs (inputs
`(("fontconfig" ,fontconfig) `(("fontconfig" ,fontconfig)