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