@@ 1248,18 1248,20 @@ optimize toolbar for portrait / landscape
(define-public python-reportlab
(package
(name "python-reportlab")
- (version "4.0.8")
+ (version "4.4.7")
(source (origin
(method url-fetch)
(uri (pypi-uri "reportlab" version))
(sha256
(base32
- "0lq8fibbgp7bfasxjf33s4hzqr405y655bkxggxmjxqsga0lb68n"))))
- (build-system python-build-system)
+ "0w5isxc1ds19jhpigfjjyavc6qzkwxskwgwkcikrkrb5z5x2is21"))))
+ (build-system pyproject-build-system)
(arguments
(list
- #:test-target "tests"
- #:configure-flags '(list "--no-download-t1-files")
+ ;; tests: 386 passed
+ #:test-backend #~'custom
+ #:test-flags #~(list "runAll.py")
+ #:configure-flags #~'(("--no-download-t1-files" . ""))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'find-libraries
@@ 1267,7 1269,14 @@ optimize toolbar for portrait / landscape
(let ((dlt1 (assoc-ref inputs "font-curve-files")))
(substitute* "setup.py"
(("http://www.reportlab.com/ftp/pfbfer-20180109.zip")
- (string-append "file://" dlt1)))))))))
+ (string-append "file://" dlt1))))))
+ (replace 'check
+ (lambda args
+ ;; KeyError: 'Vera'
+ (delete-file "tests/test_graphics_charts.py")
+ (with-directory-excursion "tests"
+ (apply (assoc-ref %standard-phases 'check) args)))))))
+ (native-inputs (list python-setuptools))
(inputs
`(("font-curve-files"
,(origin
@@ 1277,7 1286,7 @@ optimize toolbar for portrait / landscape
(base32
"1v0gy4mbx02ys96ssx89420y0njknlrxs2bx64bv4rp8a0al66w5"))))))
(propagated-inputs
- (list python-chardet python-pillow))
+ (list python-charset-normalizer python-pillow))
(home-page "https://www.reportlab.com")
(synopsis "Python library for generating PDFs and graphics")
(description "This is the ReportLab PDF Toolkit. It allows rapid creation