[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
118/194: gnu: python-cryptography-rust: Use cargo-test-flags.
From: |
guix-commits |
Subject: |
118/194: gnu: python-cryptography-rust: Use cargo-test-flags. |
Date: |
Tue, 3 Oct 2023 14:57:42 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 70b1c2d4f28651a4e210d9d231df66d1e410a129
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 23f7f04ca4..8e6412874f 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"
- 182/194: gnu: Add rust-page-size-0.6., (continued)
- 182/194: gnu: Add rust-page-size-0.6., guix-commits, 2023/10/03
- 181/194: gnu: Add rust-memmap2-0.7., guix-commits, 2023/10/03
- 178/194: gnu: rust-arrayvec-0.7: Update to 0.7.4., guix-commits, 2023/10/03
- 188/194: gnu: Add rust-count-instructions-0.1., guix-commits, 2023/10/03
- 174/194: gnu: du-dust: Update to 0.8.6., guix-commits, 2023/10/03
- 168/194: gnu: rav1e: Update to 0.6.6., guix-commits, 2023/10/03
- 165/194: gnu: rust-predicates-core-1: Update to 1.0.6., guix-commits, 2023/10/03
- 184/194: gnu: rust-spin-0.9: Update to 0.9.8., guix-commits, 2023/10/03
- 185/194: gnu: rust-tempfile-3: Update to 3.8.0., guix-commits, 2023/10/03
- 194/194: gnu: rust-simdutf8-0.1: Update to 0.1.4., guix-commits, 2023/10/03
- 118/194: gnu: python-cryptography-rust: Use cargo-test-flags.,
guix-commits <=
- 116/194: gnu: python-cryptography-vectors: Update to 41.0.4., guix-commits, 2023/10/03
- 125/194: gnu: Add rust-core-extensions-1., guix-commits, 2023/10/03
- 126/194: gnu: rust-is-macro-0.1: Update to 0.1.9., guix-commits, 2023/10/03
- 146/194: gnu: Add rust-serde-regex-1., guix-commits, 2023/10/03
- 142/194: gnu: Add rust-vlq-0.5., guix-commits, 2023/10/03
- 140/194: gnu: rust-swc: Update to 1.2.124., guix-commits, 2023/10/03
- 134/194: gnu: rust-unicode-segmentation-1: Update to 1.10.1., guix-commits, 2023/10/03
- 149/194: gnu: Add rust-ntest-test-cases-0.7., guix-commits, 2023/10/03
- 121/194: gnu: rust-ahash-0.7: Update to 0.7.6., guix-commits, 2023/10/03
- 115/194: gnu: rust-openssl-sys-0.9: Update to 0.9.93., guix-commits, 2023/10/03