From patchwork Mon Oct 7 21:44:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 68812 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 952F027BBE2; Mon, 7 Oct 2024 22:48:24 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 52E0627BBEE for ; Mon, 7 Oct 2024 22:48:23 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxvaU-0004QO-7y; Mon, 07 Oct 2024 17:48:18 -0400 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 1sxvaM-00040v-6T for guix-patches@gnu.org; Mon, 07 Oct 2024 17:48:10 -0400 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 1sxvaL-0004ku-TJ for guix-patches@gnu.org; Mon, 07 Oct 2024 17:48:09 -0400 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=x8GMKgbDWsB1VQcNJ+BVx5Z1np8rHuLyLMzOETfgf0U=; b=bHbeQbjSG8xoCSkkEeXjFAl0//QnMAlAOucKVmoytlo9TpWnDp1GIxaebdbyedJVrYn+FzRiFbzlTdhqZbvloRHNfYtHQCG/lbMs3V0ddYWHbaqH9TpkJxS1dWeLrZhBpvJwx2lxp85ZNZS2xzVp2GgsmLAewSHDRGH4LGdNphBMldXe+pfBrA6hOaPbQN6olSxAR0B97bZSmfufScV9hkbM5W6cxk85jfzv6LBJadmciRsMTSjKHOjygIZF4zhTUFPEclLee6FXRVpUm8bq4Pz6xeOZo4P6cCHhNJBmxAMMT6s/VxK8uCEt3n21scHf1Kc95pRbzNfkLYLeZKK38g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxvaT-0006rL-Id for guix-patches@gnu.org; Mon, 07 Oct 2024 17:48:17 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67902] [PATCH v4 67/98] gnu: Add php-symfony-finder. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Oct 2024 21:48:17 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67902 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67902@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 67902-submit@debbugs.gnu.org id=B67902.172833769226278 (code B ref 67902); Mon, 07 Oct 2024 21:48:17 +0000 Received: (at 67902) by debbugs.gnu.org; 7 Oct 2024 21:48:12 +0000 Received: from localhost ([127.0.0.1]:48969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxvaN-0006pZ-TL for submit@debbugs.gnu.org; Mon, 07 Oct 2024 17:48:12 -0400 Received: from 4.mo560.mail-out.ovh.net ([87.98.172.75]:54519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxvaH-0006nI-2u for 67902@debbugs.gnu.org; Mon, 07 Oct 2024 17:48:06 -0400 Received: from director7.ghost.mail-out.ovh.net (unknown [10.109.176.51]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4XMt704m2qz1f0Q for <67902@debbugs.gnu.org>; Mon, 7 Oct 2024 21:47:56 +0000 (UTC) Received: from ghost-submission-55b549bf7b-s9ddx (unknown [10.110.113.124]) by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 766591FE77; Mon, 7 Oct 2024 21:47:56 +0000 (UTC) Received: from ngraves.fr ([37.59.142.95]) by ghost-submission-55b549bf7b-s9ddx with ESMTPSA id jv3QFgxXBGf+sTAAMpt5hg (envelope-from ); Mon, 07 Oct 2024 21:47:56 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-95G001728c2a1d-eccd-466f-bc5e-bbd9f81107c1, A12302D5D8CF0E033BA678025A323BF4FAD59D46) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Mon, 7 Oct 2024 23:44:35 +0200 Message-ID: <20241007214530.4420-67-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241007214530.4420-1-ngraves@ngraves.fr> References: <20241007214530.4420-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6272388384072458978 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeftddgtddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepheekudejgfdtudeihffgiedvjeekffethfeiieevudegffejjefggfekffeiteeinecuffhomhgrihhnpehshihmfhhonhihrdgtohhmpdhgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleehnecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeeijeeltddvseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=x8GMKgbDWsB1VQcNJ+BVx5Z1np8rHuLyLMzOETfgf0U=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1728337676; v=1; b=G/KbIojfBlgAdlIoTjzBbfkXVfCaCIxdVCZaRTENJJwY1vde0Jbm1uCifpUHGnpUkXqgx+FA iNJzAjIiOw7lBFHm6SZGu+dEW5X6rECpJgDinZyAk3m3v09o5BVsUuRxyrHDmRVI+F7nqcjr7t6 DydNEcAdO6kG3SITBt53LvPUpb9g7wa289PKc+RdA6IHXrtuC1+FQrUspsMFdw5jZvPMiwkl6u7 WC/m6T4GNinHo9/K3ogEv09dc5IC6YEgbGB4tjTk6907Vvfe3/O0/C8Ad8M+48PIoV6J/LMWUhs 7+h1pNkrh4BXsuTamA7Pkd62T7RElA+JvS+yX9HL3f8aw== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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 * gnu/packages/php-xyz.scm (php-symfony-finder): New variable. Change-Id: I1a0d3f342bfb3904044096dc5785e3003e30978d --- gnu/packages/php-xyz.scm | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 8e1269b65b..feabf09106 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -1750,3 +1750,44 @@ (define-public php-symfony-filesystem (home-page "https://symfony.com") (license license:expat))) +(define-public php-symfony-finder + (package + (name "php-symfony-finder") + (version "6.3.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/symfony/finder") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "02fjcdlzpk40kqirv61n7hzyfc2b803r186l80s50vaavgj9iv9k")))) + (build-system composer-build-system) + (arguments + (list + #:test-flags ''("--exclude-group" "network,skipTest") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'fix-tests + (lambda _ + ;; Ignore this sole failing test. + (substitute* "Tests/Iterator/SortableIteratorTest.php" + (("(.*)\\* @dataProvider getAcceptData" all blank) + (string-append all "\n" + blank "* @group skipTest"))) + ;; Without process isolation, setUp will be executed everytime, + ;; not just for the first test. + (substitute* (list "Tests/Iterator/RealIteratorTestCase.php" + "Tests/Iterator/VcsIgnoredFilterIteratorTest.php") + (("static function setUpBeforeClass") + "function setUp"))))))) + (native-inputs + (list php-phpunit-phpunit php-symfony-filesystem)) + (synopsis "Find files in PHP") + (description + "This package provides PHP utilities to find files and directories via an +intuitive fluent interface.") + (home-page "https://symfony.com") + (license license:expat))) +