[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
118/276: gnu: python-cryptography-rust: Use cargo-test-flags.
From: |
guix-commits |
Subject: |
118/276: gnu: python-cryptography-rust: Use cargo-test-flags. |
Date: |
Wed, 18 Oct 2023 04:49:40 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 8f60a52bb091b07e8836c33ee0dbad1f13db046b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 2 10:42:30 2023 +0300
gnu: python-cryptography-rust: Use cargo-test-flags.
* gnu/packages/python-crypto.scm (python-cryptography-rust)
[arguments]: Replace custom 'check phase with cargo-test-flags.
---
gnu/packages/python-crypto.scm | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index e28d1de837..466cfa35db 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -569,6 +569,8 @@ ciphers, message digests and key derivation functions.")
(srfi srfi-1)
(ice-9 match))
#:install-source? #f
+ ;; As seen in noxfile.py
+ #:cargo-test-flags ''("--release" "--no-default-features")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'chdir
@@ -586,11 +588,6 @@ ciphers, message digests and key derivation functions.")
(apply (assoc-ref %standard-phases 'configure)
(append args
(list #:inputs (alist-delete "source" inputs))))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; As seen in tox.ini
- (invoke "cargo" "test" "--no-default-features"))))
(add-after 'install 'install-shared-library
(lambda _
(install-file "target/release/libcryptography_rust.so"
- 160/276: gnu: Add rust-as-derive-utils-0.8., (continued)
- 160/276: gnu: Add rust-as-derive-utils-0.8., guix-commits, 2023/10/18
- 58/276: gnu: Add rust-servo-arc-0.2., guix-commits, 2023/10/18
- 61/276: gnu: Add rust-to-shmem-derive-0.0.0., guix-commits, 2023/10/18
- 84/276: gnu: Add rust-miniz-oxide-0.7., guix-commits, 2023/10/18
- 95/276: gnu: rust-miniz-oxide-0.4: Update to 0.4.4., guix-commits, 2023/10/18
- 99/276: gnu: rust-libc-0.2: Update to 0.2.148., guix-commits, 2023/10/18
- 104/276: gnu: rust-nix-0.24: Update to 0.24.3., guix-commits, 2023/10/18
- 96/276: gnu: rust-miniz-oxide-0.3: Update to 0.3.7., guix-commits, 2023/10/18
- 106/276: gnu: Add rust-rustix-0.38., guix-commits, 2023/10/18
- 111/276: gnu: Add rust-tokio-macros-2., guix-commits, 2023/10/18
- 118/276: gnu: python-cryptography-rust: Use cargo-test-flags.,
guix-commits <=
- 70/276: gnu: rust-wasm-bindgen-shared-0.2: Update to 0.2.87., guix-commits, 2023/10/18
- 62/276: gnu: Add rust-to-shmem-0.0.0., guix-commits, 2023/10/18
- 68/276: gnu: rust-wasm-bindgen-macro-0.2: Update to 0.2.87., guix-commits, 2023/10/18
- 63/276: gnu: rust-unicode-ident-1: Update to 1.0.12., guix-commits, 2023/10/18
- 77/276: gnu: rust-bitflags-2: Update to 2.4.0., guix-commits, 2023/10/18
- 72/276: gnu: rust-wasm-bindgen-test-macro-0.3: Update to 0.3.37., guix-commits, 2023/10/18
- 75/276: gnu: librsvg: Update to 2.56.4., guix-commits, 2023/10/18
- 79/276: gnu: Add rust-fastrand-2., guix-commits, 2023/10/18
- 81/276: gnu: rust-url-2: Update to 2.4.1., guix-commits, 2023/10/18
- 89/276: gnu: rust-cxxbridge-flags-1: Update to 1.0.107., guix-commits, 2023/10/18