GNU bug report logs -
#54741
[PATCH] gnu: rust-pyo3-0.15: Fix inputs.
Previous Next
Reported by: Brian Kubisiak <brian <at> kubisiak.com>
Date: Tue, 5 Apr 2022 22:31:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 02 May 2022 22:18:15 +0200
with message-id <877d73sn7c.fsf <at> gnu.org>
and subject line Re: bug#54741: [PATCH] gnu: rust-pyo3-0.15: Fix inputs.
has caused the debbugs.gnu.org bug report #54741,
regarding [PATCH] gnu: rust-pyo3-0.15: Fix inputs.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
54741: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54741
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* gnu/packages/crates-io.scm(rust-pyo3-0.15)[arguments]<#:phases>: Substitute
rust-criterion version 0.3.4 to 0.3.5.
---
gnu/packages/crates-io.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bebc1fce8d..a11c58f9e0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45746,7 +45746,14 @@ (define-public rust-pyo3-0.15
("rust-serde-json" ,rust-serde-json-1)
("rust-trybuild" ,rust-trybuild-1))
;; FIXME: fails to initialize Python interpreter.
- #:tests? #f))
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-cargo-toml
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("0.3.4") ,(package-version rust-criterion-0.3)))
+ #t)))))
(inputs (list python))
(home-page "https://github.com/pyo3/pyo3")
(synopsis "Rust bindings for the Python interpreter")
--
2.34.0
[Message part 3 (message/rfc822, inline)]
Hi,
Brian Kubisiak <brian <at> kubisiak.com> skribis:
> * gnu/packages/crates-io.scm(rust-pyo3-0.15)[arguments]<#:phases>: Substitute
> rust-criterion version 0.3.4 to 0.3.5.
Oops I independently pushed something to the same effect in
09fcd191e14824dc9569611d6b2d4e423ef5b106.
Thanks,
Ludo’.
This bug report was last modified 3 years and 19 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.