[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67902] [PATCH v3 67/96] gnu: Add php-symfony-finder.
From: |
Nicolas Graves |
Subject: |
[bug#67902] [PATCH v3 67/96] gnu: Add php-symfony-finder. |
Date: |
Mon, 7 Oct 2024 02:00:02 +0200 |
* 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)))
+
--
2.46.0
- [bug#67902] [PATCH v3 78/96] gnu: Add php-symfony-polyfill-intl-idn., (continued)
- [bug#67902] [PATCH v3 78/96] gnu: Add php-symfony-polyfill-intl-idn., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 60/96] gnu: Add php-symfony-dependency-injection., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 81/96] gnu: Add php-symfony-polyfill-uuid., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 79/96] gnu: Add php-symfony-polyfill-intl-normalizer., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 61/96] gnu: Add php-symfony-deprecation-contracts., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 62/96] gnu: Add php-symfony-error-handler., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 63/96] gnu: Add php-symfony-event-dispatcher., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 68/96] gnu: Add php-symfony-http-foundation., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 70/96] gnu: Add php-symfony-intl., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 69/96] gnu: Add php-symfony-http-kernel., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 67/96] gnu: Add php-symfony-finder.,
Nicolas Graves <=
- [bug#67902] [PATCH v3 73/96] gnu: Add php-symfony-phpunit-bridge., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 77/96] gnu: Add php-symfony-polyfill-intl-grapheme., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 85/96] gnu: Add php-symfony-translation-contracts., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 82/96] gnu: Add php-symfony-service-contracts., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 88/96] gnu: Add php-symfony-var-exporter., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 87/96] gnu: Add php-symfony-var-dumper., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 74/96] gnu: Add php-symfony-process., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 83/96] gnu: Add php-symfony-stopwatch., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 76/96] gnu: Add php-symfony-polyfill-ctype., Nicolas Graves, 2024/10/06
- [bug#67902] [PATCH v3 80/96] gnu: Add php-symfony-polyfill-mbstring., Nicolas Graves, 2024/10/06