From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gBZYKnTfcmfOqAAAe85BDQ:P1 (envelope-from ) for ; Mon, 30 Dec 2024 17:59:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id gBZYKnTfcmfOqAAAe85BDQ (envelope-from ) for ; Mon, 30 Dec 2024 18:59:16 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=DKW0LEuJ; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=RQ0TMOsV; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735581556; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4ZjWg6tjgqQMuFcTkF6zKr4I9DiUHFMb5dwZEJnRp9Y=; b=Vou6OLuYfcb+ViG9MOFfCFNARGKnK2WuPIp1l0lhktUjI0NJY+pxDm5XjRl4Rx0rF8e0eP I0Bo4gddgVQuKJD6l9tKALrDk6WMlQm9PHy1/pkx645nPIdZyy53mWNg0x+zSZWeK9x3lh O3iXEpCzbs1y31CQFcgnvZ166jii6O6ArUSNsiUjukg1Ka+eUfrZLNazyS2x17Kun/MvI4 65mgLqDE/wLAm/LHSD/AJ6t5vgKeFAfqa/mkzcQ3ae553/koHLjkB3KEHYEaR73OhLHOjw vE3tse/PhvHDNn7u+z69QjMR++QS0q3qt8CX9VZVTOAWRZRy5nJdNRqj4J+uHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=DKW0LEuJ; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=RQ0TMOsV; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735581556; a=rsa-sha256; cv=none; b=N24tSumkcKv86dBdGZxwfUfgiz2yek2MYrXN6oYLnJi3OeBG/HAp5QnTHid7NQn2ypU6hQ z0bxF6P7D3H6LwKQ9aZwgFQS+O1468GGuKLUD9cDlxB9IAJZpoFkSOeDnb8GEFHlunCCtJ 4Z4n0XrkG1StkCD0Adllvp+Nc8p7xZ/sgZl4ect18+ldhX0bNAJTFHglI7SEP1FNwWUCHK z9nVfdhWWcRepTHs87ALichR62WJvhkZdOV36LC1DDoXu9nod9mIeI8b3zhu3WiS2miEU8 eHwjB9mf6psCZ1CfN5coMesuHk0C8BiIgRiwRAD3dHwLLi7oNVeLX7iMuWhurQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8DCE4628A6 for ; Mon, 30 Dec 2024 18:59:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSK2k-0005cp-DU; Mon, 30 Dec 2024 12:59:06 -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 1tSK2i-0005c9-Gr for guix-patches@gnu.org; Mon, 30 Dec 2024 12:59:04 -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 1tSK2i-0000ai-76 for guix-patches@gnu.org; Mon, 30 Dec 2024 12:59:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=4ZjWg6tjgqQMuFcTkF6zKr4I9DiUHFMb5dwZEJnRp9Y=; b=DKW0LEuJSHQ94f4w4TSdKbUB96OxPAl88/ijMdMMCdoKvVcQM5Tteu6q2LV63B21+oqU+KtUIsUs5aXxHNPV9DX2ndu6aLbBG3Nx9udtT9WKtB1/wgqRlw8hbIoEhPrQuffby6Ew98sEcNfBasFHp6YltrCNfdGwtdgOVOISrpeld0KDzx42StugJ1k9qbTWgI4VRQntsY2CyZ1+HFJ/0JGoPjwO9DHp0GybLXeQnrEsVH3p0pNoU51qg8rp4Fkrph8nx8rU+B82dFnVZbAVfXbGvYlp9JDakfD5CNtTKwmB8g0q+QYkxbrIoGn3pR0NHHCJLS46tNMIIOCIzehOag==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSK2h-0006rw-DK; Mon, 30 Dec 2024 12:59:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75206] [PATCH rust-team 03/10] gnu: rust-syn-2: Use snippet. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 30 Dec 2024 17:59:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75206 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75206@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 75206-submit@debbugs.gnu.org id=B75206.173558153226357 (code B ref 75206); Mon, 30 Dec 2024 17:59:03 +0000 Received: (at 75206) by debbugs.gnu.org; 30 Dec 2024 17:58:52 +0000 Received: from localhost ([127.0.0.1]:59844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSK2V-0006qs-8u for submit@debbugs.gnu.org; Mon, 30 Dec 2024 12:58:51 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:52271 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSK2S-0006qL-A8 for 75206@debbugs.gnu.org; Mon, 30 Dec 2024 12:58:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1735581515; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4ZjWg6tjgqQMuFcTkF6zKr4I9DiUHFMb5dwZEJnRp9Y=; b=RQ0TMOsV+s+hK4IdSL2Gx1EaEyU6pdpRdlZs2DN0eSqAGRT8/UJt9Tqn8y7CWyYrPA4GKu 8k2gYd/d7eAvxRlEwkMjQxMs4R/MhW5dyLhMDUhoel2HS4PtdMgKbxjWF2UO2xbZq/8Udj Z9SbJ8MsAsSfbtmlWyDO2SIsRBnZQBi+dW6bHZv8VkEelc3oTed5Cxnjx9DIAAryYW1gpf 5i37Xkq8yyE6bWXPx7hWJDyCUeqKYD39cd9XaObBow8xHrw2sCU3LOHO48C+3vOujFpxxF t1kgk4Y25FoIupGixv3WdpY37ft/ujth7PZzjKaD5kp9C+B7VODzrYGQn5sfIw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 4df9085d (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <75206@debbugs.gnu.org>; Mon, 30 Dec 2024 17:58:35 +0000 (UTC) Date: Mon, 30 Dec 2024 18:57:38 +0100 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: <87c8753e9ba06cb3bbab6e603028c63c7be834ed.1735580850.git.herman@rimm.ee> References: <87c8753e9ba06cb3bbab6e603028c63c7be834ed.1735580850.git.herman@rimm.ee> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.00 X-Spam-Score: -3.00 X-Migadu-Queue-Id: 8DCE4628A6 X-TUID: ZZARP9lJ0UP8 * gnu/packages/crates-io.scm (rust-syn-2): Add snippet. [arguments]: Remove patch-test-suite phase. Change-Id: I1f53f9259fc9b11ac420aed3238671b3c20b236d --- gnu/packages/crates-io.scm | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index efc782d2b79..e66d2fa7626 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -80650,26 +80650,25 @@ (define-public rust-syn-2 (package (name "rust-syn") (version "2.0.90") - (source (origin - (method url-fetch) - (uri (crate-uri "syn" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cfg5dsr1x0hl6b9hz08jp1197mx0rq3xydqmqaws36xlms3p7ci")))) + (source + (origin + (method url-fetch) + (uri (crate-uri "syn" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cfg5dsr1x0hl6b9hz08jp1197mx0rq3xydqmqaws36xlms3p7ci")) + (modules '((guix build utils))) + ;; The syn-test-suite crate is empty. + (snippet + #~(substitute* "Cargo.toml" + (("^\\[dev-dependencies.syn-test-suite\\]") "") + (("^version = \"0\"") "") + (("^test = \\[\"syn-test-suite/all-features\"\\]") ""))))) (build-system cargo-build-system) (arguments ;; Tests fail to compile ;; error[E0463]: can't find crate for `rustc_ast` (among other errors). `(#:tests? #f - #:phases - (modify-phases %standard-phases - ;; The syn-test-suite crate is empty. - (add-after 'unpack 'patch-test-suite - (lambda _ - (substitute* "Cargo.toml" - (("^\\[dev-dependencies.syn-test-suite\\]") "") - (("^version = \"0\"") "") - (("^test = \\[\"syn-test-suite/all-features\"\\]") ""))))) #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) -- 2.45.2