summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2017-05-03 18:40:08 -0400
committerMichael Orlitzky <mjo@gentoo.org>2017-05-04 07:33:07 -0400
commit0444c1df21634b07573a1d2899e2de49258febb8 (patch)
treeb374568e6e3bbc5cb2f778487573a5873b5a59c8 /dev-php/symfony-filesystem/files
parentdev-util/drone: Remove old (diff)
downloadgentoo-0444c1df21634b07573a1d2899e2de49258febb8.tar.gz
gentoo-0444c1df21634b07573a1d2899e2de49258febb8.tar.bz2
gentoo-0444c1df21634b07573a1d2899e2de49258febb8.zip
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
Diffstat (limited to 'dev-php/symfony-filesystem/files')
-rw-r--r--dev-php/symfony-filesystem/files/annotate-network-tests.patch27
1 files changed, 27 insertions, 0 deletions
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 <michael@orlitzky.com>
+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
+