From patchwork Wed Dec 20 03:54:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 57889 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 584AA27BBEA; Wed, 20 Dec 2023 04:06:35 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 366A027BBE2 for ; Wed, 20 Dec 2023 04:06:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFnqW-0002Ad-Fb; Tue, 19 Dec 2023 23:06:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rFnqK-000297-7Z for guix-patches@gnu.org; Tue, 19 Dec 2023 23:06:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rFnqJ-00067w-Cd for guix-patches@gnu.org; Tue, 19 Dec 2023 23:05:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFnqM-0004gM-Ah; Tue, 19 Dec 2023 23:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67919] [PATCH 23/55] gnu: Add rust-rstest-0.18. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 20 Dec 2023 04:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67919 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67919@debbugs.gnu.org Cc: Jaeme Sifat , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 67919-submit@debbugs.gnu.org id=B67919.170304512617932 (code B ref 67919); Wed, 20 Dec 2023 04:06:02 +0000 Received: (at 67919) by debbugs.gnu.org; 20 Dec 2023 04:05:26 +0000 Received: from localhost ([127.0.0.1]:38238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnpl-0004fA-PN for submit@debbugs.gnu.org; Tue, 19 Dec 2023 23:05:26 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:47580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnpj-0004eq-IY for 67919@debbugs.gnu.org; Tue, 19 Dec 2023 23:05:24 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rFnpa-00FQ0l-TX for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:05:14 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-ID:Date:Subject:Cc:To:From; bh=cVBcJDre24V4bQGQrKr9Zjs/kbhYlGtF5fPpWrUEsRM=; b=mzFvmcsBaiDBLrwnTDy3zlxy3H JfpY2S+mT9IDAenU2I1B1nsvcv1B3MaxbkqgGKYcnhimdHp8Oc50FE+E61/3F+GGF/UKisGuX7i5b UO/pDwIKyueqUCROIiDmq9cTA537ys+A2+0n8uYGkbAZcXCOeCuNgwMLrRf+TM9APhFBmA9O6iUoK IbncIwlj2aoXwVRS6YitXlMUFDfYnH4knXW1127/IQbOIau855AtOqPyOF95I03OzB3ydP9Xvs+Bz CESy02WLkTAJl4xKjgmaQrEZkCGfF9/MJXOciY7RYa6gFPPMtU1/tVIsfis4N78UBEVDFb8lDtK2q ELm8j7KQ==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rFnpa-00041C-JP for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:05:14 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rFnpI-0066Gp-4u; Wed, 20 Dec 2023 05:04:56 +0100 Date: Tue, 19 Dec 2023 22:54:45 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches X-Patchwork-Original-From: Jaeme Sifat via Guix-patches via From: Jaeme Sifat Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Reduce dependency graph for other crates as well by skipping the build step. * gnu/packages/crates-io.scm (rust-rstest-0.18): New variable. * gnu/packages/crates-io.scm (rust-rstest-0.16): Skip build. * gnu/packages/crates-io.scm (rust-rstest-0.9): Skip build. * gnu/packages/crates-io.scm (rust-rstest-0.8): Skip build. * gnu/packages/crates-io.scm (rust-rstest-0.7): Skip build. Change-Id: I967af7e96a677cfe622c48fddb5d93f5daaf16c4 --- gnu/packages/crates-io.scm | 90 ++++++++++++++------------------------ 1 file changed, 34 insertions(+), 56 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4c2cde2b02..41267516f9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -63712,36 +63712,24 @@ (define-public rust-rstar-0.8 ("rust-rand-hc" ,rust-rand-hc-0.2) ("rust-serde-json" ,rust-serde-json-1)))))) -(define-public rust-rstest-0.16 +(define-public rust-rstest-0.18 (package (name "rust-rstest") - (version "0.16.0") + (version "0.18.2") (source (origin (method url-fetch) (uri (crate-uri "rstest" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1pqfpj727hkn4rr7nspnaab0h74gl9yxqlb53vn9h8a7dhbjszxh")))) + (base32 "1681ncnlzhc8894idm3pqf40nndn4k4kcp0kpv29n68a7hpspvlp")))) (build-system cargo-build-system) (arguments - `(#:tests? #f - #:cargo-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-futures-timer" ,rust-futures-timer-3) - ("rust-rstest-macros" ,rust-rstest-macros-0.16) - ("rust-rustc-version" ,rust-rustc-version-0.4)) - #:cargo-development-inputs - (("rust-actix-rt" ,rust-actix-rt-2) - ("rust-async-std" ,rust-async-std-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-pretty-assertions" ,rust-pretty-assertions-1) - ("rust-rstest" ,rust-rstest-0.13) - ("rust-rstest-reuse" ,rust-rstest-reuse-0.4) - ("rust-rstest-test" ,rust-rstest-test-0.9) - ("rust-temp-testdir" ,rust-temp-testdir-0.2) - ("rust-tokio" ,rust-tokio-1) - ("rust-unindent" ,rust-unindent-0.1)))) + `(#:skip-build? #t + #:cargo-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-rstest-macros" ,rust-rstest-macros-0.18) + ("rust-rustc-version" ,rust-rustc-version-0.4)))) (home-page "https://github.com/la10736/rstest") (synopsis "Rust fixture based test framework") (description @@ -63749,6 +63737,26 @@ (define-public rust-rstest-0.16 and table-based tests.") (license (list license:expat license:asl2.0)))) +(define-public rust-rstest-0.16 + (package + (inherit rust-rstest-0.18) + (name "rust-rstest") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pqfpj727hkn4rr7nspnaab0h74gl9yxqlb53vn9h8a7dhbjszxh")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-rstest-macros" ,rust-rstest-macros-0.16) + ("rust-rustc-version" ,rust-rustc-version-0.4)))))) + (define-public rust-rstest-0.15 (package (inherit rust-rstest-0.16) @@ -63865,23 +63873,13 @@ (define-public rust-rstest-0.9 (sha256 (base32 "07b4j1wkrv7l5c4wyqylr7f1wsif5qwmixg5nbycyq648njqcz67")))) (arguments - `(#:tests? #f + `(#:skip-build? #t #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-rustc-version" ,rust-rustc-version-0.3) - ("rust-syn" ,rust-syn-1)) - #:cargo-development-inputs - (("rust-actix-rt" ,rust-actix-rt-2) - ("rust-async-std" ,rust-async-std-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.7) - ("rust-rstest" ,rust-rstest-0.8) - ("rust-rstest-reuse" ,rust-rstest-reuse-0.1) - ("rust-rstest-test" ,rust-rstest-test-0.2) - ("rust-temp-testdir" ,rust-temp-testdir-0.2) - ("rust-unindent" ,rust-unindent-0.1)))))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-rstest-0.8 (package @@ -63896,23 +63894,13 @@ (define-public rust-rstest-0.8 (sha256 (base32 "0zqb6ab637w04vblv9ys6nw9j54zhz5b74gfh0wfjcjndhrwlqdr")))) (arguments - `(#:tests? #f + `(#:skip-build? #t #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-rustc-version" ,rust-rustc-version-0.3) - ("rust-syn" ,rust-syn-1)) - #:cargo-development-inputs - (("rust-actix-rt" ,rust-actix-rt-2) - ("rust-async-std" ,rust-async-std-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.7) - ("rust-rstest" ,rust-rstest-0.7) - ("rust-rstest-reuse" ,rust-rstest-reuse-0.1) - ("rust-rstest-test" ,rust-rstest-test-0.2) - ("rust-temp-testdir" ,rust-temp-testdir-0.2) - ("rust-unindent" ,rust-unindent-0.1)))))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-rstest-0.7 (package @@ -63927,23 +63915,13 @@ (define-public rust-rstest-0.7 (sha256 (base32 "1iiw4gv79ghfv8znh3d5r2px1cbl4x8zjbi9x1q8ahzxghgbqmjh")))) (arguments - `(#:tests? #f + `(#:skip-build? #t #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-rustc-version" ,rust-rustc-version-0.3) - ("rust-syn" ,rust-syn-1)) - #:cargo-development-inputs - (("rust-actix-rt" ,rust-actix-rt-2) - ("rust-async-std" ,rust-async-std-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.7) - ("rust-rstest" ,rust-rstest-0.6) - ("rust-rstest-reuse" ,rust-rstest-reuse-0.1) - ("rust-rstest-test" ,rust-rstest-test-0.2) - ("rust-temp-testdir" ,rust-temp-testdir-0.2) - ("rust-unindent" ,rust-unindent-0.1)))))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-rstest-0.6 (package