From patchwork Mon Oct 7 00:00:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 68751 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 8874327BBE9; Mon, 7 Oct 2024 01:06:15 +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=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, 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 D95D127BBE2 for ; Mon, 7 Oct 2024 01:06:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxbEf-0007lT-Q7; Sun, 06 Oct 2024 20:04:25 -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 1sxbEI-00077b-LO for guix-patches@gnu.org; Sun, 06 Oct 2024 20:04:05 -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 1sxbEG-0001WX-JL for guix-patches@gnu.org; Sun, 06 Oct 2024 20:04:02 -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=IOqkxN5C2CI3ho7jzHK/DEEQBdKvdFHJ0Y2KiNVmGld7vVbEnFY4geqmUyBbWAYrq3m9IuHd7RtSH14gYyQvH3XTPHkdDpTh9uwjlkx9aVdgEAPhTVD6P6u3mj+jeEpcZt4QzjK0L5RQdOeWFh9FcPKYS84KcQKCII8IQmK9HTYIG4B9trsEtOdvPEI3GkS6HvVfvmk0MlTSI+GP9Tp/Ci2mPxBBvuCU9tPkxeRjYU/tIrH6KfeIQArVCFP9MifYMMmYN03kVq5VQK6a+CmeIz08q0phcAX7lRM/eekTWE9KrnLcDgRImDvqaAHSfAytsch6qj5NCan+/9Bi8GY2Iw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxbEN-0002Zn-3Q for guix-patches@gnu.org; Sun, 06 Oct 2024 20:04:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67902] [PATCH v3 67/96] 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 00:04:07 +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.17282594199572 (code B ref 67902); Mon, 07 Oct 2024 00:04:07 +0000 Received: (at 67902) by debbugs.gnu.org; 7 Oct 2024 00:03:39 +0000 Received: from localhost ([127.0.0.1]:43260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxbDu-0002UE-KG for submit@debbugs.gnu.org; Sun, 06 Oct 2024 20:03:39 -0400 Received: from 14.mo550.mail-out.ovh.net ([178.32.97.215]:42899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxbDs-0002Tk-4r for 67902@debbugs.gnu.org; Sun, 06 Oct 2024 20:03:36 -0400 Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.2.54]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4XMK9r3Bqzz1DYg for <67902@debbugs.gnu.org>; Mon, 7 Oct 2024 00:03:28 +0000 (UTC) Received: from ghost-submission-55b549bf7b-rww2v (unknown [10.110.188.91]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 4E6921FD55; Mon, 7 Oct 2024 00:03:28 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-55b549bf7b-rww2v with ESMTPSA id MjZ3DFAlA2fSlgcAjlCR8Q (envelope-from ); Mon, 07 Oct 2024 00:03:28 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-97G0026dc4357a-b5f5-444e-877f-58525ce9adf1, A12302D5D8CF0E033BA678025A323BF4FAD59D46) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Mon, 7 Oct 2024 02:00:02 +0200 Message-ID: <20241007000046.25625-67-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241007000046.25625-1-ngraves@ngraves.fr> References: <20241007000046.25625-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 2688648979006284514 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvkedgfedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepheekudejgfdtudeihffgiedvjeekffethfeiieevudegffejjefggfekffeiteeinecuffhomhgrihhnpehshihmfhhonhihrdgtohhmpdhgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleejnecuvehluhhsthgvrhfuihiivgepfeenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeeijeeltddvseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=x8GMKgbDWsB1VQcNJ+BVx5Z1np8rHuLyLMzOETfgf0U=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1728259408; v=1; b=u1WHbPznVJqPiKt2RCMAV5X+QfPYwbtUkq8KJRtyVbAnT5TtF0gCZ+JoDISmUdvdHZIQU0tr P+uuy4fgJRFhFo225VwDOyYJ/yVzBETEWChMpQvx2LGiJO0tPYEwFJidrrupIhi/fgFMtugXHr8 4zHo7Ybip9o9ralLrC+SDRIQ+dP1uDTs7Cb8cwaicfip7bqU2rdUBA/t8OVdkg4V8+w42PUD6KD Des9s+n8kLuoNboAuD8eNa+yWkQVcDksbSA4Cd+DnfK9av56Zbz2NAP/kJTFM7kP+IX055nDQhP z9C4dj6DPxvfmcdmsf4Ylc2jyaKA7Vifk9SOf6dZoKwjw== 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))) +