From 0444c1df21634b07573a1d2899e2de49258febb8 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 3 May 2017 18:40:08 -0400 Subject: dev-php/symfony-filesystem: new version 3.2.8. This new version adds a tiny patch to annotate the one test that requires network access. Afterwards, we are able to enable the test suite and skip the network test. The test suite passes, so I've removed the RESTRICT=test that we had. The patch is reflected in upstream (symfony/symfony) pull request 22630. Another small improvement is to spell out the files and directories to be installed, rather than using "." (the whole directory). This avoids installing composer.json and some other junk to the PHP include directory. Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- .../files/annotate-network-tests.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 dev-php/symfony-filesystem/files/annotate-network-tests.patch (limited to 'dev-php/symfony-filesystem/files/annotate-network-tests.patch') diff --git a/dev-php/symfony-filesystem/files/annotate-network-tests.patch b/dev-php/symfony-filesystem/files/annotate-network-tests.patch new file mode 100644 index 000000000000..38c83753195f --- /dev/null +++ b/dev-php/symfony-filesystem/files/annotate-network-tests.patch @@ -0,0 +1,27 @@ +From cda6fa8801d04b149592c5789c0d060c4ca4e9db Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky +Date: Wed, 3 May 2017 18:33:56 -0400 +Subject: [PATCH 1/1] Annotate the one network test as being a part of the + "network" group. + +--- + Tests/FilesystemTest.php | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/Tests/FilesystemTest.php b/Tests/FilesystemTest.php +index 1341392..a862fa8 100644 +--- a/Tests/FilesystemTest.php ++++ b/Tests/FilesystemTest.php +@@ -156,6 +156,9 @@ class FilesystemTest extends FilesystemTestCase + $this->assertEquals('SOURCE FILE', file_get_contents($targetFilePath)); + } + ++ /** ++ * @group network ++ */ + public function testCopyForOriginUrlsAndExistingLocalFileDefaultsToCopy() + { + $sourceFilePath = 'http://symfony.com/images/common/logo/logo_symfony_header.png'; +-- +2.10.2 + -- cgit v1.2.3