[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: gnu: rust-lopdf: Update to 0.26.0.
From: |
guix-commits |
Subject: |
05/08: gnu: rust-lopdf: Update to 0.26.0. |
Date: |
Thu, 11 Feb 2021 07:06:38 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit f63f524053a9a8503bf98532b6b3d91b17c1d7c0
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Feb 7 21:51:58 2021 -0500
gnu: rust-lopdf: Update to 0.26.0.
* gnu/packages/crates-io.scm (rust-lopdf-0.25): Rename to ...
(rust-lopdf-0.26): ... this.
[source]: Fix indentation.
[cargo-inputs]: Update rust-image to version 0.23. Update
rust-linked-hash-map to
version 0.5. Update rust-nom to version 6. Update rust-time to version
0.2.
[phases]{disable-problematic-tests}: New phase.
---
gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++++--------------
1 file changed, 25 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dbf8c9d..5d31895 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12,6 +12,7 @@
;;; Copyright © 2020 André Batista <nandre@riseup.net>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
+;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19122,19 +19123,19 @@ explosion.")
("rust-serde-derive" ,rust-serde-derive-1)
("rust-serde-json" ,rust-serde-json-1))))))
-(define-public rust-lopdf-0.25
+(define-public rust-lopdf-0.26
(package
(name "rust-lopdf")
- (version "0.25.0")
+ (version "0.26.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "lopdf" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1yb4yj1a8a88w78hz9msg65xbkyx5n4d9gm1xb2c67zaj1xvyw1i"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lopdf" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1wqnmibs8qzi6pr3ig4h3sg6bfkkgyv4ngdng81x069725r056ml"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -19142,15 +19143,25 @@ explosion.")
("rust-dtoa" ,rust-dtoa-0.4)
("rust-encoding" ,rust-encoding-0.2)
("rust-flate2" ,rust-flate2-1)
- ("rust-image" ,rust-image-0.20)
+ ("rust-image" ,rust-image-0.23)
("rust-itoa" ,rust-itoa-0.4)
- ("rust-linked-hash-map" ,rust-linked-hash-map-0.4)
+ ("rust-linked-hash-map" ,rust-linked-hash-map-0.5)
("rust-log" ,rust-log-0.4)
("rust-lzw" ,rust-lzw-0.10)
- ("rust-nom" ,rust-nom-5)
+ ("rust-nom" ,rust-nom-6)
("rust-pom" ,rust-pom-3)
("rust-rayon" ,rust-rayon-1)
- ("rust-time" ,rust-time-0.1))))
+ ("rust-time" ,rust-time-0.2))
+ #:phases (modify-phases %standard-phases
+ (add-before 'check 'disable-problematic-tests
+ (lambda _
+ ;; This tests depends on the test_1_create.pdf file
+ ;; having created by create_document, but the file does
+ ;; not always exist at the time the test run (see:
+ ;; https://github.com/J-F-Liu/lopdf/issues/137).
+ (substitute* "src/parser_aux.rs"
+ (("fn load_and_save" all)
+ (string-append "#[ignore] " all))))))))
(home-page "https://github.com/J-F-Liu/lopdf")
(synopsis "Rust library for PDF document manipulation")
(description
- branch core-updates updated (c0ec128 -> 71cb6df), guix-commits, 2021/02/11
- 01/08: gnu: rust: Only test the current release., guix-commits, 2021/02/11
- 02/08: gnu: sequoia: Use latest rust., guix-commits, 2021/02/11
- 03/08: gnu: w3m: Update to 0.5.3+git20210102., guix-commits, 2021/02/11
- 04/08: gnu: vala: Update to 0.50.3., guix-commits, 2021/02/11
- 05/08: gnu: rust-lopdf: Update to 0.26.0.,
guix-commits <=
- 06/08: gnu: librsvg: Update to 2.50.3., guix-commits, 2021/02/11
- 07/08: gnu: icedove: Upgrade rust dependency., guix-commits, 2021/02/11
- 08/08: gnu: icecat: Upgrade rust dependency., guix-commits, 2021/02/11