[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67902] [PATCH 66/95] gnu: Add php-symfony-finder.
From: |
Nicolas Graves |
Subject: |
[bug#67902] [PATCH 66/95] gnu: Add php-symfony-finder. |
Date: |
Tue, 19 Dec 2023 14:57:47 +0100 |
* 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 9a273064b1..32e5b906b2 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1758,3 +1758,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)))
+
--
2.41.0
- [bug#67902] [PATCH 43/95] gnu: Add php-sebastian-diff., (continued)
- [bug#67902] [PATCH 43/95] gnu: Add php-sebastian-diff., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 49/95] gnu: Add php-sebastian-object-reflector., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 50/95] gnu: Add php-sebastian-recursion-context., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 53/95] gnu: Add php-sebastian-version., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 58/95] gnu: Add php-symfony-console., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 57/95] gnu: Add php-symfony-config., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 54/95] gnu: Add php-symfony-cache., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 61/95] gnu: Add php-symfony-error-handler., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 62/95] gnu: Add php-symfony-event-dispatcher., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 63/95] gnu: Add php-symfony-event-dispatcher-contracts., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 66/95] gnu: Add php-symfony-finder.,
Nicolas Graves <=
- [bug#67902] [PATCH 68/95] gnu: Add php-symfony-http-kernel., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 70/95] gnu: Add php-symfony-lock., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 69/95] gnu: Add php-symfony-intl., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 71/95] gnu: Add php-symfony-mime., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 73/95] gnu: Add php-symfony-process., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 72/95] gnu: Add php-symfony-phpunit-bridge., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 78/95] gnu: Add php-symfony-polyfill-intl-normalizer., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 77/95] gnu: Add php-symfony-polyfill-intl-idn., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 81/95] gnu: Add php-symfony-service-contracts., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 82/95] gnu: Add php-symfony-stopwatch., Nicolas Graves, 2023/12/19