1 |
commit: 573f9ce0b3c29ff63bc56e4dfb2c2c08bcbbf5ac |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 9 16:19:27 2017 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 9 16:23:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=573f9ce0 |
7 |
|
8 |
dev-php/phpunit: Version bump with unbundled dependencies |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
|
12 |
dev-php/phpunit/Manifest | 1 + |
13 |
dev-php/phpunit/files/autoload.php | 167 ++++++++++++++++++++++++++++++++++ |
14 |
dev-php/phpunit/phpunit-5.7.15.ebuild | 55 +++++++++++ |
15 |
3 files changed, 223 insertions(+) |
16 |
|
17 |
diff --git a/dev-php/phpunit/Manifest b/dev-php/phpunit/Manifest |
18 |
index 097af39d1c1..2ff86ca4040 100644 |
19 |
--- a/dev-php/phpunit/Manifest |
20 |
+++ b/dev-php/phpunit/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST phpunit-3.7.20.phar 2769487 SHA256 7972291d498a425f7daaf0274eed45d8ba564b87 |
22 |
DIST phpunit-4.3.1.phar 3324489 SHA256 1bac0c5f53bc04efa680bf9b3dcb35e804714eb8f497931ba81bdf08ae432c37 SHA512 de123e2301dc1d64e7401ceaec48c9458c3ab0dfc78faa488bed12c5b30b1367e1f9f6dfbbd5a07b427a56aad6d989f36a11b4642a0a843eed9c39e551be0490 WHIRLPOOL dbe5bed2251832c6c905b09c131bc2dc98de6247ef55077d9882c41a0b20b2e8b1c2489dbc0b3c1ed746f81c2b7163042e73790fff2b2ca78f8470875d77d88f |
23 |
DIST phpunit-4.8.19.phar 3079159 SHA256 ff0e3c284f0170c2f8a6759937d7e0f1689c079e6aff114218a339bab79de8a9 SHA512 08b2d6743e3f6c3bcc09d60391886fb3a21bffe338304bbe65703d430ded1fab96d9ef426467e5703af5c3ebed771d21fa49059e994e8b02056f340087ba616b WHIRLPOOL f69dde07d401b112bacddd6aec81ff4241552c5be9b3ccf2a447da353e32470f80e2b90e3fe9e2c723ad845d16a90a32778275b54abf6995c8ecc9d1c14f6b80 |
24 |
DIST phpunit-5.0.10.phar 2773192 SHA256 e740f1376fec6dd19023d38537583276f804d02f818af1f1b2012599743c7c29 SHA512 978bbc409aeb6823c8a8a630fb6221fad5e6aac1d49288c93a69936468bdc6c01d2c58344b161b6fa6a6ccf6ff1100738edb00d7c3cef357751d00323c365d8d WHIRLPOOL 52255b646c063b60d2094fd1f08546b4c498ddd3c4b7fe0ebfc3f6370581e00679774e5492a30a3f5428007250a1c13937c34016e746004a019bfa26e52cdc18 |
25 |
+DIST phpunit-5.7.15.tar.gz 205474 SHA256 d1ce59cfe5f4939c694b6a3ca84eed9a0099228ad8f57c379ffc6fd4806ef1a7 SHA512 6a836e1ad1656fd1d1c5a58ced3c1826b4decc01798b6a804b487c9b4e094ec32f6eb8a84058e268eade62a2fe19d7bd1e760b8b9433299d9fe9c09afdf2bdd3 WHIRLPOOL 7a268ac8df88992fe97fa74820a766bf4199753c743da945d6bae64987fa8f904c0dfe026d861d81aade4cd23576133592f998dc66150aea730cefc804ed610b |
26 |
|
27 |
diff --git a/dev-php/phpunit/files/autoload.php b/dev-php/phpunit/files/autoload.php |
28 |
new file mode 100644 |
29 |
index 00000000000..69ffa07bab9 |
30 |
--- /dev/null |
31 |
+++ b/dev-php/phpunit/files/autoload.php |
32 |
@@ -0,0 +1,167 @@ |
33 |
+<?php |
34 |
+/* Autoloader for dev-php/phpunit and its dependencies */ |
35 |
+ |
36 |
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { |
37 |
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; |
38 |
+} |
39 |
+ |
40 |
+\Fedora\Autoloader\Autoload::addClassMap( |
41 |
+ array( |
42 |
+ 'phpunit\\framework\\assert' => '/ForwardCompatibility/Assert.php', |
43 |
+ 'phpunit\\framework\\basetestlistener' => '/ForwardCompatibility/BaseTestListener.php', |
44 |
+ 'phpunit\\framework\\testcase' => '/ForwardCompatibility/TestCase.php', |
45 |
+ 'phpunit\\framework\\testlistener' => '/ForwardCompatibility/TestListener.php', |
46 |
+ 'phpunit_exception' => '/Exception.php', |
47 |
+ 'phpunit_extensions_grouptestsuite' => '/Extensions/GroupTestSuite.php', |
48 |
+ 'phpunit_extensions_phpttestcase' => '/Extensions/PhptTestCase.php', |
49 |
+ 'phpunit_extensions_phpttestsuite' => '/Extensions/PhptTestSuite.php', |
50 |
+ 'phpunit_extensions_repeatedtest' => '/Extensions/RepeatedTest.php', |
51 |
+ 'phpunit_extensions_testdecorator' => '/Extensions/TestDecorator.php', |
52 |
+ 'phpunit_extensions_ticketlistener' => '/Extensions/TicketListener.php', |
53 |
+ 'phpunit_framework_assert' => '/Framework/Assert.php', |
54 |
+ 'phpunit_framework_assertionfailederror' => '/Framework/AssertionFailedError.php', |
55 |
+ 'phpunit_framework_basetestlistener' => '/Framework/BaseTestListener.php', |
56 |
+ 'phpunit_framework_codecoverageexception' => '/Framework/CodeCoverageException.php', |
57 |
+ 'phpunit_framework_constraint' => '/Framework/Constraint.php', |
58 |
+ 'phpunit_framework_constraint_and' => '/Framework/Constraint/And.php', |
59 |
+ 'phpunit_framework_constraint_arrayhaskey' => '/Framework/Constraint/ArrayHasKey.php', |
60 |
+ 'phpunit_framework_constraint_arraysubset' => '/Framework/Constraint/ArraySubset.php', |
61 |
+ 'phpunit_framework_constraint_attribute' => '/Framework/Constraint/Attribute.php', |
62 |
+ 'phpunit_framework_constraint_callback' => '/Framework/Constraint/Callback.php', |
63 |
+ 'phpunit_framework_constraint_classhasattribute' => '/Framework/Constraint/ClassHasAttribute.php', |
64 |
+ 'phpunit_framework_constraint_classhasstaticattribute' => '/Framework/Constraint/ClassHasStaticAttribute.php', |
65 |
+ 'phpunit_framework_constraint_composite' => '/Framework/Constraint/Composite.php', |
66 |
+ 'phpunit_framework_constraint_count' => '/Framework/Constraint/Count.php', |
67 |
+ 'phpunit_framework_constraint_directoryexists' => '/Framework/Constraint/DirectoryExists.php', |
68 |
+ 'phpunit_framework_constraint_exception' => '/Framework/Constraint/Exception.php', |
69 |
+ 'phpunit_framework_constraint_exceptioncode' => '/Framework/Constraint/ExceptionCode.php', |
70 |
+ 'phpunit_framework_constraint_exceptionmessage' => '/Framework/Constraint/ExceptionMessage.php', |
71 |
+ 'phpunit_framework_constraint_exceptionmessageregexp' => '/Framework/Constraint/ExceptionMessageRegExp.php', |
72 |
+ 'phpunit_framework_constraint_fileexists' => '/Framework/Constraint/FileExists.php', |
73 |
+ 'phpunit_framework_constraint_greaterthan' => '/Framework/Constraint/GreaterThan.php', |
74 |
+ 'phpunit_framework_constraint_isanything' => '/Framework/Constraint/IsAnything.php', |
75 |
+ 'phpunit_framework_constraint_isempty' => '/Framework/Constraint/IsEmpty.php', |
76 |
+ 'phpunit_framework_constraint_isequal' => '/Framework/Constraint/IsEqual.php', |
77 |
+ 'phpunit_framework_constraint_isfalse' => '/Framework/Constraint/IsFalse.php', |
78 |
+ 'phpunit_framework_constraint_isfinite' => '/Framework/Constraint/IsFinite.php', |
79 |
+ 'phpunit_framework_constraint_isidentical' => '/Framework/Constraint/IsIdentical.php', |
80 |
+ 'phpunit_framework_constraint_isinfinite' => '/Framework/Constraint/IsInfinite.php', |
81 |
+ 'phpunit_framework_constraint_isinstanceof' => '/Framework/Constraint/IsInstanceOf.php', |
82 |
+ 'phpunit_framework_constraint_isjson' => '/Framework/Constraint/IsJson.php', |
83 |
+ 'phpunit_framework_constraint_isnan' => '/Framework/Constraint/IsNan.php', |
84 |
+ 'phpunit_framework_constraint_isnull' => '/Framework/Constraint/IsNull.php', |
85 |
+ 'phpunit_framework_constraint_isreadable' => '/Framework/Constraint/IsReadable.php', |
86 |
+ 'phpunit_framework_constraint_istrue' => '/Framework/Constraint/IsTrue.php', |
87 |
+ 'phpunit_framework_constraint_istype' => '/Framework/Constraint/IsType.php', |
88 |
+ 'phpunit_framework_constraint_iswritable' => '/Framework/Constraint/IsWritable.php', |
89 |
+ 'phpunit_framework_constraint_jsonmatches' => '/Framework/Constraint/JsonMatches.php', |
90 |
+ 'phpunit_framework_constraint_jsonmatches_errormessageprovider' => '/Framework/Constraint/JsonMatches/ErrorMessageProvider.php', |
91 |
+ 'phpunit_framework_constraint_lessthan' => '/Framework/Constraint/LessThan.php', |
92 |
+ 'phpunit_framework_constraint_not' => '/Framework/Constraint/Not.php', |
93 |
+ 'phpunit_framework_constraint_objecthasattribute' => '/Framework/Constraint/ObjectHasAttribute.php', |
94 |
+ 'phpunit_framework_constraint_or' => '/Framework/Constraint/Or.php', |
95 |
+ 'phpunit_framework_constraint_pcrematch' => '/Framework/Constraint/PCREMatch.php', |
96 |
+ 'phpunit_framework_constraint_samesize' => '/Framework/Constraint/SameSize.php', |
97 |
+ 'phpunit_framework_constraint_stringcontains' => '/Framework/Constraint/StringContains.php', |
98 |
+ 'phpunit_framework_constraint_stringendswith' => '/Framework/Constraint/StringEndsWith.php', |
99 |
+ 'phpunit_framework_constraint_stringmatches' => '/Framework/Constraint/StringMatches.php', |
100 |
+ 'phpunit_framework_constraint_stringstartswith' => '/Framework/Constraint/StringStartsWith.php', |
101 |
+ 'phpunit_framework_constraint_traversablecontains' => '/Framework/Constraint/TraversableContains.php', |
102 |
+ 'phpunit_framework_constraint_traversablecontainsonly' => '/Framework/Constraint/TraversableContainsOnly.php', |
103 |
+ 'phpunit_framework_constraint_xor' => '/Framework/Constraint/Xor.php', |
104 |
+ 'phpunit_framework_coveredcodenotexecutedexception' => '/Framework/CoveredCodeNotExecutedException.php', |
105 |
+ 'phpunit_framework_error' => '/Framework/Error.php', |
106 |
+ 'phpunit_framework_error_deprecated' => '/Framework/Error/Deprecated.php', |
107 |
+ 'phpunit_framework_error_notice' => '/Framework/Error/Notice.php', |
108 |
+ 'phpunit_framework_error_warning' => '/Framework/Error/Warning.php', |
109 |
+ 'phpunit_framework_exception' => '/Framework/Exception.php', |
110 |
+ 'phpunit_framework_exceptionwrapper' => '/Framework/ExceptionWrapper.php', |
111 |
+ 'phpunit_framework_expectationfailedexception' => '/Framework/ExpectationFailedException.php', |
112 |
+ 'phpunit_framework_incompletetest' => '/Framework/IncompleteTest.php', |
113 |
+ 'phpunit_framework_incompletetestcase' => '/Framework/IncompleteTestCase.php', |
114 |
+ 'phpunit_framework_incompletetesterror' => '/Framework/IncompleteTestError.php', |
115 |
+ 'phpunit_framework_invalidcoverstargetexception' => '/Framework/InvalidCoversTargetException.php', |
116 |
+ 'phpunit_framework_missingcoversannotationexception' => '/Framework/MissingCoversAnnotationException.php', |
117 |
+ 'phpunit_framework_outputerror' => '/Framework/OutputError.php', |
118 |
+ 'phpunit_framework_riskytest' => '/Framework/RiskyTest.php', |
119 |
+ 'phpunit_framework_riskytesterror' => '/Framework/RiskyTestError.php', |
120 |
+ 'phpunit_framework_selfdescribing' => '/Framework/SelfDescribing.php', |
121 |
+ 'phpunit_framework_skippedtest' => '/Framework/SkippedTest.php', |
122 |
+ 'phpunit_framework_skippedtestcase' => '/Framework/SkippedTestCase.php', |
123 |
+ 'phpunit_framework_skippedtesterror' => '/Framework/SkippedTestError.php', |
124 |
+ 'phpunit_framework_skippedtestsuiteerror' => '/Framework/SkippedTestSuiteError.php', |
125 |
+ 'phpunit_framework_syntheticerror' => '/Framework/SyntheticError.php', |
126 |
+ 'phpunit_framework_test' => '/Framework/Test.php', |
127 |
+ 'phpunit_framework_testcase' => '/Framework/TestCase.php', |
128 |
+ 'phpunit_framework_testfailure' => '/Framework/TestFailure.php', |
129 |
+ 'phpunit_framework_testlistener' => '/Framework/TestListener.php', |
130 |
+ 'phpunit_framework_testresult' => '/Framework/TestResult.php', |
131 |
+ 'phpunit_framework_testsuite' => '/Framework/TestSuite.php', |
132 |
+ 'phpunit_framework_testsuite_dataprovider' => '/Framework/TestSuite/DataProvider.php', |
133 |
+ 'phpunit_framework_unintentionallycoveredcodeerror' => '/Framework/UnintentionallyCoveredCodeError.php', |
134 |
+ 'phpunit_framework_warning' => '/Framework/Warning.php', |
135 |
+ 'phpunit_framework_warningtestcase' => '/Framework/WarningTestCase.php', |
136 |
+ 'phpunit_runner_basetestrunner' => '/Runner/BaseTestRunner.php', |
137 |
+ 'phpunit_runner_exception' => '/Runner/Exception.php', |
138 |
+ 'phpunit_runner_filter_factory' => '/Runner/Filter/Factory.php', |
139 |
+ 'phpunit_runner_filter_group_exclude' => '/Runner/Filter/Group/Exclude.php', |
140 |
+ 'phpunit_runner_filter_group_include' => '/Runner/Filter/Group/Include.php', |
141 |
+ 'phpunit_runner_filter_groupfilteriterator' => '/Runner/Filter/Group.php', |
142 |
+ 'phpunit_runner_filter_test' => '/Runner/Filter/Test.php', |
143 |
+ 'phpunit_runner_standardtestsuiteloader' => '/Runner/StandardTestSuiteLoader.php', |
144 |
+ 'phpunit_runner_testsuiteloader' => '/Runner/TestSuiteLoader.php', |
145 |
+ 'phpunit_runner_version' => '/Runner/Version.php', |
146 |
+ 'phpunit_textui_command' => '/TextUI/Command.php', |
147 |
+ 'phpunit_textui_resultprinter' => '/TextUI/ResultPrinter.php', |
148 |
+ 'phpunit_textui_testrunner' => '/TextUI/TestRunner.php', |
149 |
+ 'phpunit_util_blacklist' => '/Util/Blacklist.php', |
150 |
+ 'phpunit_util_configuration' => '/Util/Configuration.php', |
151 |
+ 'phpunit_util_configurationgenerator' => '/Util/ConfigurationGenerator.php', |
152 |
+ 'phpunit_util_errorhandler' => '/Util/ErrorHandler.php', |
153 |
+ 'phpunit_util_fileloader' => '/Util/Fileloader.php', |
154 |
+ 'phpunit_util_filesystem' => '/Util/Filesystem.php', |
155 |
+ 'phpunit_util_filter' => '/Util/Filter.php', |
156 |
+ 'phpunit_util_getopt' => '/Util/Getopt.php', |
157 |
+ 'phpunit_util_globalstate' => '/Util/GlobalState.php', |
158 |
+ 'phpunit_util_invalidargumenthelper' => '/Util/InvalidArgumentHelper.php', |
159 |
+ 'phpunit_util_log_json' => '/Util/Log/JSON.php', |
160 |
+ 'phpunit_util_log_junit' => '/Util/Log/JUnit.php', |
161 |
+ 'phpunit_util_log_tap' => '/Util/Log/TAP.php', |
162 |
+ 'phpunit_util_log_teamcity' => '/Util/Log/TeamCity.php', |
163 |
+ 'phpunit_util_php' => '/Util/PHP.php', |
164 |
+ 'phpunit_util_php_default' => '/Util/PHP/Default.php', |
165 |
+ 'phpunit_util_php_windows' => '/Util/PHP/Windows.php', |
166 |
+ 'phpunit_util_printer' => '/Util/Printer.php', |
167 |
+ 'phpunit_util_regex' => '/Util/Regex.php', |
168 |
+ 'phpunit_util_string' => '/Util/String.php', |
169 |
+ 'phpunit_util_test' => '/Util/Test.php', |
170 |
+ 'phpunit_util_testdox_nameprettifier' => '/Util/TestDox/NamePrettifier.php', |
171 |
+ 'phpunit_util_testdox_resultprinter' => '/Util/TestDox/ResultPrinter.php', |
172 |
+ 'phpunit_util_testdox_resultprinter_html' => '/Util/TestDox/ResultPrinter/HTML.php', |
173 |
+ 'phpunit_util_testdox_resultprinter_text' => '/Util/TestDox/ResultPrinter/Text.php', |
174 |
+ 'phpunit_util_testdox_resultprinter_xml' => '/Util/TestDox/ResultPrinter/XML.php', |
175 |
+ 'phpunit_util_testsuiteiterator' => '/Util/TestSuiteIterator.php', |
176 |
+ 'phpunit_util_type' => '/Util/Type.php', |
177 |
+ 'phpunit_util_xml' => '/Util/XML.php', |
178 |
+), |
179 |
+ '/usr/share/php/PHPUnit' |
180 |
+); |
181 |
+ |
182 |
+// Dependencies |
183 |
+\Fedora\Autoloader\Dependencies::required(array( |
184 |
+ '/usr/share/php/File/Iterator/autoload.php', |
185 |
+ '/usr/share/php/PHP/CodeCoverage/autoload.php', |
186 |
+ '/usr/share/php/PHP/Timer/autoload.php', |
187 |
+ '/usr/share/php/SebastianBergmann/Version/autoload.php', |
188 |
+ '/usr/share/php/SebastianBergmann/Diff/autoload.php', |
189 |
+ '/usr/share/php/SebastianBergmann/Environment/autoload.php', |
190 |
+ '/usr/share/php/SebastianBergmann/Exporter/autoload.php', |
191 |
+ '/usr/share/php/SebastianBergmann/GlobalState/autoload.php', |
192 |
+ '/usr/share/php/SebastianBergmann/Comparator/autoload.php', |
193 |
+ '/usr/share/php/SebastianBergmann/ResourceOperations/autoload.php', |
194 |
+ '/usr/share/php/Symfony/Component/Yaml/autoload.php', |
195 |
+ '/usr/share/php/Text/Template/autoload.php', |
196 |
+ '/usr/share/php/myclabs/DeepCopy/autoload.php', |
197 |
+ '/usr/share/php/PHPUnit/Framework/MockObject/autoload.php', |
198 |
+ '/usr/share/php/phpspec/Prophecy/autoload.php', |
199 |
+)); |
200 |
|
201 |
diff --git a/dev-php/phpunit/phpunit-5.7.15.ebuild b/dev-php/phpunit/phpunit-5.7.15.ebuild |
202 |
new file mode 100644 |
203 |
index 00000000000..e216862799d |
204 |
--- /dev/null |
205 |
+++ b/dev-php/phpunit/phpunit-5.7.15.ebuild |
206 |
@@ -0,0 +1,55 @@ |
207 |
+# Copyright 1999-2017 Gentoo Foundation |
208 |
+# Distributed under the terms of the GNU General Public License v2 |
209 |
+ |
210 |
+EAPI=6 |
211 |
+ |
212 |
+DESCRIPTION="A PHP Unit Testing framework" |
213 |
+HOMEPAGE="http://phpunit.de" |
214 |
+SRC_URI="https://github.com/sebastianbergmann/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
215 |
+ |
216 |
+LICENSE="BSD" |
217 |
+SLOT="0" |
218 |
+KEYWORDS="~amd64 ~x86" |
219 |
+IUSE="" |
220 |
+ |
221 |
+RDEPEND="dev-php/fedora-autoloader |
222 |
+ >=dev-php/File_Iterator-1.4.0 |
223 |
+ !>=dev-php/File_Iterator-2.0 |
224 |
+ >=dev-php/Text_Template-1.2.0 |
225 |
+ !>=dev-php/Text_Template-2.0 |
226 |
+ >=dev-php/PHP_CodeCoverage-4.0.4 |
227 |
+ !>=dev-php/PHP_CodeCoverage-5.0 |
228 |
+ >=dev-php/PHP_Timer-1.0.6 |
229 |
+ !>=dev-php/PHP_Timer-2.0 |
230 |
+ <dev-php/myclabs-deepcopy-2.0 |
231 |
+ <dev-php/phpspec-prophecy-2.0 |
232 |
+ <dev-php/phpunit-mock-objects-4.0 |
233 |
+ <dev-php/sebastian-comparator-2.0 |
234 |
+ <dev-php/sebastian-diff-2.0 |
235 |
+ <dev-php/sebastian-environment-3.0 |
236 |
+ <dev-php/sebastian-exporter-3.0 |
237 |
+ <dev-php/sebastian-global-state-2.0 |
238 |
+ <dev-php/sebastian-object-enumerator-3.0 |
239 |
+ <dev-php/sebastian-resource-operations-2.0 |
240 |
+ <dev-php/sebastian-version-3.0 |
241 |
+ <dev-php/symfony-yaml-4.0 |
242 |
+ || ( |
243 |
+ dev-lang/php:5.6[cli,json,unicode,xml] |
244 |
+ dev-lang/php:7.0[cli,json,unicode,xml] |
245 |
+ dev-lang/php:7.1[cli,json,unicode,xml] |
246 |
+ )" |
247 |
+ |
248 |
+src_install() { |
249 |
+ insinto /usr/share/php/PHPUnit |
250 |
+ doins -r src/* |
251 |
+ insinto /usr/share/php/PHPUnit/vendor |
252 |
+ doins "${FILESDIR}/autoload.php" |
253 |
+ exeinto /usr/share/php/PHPUnit |
254 |
+ doexe phpunit |
255 |
+ dosym /usr/share/php/PHPUnit/phpunit /usr/bin/phpunit |
256 |
+} |
257 |
+ |
258 |
+pkg_postinst() { |
259 |
+ elog "${PN} can optionally use json, pdo-sqlite and pdo-mysql features." |
260 |
+ elog "If you want those, emerge dev-lang/php with USE=\"json pdo sqlite mysql\"." |
261 |
+} |