[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/59: gnu: python-reportlab: Update to 4.0.8.
From: |
guix-commits |
Subject: |
30/59: gnu: python-reportlab: Update to 4.0.8. |
Date: |
Tue, 16 Jan 2024 07:16:28 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 5a7f7156a2aeae564db561e2e5d613083dae2b4a
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jan 9 13:13:24 2024 +0100
gnu: python-reportlab: Update to 4.0.8.
* gnu/packages/pdf.scm (python-reportlab): Update to 4.0.8.
[arguments]: Update configure flags and 'find-libraries phase.
[inputs]: Remove freetype and libart-lgpl.
[propagated-inputs]: Add python-chardet.
Change-Id: I626ef4c71a0b867ec4e1c74a71e45843349f46ef
---
gnu/packages/pdf.scm | 34 ++++++++++++----------------------
1 file changed, 12 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index e07f0441e2..c18d3a8e26 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2015, 2016 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2014, 2015, 2016, 2018, 2019, 2021 Ricardo Wurmus
<rekado@elephly.net>
+;;; Copyright © 2014, 2015, 2016, 2018, 2019, 2021, 2024 Ricardo Wurmus
<rekado@elephly.net>
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016 Nikita <nikita@n0.is>
@@ -1135,38 +1135,28 @@ optimize toolbar for portrait / landscape
(define-public python-reportlab
(package
(name "python-reportlab")
- (version "3.5.42")
+ (version "4.0.8")
(source (origin
(method url-fetch)
(uri (pypi-uri "reportlab" version))
(sha256
(base32
- "0i17qgm7gzy7pzp240mkpsx9rn8rr67jh5npp5bylv3sd41g48cw"))))
+ "0lq8fibbgp7bfasxjf33s4hzqr405y655bkxggxmjxqsga0lb68n"))))
(build-system python-build-system)
(arguments
- '(;; FIXME: There is one test failure, building the pdf manual from
source,
- ;; but it does not cause the build to fail.
- #:test-target "tests"
- #:configure-flags (list "--use-system-libart")
- #:phases
- (modify-phases %standard-phases
+ (list
+ #:test-target "tests"
+ #:configure-flags '(list "--no-download-t1-files")
+ #:phases
+ #~(modify-phases %standard-phases
(add-after 'unpack 'find-libraries
(lambda* (#:key inputs #:allow-other-keys)
- (let ((libart (assoc-ref inputs "libart-lgpl"))
- (freetype (assoc-ref inputs "freetype"))
- (dlt1 (assoc-ref inputs "font-curve-files")))
+ (let ((dlt1 (assoc-ref inputs "font-curve-files")))
(substitute* "setup.py"
- (("/usr/include/libart-\\*")
- (string-append libart "/include/libart-2.0"))
- (("/usr/include/freetype2")
- (string-append freetype "/include"))
(("http://www.reportlab.com/ftp/pfbfer-20180109.zip")
- (string-append "file://" dlt1)))
- #t))))))
+ (string-append "file://" dlt1)))))))))
(inputs
- `(("freetype" ,freetype)
- ("libart-lgpl" ,libart-lgpl)
- ("font-curve-files"
+ `(("font-curve-files"
,(origin
(method url-fetch)
(uri "http://www.reportlab.com/ftp/pfbfer-20180109.zip")
@@ -1174,7 +1164,7 @@ optimize toolbar for portrait / landscape
(base32
"1v0gy4mbx02ys96ssx89420y0njknlrxs2bx64bv4rp8a0al66w5"))))))
(propagated-inputs
- (list python-pillow))
+ (list python-chardet 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
- 59/59: gnu: gourmet: Add missing input., (continued)
- 59/59: gnu: gourmet: Add missing input., guix-commits, 2024/01/16
- 08/59: gnu: python-tifffile: Update to 2023.12.9., guix-commits, 2024/01/16
- 09/59: gnu: python-lazy-loader: Update to 0.3., guix-commits, 2024/01/16
- 10/59: gnu: python-imageio: Update to 2.33.1., guix-commits, 2024/01/16
- 13/59: gnu: python-matplotx: Disable test_png test., guix-commits, 2024/01/16
- 17/59: gnu: Add python-cppy., guix-commits, 2024/01/16
- 26/59: gnu: python-captum: Update to 0.7.0., guix-commits, 2024/01/16
- 20/59: gnu: python-matplotlib: Update to 3.8.2., guix-commits, 2024/01/16
- 24/59: gnu: python-cleanlab: Disable test_aux_inputs, enable other tests., guix-commits, 2024/01/16
- 21/59: gnu: python-seaborn: Update to 0.13.1., guix-commits, 2024/01/16
- 30/59: gnu: python-reportlab: Update to 4.0.8.,
guix-commits <=
- 34/59: gnu: python-pint: Update to 0.23., guix-commits, 2024/01/16
- 35/59: gnu: python-demuxem: Disable tests., guix-commits, 2024/01/16
- 33/59: gnu: python-cooler: Update to 0.9.1., guix-commits, 2024/01/16
- 36/59: gnu: python-cartopy: Update to 0.22.0., guix-commits, 2024/01/16
- 45/59: gnu: datasette: Update to 1.0a7., guix-commits, 2024/01/16
- 48/59: gnu: python-scikit-bio: Update to 0.5.9., guix-commits, 2024/01/16
- 49/59: gnu: python-adjusttext: Disable tests., guix-commits, 2024/01/16
- 50/59: gnu: python-mysql-connector-python: Defuse time bomb., guix-commits, 2024/01/16
- 51/59: gnu: python-telomerecat: Disable tests., guix-commits, 2024/01/16
- 16/59: gnu: python-umap-learn: Update to 0.5.5., guix-commits, 2024/01/16