GNU bug report logs -
#67902
[PATCH 00/95] PHP package chain.
Previous Next
Full log
View this message in rfc822 format
* 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
This bug report was last modified 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.