summaryrefslogtreecommitdiff
path: root/dev-php/phpunit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-php/phpunit
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-php/phpunit')
-rw-r--r--dev-php/phpunit/Manifest12
-rw-r--r--dev-php/phpunit/files/autoload.php170
-rw-r--r--dev-php/phpunit/metadata.xml11
-rw-r--r--dev-php/phpunit/phpunit-3.7.20.ebuild37
-rw-r--r--dev-php/phpunit/phpunit-4.3.1.ebuild37
-rw-r--r--dev-php/phpunit/phpunit-5.0.10.ebuild41
-rw-r--r--dev-php/phpunit/phpunit-5.7.15-r1.ebuild55
7 files changed, 363 insertions, 0 deletions
diff --git a/dev-php/phpunit/Manifest b/dev-php/phpunit/Manifest
new file mode 100644
index 000000000000..09f39c94204b
--- /dev/null
+++ b/dev-php/phpunit/Manifest
@@ -0,0 +1,12 @@
+AUX autoload.php 11422 SHA256 de772da295f2ab21b20a849559e3430c0a07cedd68af1af81d2c8f69077441e7 SHA512 1d4fd0854a85bc404f5567b78effbc0eb41859601b8e56faaa4362e85ec4d07969864b21df3188fc5e82d5993c67655fa278a9c310b2ec7366aa2195c91e90da WHIRLPOOL 3f8dd3cd284999411de7e242b3403e78bf62846f589054c9530479ec3797279897a3825079fb9a4dd9bff0b5b8353e0812d77f5d8b6205808077c907ddd88abb
+DIST phpunit-3.7.20.phar 2769487 SHA256 7972291d498a425f7daaf0274eed45d8ba564b87da3250fc975e1af2b0d60602 SHA512 9263364087ad2f4870ce4d849c31b75c82799088809e444206b9e113e917d05923ece62264568ee5f2a6d7aeb04d75cbdc375ddd7825ceff16704431de5f68bf WHIRLPOOL 7e6399ccfe01f5e59bd14e243ee4fed760a40d36708aea8c1c5be08b2814125effb89f351f8ea0777d280d7a5557aadfe6142330bbc020d4c1159658cfc99baa
+DIST phpunit-4.3.1.phar 3324489 SHA256 1bac0c5f53bc04efa680bf9b3dcb35e804714eb8f497931ba81bdf08ae432c37 SHA512 de123e2301dc1d64e7401ceaec48c9458c3ab0dfc78faa488bed12c5b30b1367e1f9f6dfbbd5a07b427a56aad6d989f36a11b4642a0a843eed9c39e551be0490 WHIRLPOOL dbe5bed2251832c6c905b09c131bc2dc98de6247ef55077d9882c41a0b20b2e8b1c2489dbc0b3c1ed746f81c2b7163042e73790fff2b2ca78f8470875d77d88f
+DIST phpunit-5.0.10.phar 2773192 SHA256 e740f1376fec6dd19023d38537583276f804d02f818af1f1b2012599743c7c29 SHA512 978bbc409aeb6823c8a8a630fb6221fad5e6aac1d49288c93a69936468bdc6c01d2c58344b161b6fa6a6ccf6ff1100738edb00d7c3cef357751d00323c365d8d WHIRLPOOL 52255b646c063b60d2094fd1f08546b4c498ddd3c4b7fe0ebfc3f6370581e00679774e5492a30a3f5428007250a1c13937c34016e746004a019bfa26e52cdc18
+DIST phpunit-5.7.15.tar.gz 205474 SHA256 d1ce59cfe5f4939c694b6a3ca84eed9a0099228ad8f57c379ffc6fd4806ef1a7 SHA512 6a836e1ad1656fd1d1c5a58ced3c1826b4decc01798b6a804b487c9b4e094ec32f6eb8a84058e268eade62a2fe19d7bd1e760b8b9433299d9fe9c09afdf2bdd3 WHIRLPOOL 7a268ac8df88992fe97fa74820a766bf4199753c743da945d6bae64987fa8f904c0dfe026d861d81aade4cd23576133592f998dc66150aea730cefc804ed610b
+EBUILD phpunit-3.7.20.ebuild 790 SHA256 761b10a58e8ec281e92452cc1084b2d19a7831337a843b79493762cf45719d10 SHA512 25d78e5933839f53dad132a540af898235dc38c04eb264feb39fb3ab57a24c2989563ee5c88b4f60aab33408fd77898d98e58039beaea38ea251051512f21736 WHIRLPOOL 479c7145308dc02e0bdcdcf92ee2f07261a1653fb09d43f715af2e93232fff179d669780125d3a3fb723b37fe8dec49ba99b86d5c6ed6cf8cd885a7e9ccb3aae
+EBUILD phpunit-4.3.1.ebuild 772 SHA256 a1d488279d01be7416c32141c0db24e2cff2df121d817ed10b9e71fd7409f20f SHA512 f2081416fde29101e40e5073ae1ab5bfe7d1320e4ddec1203c5589fe22ea4b8d5ce0e7fd8e20c0b34eeeef57ab8bfa62b3205a34dcaa8d0e74331061b71ad4e3 WHIRLPOOL a7c8757c86c8e571eb22dd1335137b57b7669032126a85db97bc88c3fac0b6f96503d496041e4f037dcb0f4918d906b048e9a14f6eba7c5e2fb1ae634128f1ad
+EBUILD phpunit-5.0.10.ebuild 841 SHA256 aea4a580a1a23b2bb81c1c4e1358276a5546b9ed9b474c7bd9f9b0f8eac49210 SHA512 f15227f08c98c8ad8886d6352e8829c0e7ed43e128c8d81630248f1efd366d7be02bb9d0a12ab1fe224b70c1499479b77b78b8dd4c01dea9383f1abd3c4efbaf WHIRLPOOL d2fce171cadbbbaab2fb7d2467f56c7f943e28f806a626927aa7662326f795ea362ea33e77193463e0e42af434bf24e7e81a593608291b9c30650fbfc55f6488
+EBUILD phpunit-5.7.15-r1.ebuild 1625 SHA256 289833800dacf2b6a628119bad5a224ec55ff0aba4d6aa61f37dc0dea0a4e0b5 SHA512 eb23f8cd9b561823e604abfe0392510e3d8e3dd8434246c10c05a8ce8bb3d30108cc58ec21d36f1616b0f41ff86a6d822bbcd765aa916e1dfa60a317698028d8 WHIRLPOOL f57ca6ea83c1bf867049a3632d75caa083ec53690daafc3dd95dbd8fe7850e3a854abf56d04b7324e36686c233659c9d122c0146068e5b48f3cb917a1b9c07a7
+MISC ChangeLog 3023 SHA256 6d343ae34ce20741e9a7ee4f76c643784c5ea9d50b8ac7ca474a8bfd7f7e0474 SHA512 54ddacca4385ff7d42f15f80e3fd85244d968c785f3f727e86cd82e2fe1bb8f6c43292531467ac6a1235f17e5bb5cbbef63c57bd3428f404bacaeb6d3d8d5e81 WHIRLPOOL be02adf42cd8ef9c6cdceebeb896945b1c6e39cb5fc601d96816da6e16d9b6d924d4cca0b620cfb8c49d2a819ab7f67349d43edbce69568f687b7fbde6019547
+MISC ChangeLog-2015 8756 SHA256 a85b55761b4b54a3285cb97908682563e0a0268fcec1a6a6f66c0afec8ed01e1 SHA512 4b91c6464851ef15927a9f99a8ee621749ba812643f26ee457cc54f6bd343db7ca65cfb9fd01413e05e447c58997df01fd3cdb041427b8e6ba86c7c4c73632e3 WHIRLPOOL 55e4d2fff87f15ed1a8dfd55d92f85c6042086e4cc1131f02a938508c8556514932d57b8df558871e5655da8f776f3d3c0f675dc3eaae0137de886f99ee5a7ae
+MISC metadata.xml 329 SHA256 b0dbf9e32b69e0799b754c907e547343f5f6c30f2f03347dd4700795b8703b3d SHA512 007a4fea4de75a468e377398bb1539e25eedc8009ad6dcb6c170be653821b73d8eaaaeb236e207a2e33a509d2966f6a9571d8f0219d90b1662d4da1cdc7de896 WHIRLPOOL 0bc9e6b16df9410d96c27db52657b0d1b173735d2f67d9a33d967180a0ba6044acdc62573b111559ab6152652fdd7b982be19e18ae6854b52f1d11d1b16ada26
diff --git a/dev-php/phpunit/files/autoload.php b/dev-php/phpunit/files/autoload.php
new file mode 100644
index 000000000000..f33b4c8881a1
--- /dev/null
+++ b/dev-php/phpunit/files/autoload.php
@@ -0,0 +1,170 @@
+<?php
+/* Autoloader for dev-php/phpunit and its dependencies */
+
+$include_dir = '/usr/share/php';
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once "${include_dir}/Fedora/Autoloader/autoload.php";
+}
+
+\Fedora\Autoloader\Autoload::addClassMap(
+ array(
+ 'phpunit\\framework\\assert' => '/ForwardCompatibility/Assert.php',
+ 'phpunit\\framework\\basetestlistener' => '/ForwardCompatibility/BaseTestListener.php',
+ 'phpunit\\framework\\testcase' => '/ForwardCompatibility/TestCase.php',
+ 'phpunit\\framework\\testlistener' => '/ForwardCompatibility/TestListener.php',
+ 'phpunit_exception' => '/Exception.php',
+ 'phpunit_extensions_grouptestsuite' => '/Extensions/GroupTestSuite.php',
+ 'phpunit_extensions_phpttestcase' => '/Extensions/PhptTestCase.php',
+ 'phpunit_extensions_phpttestsuite' => '/Extensions/PhptTestSuite.php',
+ 'phpunit_extensions_repeatedtest' => '/Extensions/RepeatedTest.php',
+ 'phpunit_extensions_testdecorator' => '/Extensions/TestDecorator.php',
+ 'phpunit_extensions_ticketlistener' => '/Extensions/TicketListener.php',
+ 'phpunit_framework_assert' => '/Framework/Assert.php',
+ 'phpunit_framework_assertionfailederror' => '/Framework/AssertionFailedError.php',
+ 'phpunit_framework_basetestlistener' => '/Framework/BaseTestListener.php',
+ 'phpunit_framework_codecoverageexception' => '/Framework/CodeCoverageException.php',
+ 'phpunit_framework_constraint' => '/Framework/Constraint.php',
+ 'phpunit_framework_constraint_and' => '/Framework/Constraint/And.php',
+ 'phpunit_framework_constraint_arrayhaskey' => '/Framework/Constraint/ArrayHasKey.php',
+ 'phpunit_framework_constraint_arraysubset' => '/Framework/Constraint/ArraySubset.php',
+ 'phpunit_framework_constraint_attribute' => '/Framework/Constraint/Attribute.php',
+ 'phpunit_framework_constraint_callback' => '/Framework/Constraint/Callback.php',
+ 'phpunit_framework_constraint_classhasattribute' => '/Framework/Constraint/ClassHasAttribute.php',
+ 'phpunit_framework_constraint_classhasstaticattribute' => '/Framework/Constraint/ClassHasStaticAttribute.php',
+ 'phpunit_framework_constraint_composite' => '/Framework/Constraint/Composite.php',
+ 'phpunit_framework_constraint_count' => '/Framework/Constraint/Count.php',
+ 'phpunit_framework_constraint_directoryexists' => '/Framework/Constraint/DirectoryExists.php',
+ 'phpunit_framework_constraint_exception' => '/Framework/Constraint/Exception.php',
+ 'phpunit_framework_constraint_exceptioncode' => '/Framework/Constraint/ExceptionCode.php',
+ 'phpunit_framework_constraint_exceptionmessage' => '/Framework/Constraint/ExceptionMessage.php',
+ 'phpunit_framework_constraint_exceptionmessageregexp' => '/Framework/Constraint/ExceptionMessageRegExp.php',
+ 'phpunit_framework_constraint_fileexists' => '/Framework/Constraint/FileExists.php',
+ 'phpunit_framework_constraint_greaterthan' => '/Framework/Constraint/GreaterThan.php',
+ 'phpunit_framework_constraint_isanything' => '/Framework/Constraint/IsAnything.php',
+ 'phpunit_framework_constraint_isempty' => '/Framework/Constraint/IsEmpty.php',
+ 'phpunit_framework_constraint_isequal' => '/Framework/Constraint/IsEqual.php',
+ 'phpunit_framework_constraint_isfalse' => '/Framework/Constraint/IsFalse.php',
+ 'phpunit_framework_constraint_isfinite' => '/Framework/Constraint/IsFinite.php',
+ 'phpunit_framework_constraint_isidentical' => '/Framework/Constraint/IsIdentical.php',
+ 'phpunit_framework_constraint_isinfinite' => '/Framework/Constraint/IsInfinite.php',
+ 'phpunit_framework_constraint_isinstanceof' => '/Framework/Constraint/IsInstanceOf.php',
+ 'phpunit_framework_constraint_isjson' => '/Framework/Constraint/IsJson.php',
+ 'phpunit_framework_constraint_isnan' => '/Framework/Constraint/IsNan.php',
+ 'phpunit_framework_constraint_isnull' => '/Framework/Constraint/IsNull.php',
+ 'phpunit_framework_constraint_isreadable' => '/Framework/Constraint/IsReadable.php',
+ 'phpunit_framework_constraint_istrue' => '/Framework/Constraint/IsTrue.php',
+ 'phpunit_framework_constraint_istype' => '/Framework/Constraint/IsType.php',
+ 'phpunit_framework_constraint_iswritable' => '/Framework/Constraint/IsWritable.php',
+ 'phpunit_framework_constraint_jsonmatches' => '/Framework/Constraint/JsonMatches.php',
+ 'phpunit_framework_constraint_jsonmatches_errormessageprovider' => '/Framework/Constraint/JsonMatches/ErrorMessageProvider.php',
+ 'phpunit_framework_constraint_lessthan' => '/Framework/Constraint/LessThan.php',
+ 'phpunit_framework_constraint_not' => '/Framework/Constraint/Not.php',
+ 'phpunit_framework_constraint_objecthasattribute' => '/Framework/Constraint/ObjectHasAttribute.php',
+ 'phpunit_framework_constraint_or' => '/Framework/Constraint/Or.php',
+ 'phpunit_framework_constraint_pcrematch' => '/Framework/Constraint/PCREMatch.php',
+ 'phpunit_framework_constraint_samesize' => '/Framework/Constraint/SameSize.php',
+ 'phpunit_framework_constraint_stringcontains' => '/Framework/Constraint/StringContains.php',
+ 'phpunit_framework_constraint_stringendswith' => '/Framework/Constraint/StringEndsWith.php',
+ 'phpunit_framework_constraint_stringmatches' => '/Framework/Constraint/StringMatches.php',
+ 'phpunit_framework_constraint_stringstartswith' => '/Framework/Constraint/StringStartsWith.php',
+ 'phpunit_framework_constraint_traversablecontains' => '/Framework/Constraint/TraversableContains.php',
+ 'phpunit_framework_constraint_traversablecontainsonly' => '/Framework/Constraint/TraversableContainsOnly.php',
+ 'phpunit_framework_constraint_xor' => '/Framework/Constraint/Xor.php',
+ 'phpunit_framework_coveredcodenotexecutedexception' => '/Framework/CoveredCodeNotExecutedException.php',
+ 'phpunit_framework_error' => '/Framework/Error.php',
+ 'phpunit_framework_error_deprecated' => '/Framework/Error/Deprecated.php',
+ 'phpunit_framework_error_notice' => '/Framework/Error/Notice.php',
+ 'phpunit_framework_error_warning' => '/Framework/Error/Warning.php',
+ 'phpunit_framework_exception' => '/Framework/Exception.php',
+ 'phpunit_framework_exceptionwrapper' => '/Framework/ExceptionWrapper.php',
+ 'phpunit_framework_expectationfailedexception' => '/Framework/ExpectationFailedException.php',
+ 'phpunit_framework_incompletetest' => '/Framework/IncompleteTest.php',
+ 'phpunit_framework_incompletetestcase' => '/Framework/IncompleteTestCase.php',
+ 'phpunit_framework_incompletetesterror' => '/Framework/IncompleteTestError.php',
+ 'phpunit_framework_invalidcoverstargetexception' => '/Framework/InvalidCoversTargetException.php',
+ 'phpunit_framework_missingcoversannotationexception' => '/Framework/MissingCoversAnnotationException.php',
+ 'phpunit_framework_outputerror' => '/Framework/OutputError.php',
+ 'phpunit_framework_riskytest' => '/Framework/RiskyTest.php',
+ 'phpunit_framework_riskytesterror' => '/Framework/RiskyTestError.php',
+ 'phpunit_framework_selfdescribing' => '/Framework/SelfDescribing.php',
+ 'phpunit_framework_skippedtest' => '/Framework/SkippedTest.php',
+ 'phpunit_framework_skippedtestcase' => '/Framework/SkippedTestCase.php',
+ 'phpunit_framework_skippedtesterror' => '/Framework/SkippedTestError.php',
+ 'phpunit_framework_skippedtestsuiteerror' => '/Framework/SkippedTestSuiteError.php',
+ 'phpunit_framework_syntheticerror' => '/Framework/SyntheticError.php',
+ 'phpunit_framework_test' => '/Framework/Test.php',
+ 'phpunit_framework_testcase' => '/Framework/TestCase.php',
+ 'phpunit_framework_testfailure' => '/Framework/TestFailure.php',
+ 'phpunit_framework_testlistener' => '/Framework/TestListener.php',
+ 'phpunit_framework_testresult' => '/Framework/TestResult.php',
+ 'phpunit_framework_testsuite' => '/Framework/TestSuite.php',
+ 'phpunit_framework_testsuite_dataprovider' => '/Framework/TestSuite/DataProvider.php',
+ 'phpunit_framework_unintentionallycoveredcodeerror' => '/Framework/UnintentionallyCoveredCodeError.php',
+ 'phpunit_framework_warning' => '/Framework/Warning.php',
+ 'phpunit_framework_warningtestcase' => '/Framework/WarningTestCase.php',
+ 'phpunit_runner_basetestrunner' => '/Runner/BaseTestRunner.php',
+ 'phpunit_runner_exception' => '/Runner/Exception.php',
+ 'phpunit_runner_filter_factory' => '/Runner/Filter/Factory.php',
+ 'phpunit_runner_filter_group_exclude' => '/Runner/Filter/Group/Exclude.php',
+ 'phpunit_runner_filter_group_include' => '/Runner/Filter/Group/Include.php',
+ 'phpunit_runner_filter_groupfilteriterator' => '/Runner/Filter/Group.php',
+ 'phpunit_runner_filter_test' => '/Runner/Filter/Test.php',
+ 'phpunit_runner_standardtestsuiteloader' => '/Runner/StandardTestSuiteLoader.php',
+ 'phpunit_runner_testsuiteloader' => '/Runner/TestSuiteLoader.php',
+ 'phpunit_runner_version' => '/Runner/Version.php',
+ 'phpunit_textui_command' => '/TextUI/Command.php',
+ 'phpunit_textui_resultprinter' => '/TextUI/ResultPrinter.php',
+ 'phpunit_textui_testrunner' => '/TextUI/TestRunner.php',
+ 'phpunit_util_blacklist' => '/Util/Blacklist.php',
+ 'phpunit_util_configuration' => '/Util/Configuration.php',
+ 'phpunit_util_configurationgenerator' => '/Util/ConfigurationGenerator.php',
+ 'phpunit_util_errorhandler' => '/Util/ErrorHandler.php',
+ 'phpunit_util_fileloader' => '/Util/Fileloader.php',
+ 'phpunit_util_filesystem' => '/Util/Filesystem.php',
+ 'phpunit_util_filter' => '/Util/Filter.php',
+ 'phpunit_util_getopt' => '/Util/Getopt.php',
+ 'phpunit_util_globalstate' => '/Util/GlobalState.php',
+ 'phpunit_util_invalidargumenthelper' => '/Util/InvalidArgumentHelper.php',
+ 'phpunit_util_log_json' => '/Util/Log/JSON.php',
+ 'phpunit_util_log_junit' => '/Util/Log/JUnit.php',
+ 'phpunit_util_log_tap' => '/Util/Log/TAP.php',
+ 'phpunit_util_log_teamcity' => '/Util/Log/TeamCity.php',
+ 'phpunit_util_php' => '/Util/PHP.php',
+ 'phpunit_util_php_default' => '/Util/PHP/Default.php',
+ 'phpunit_util_php_windows' => '/Util/PHP/Windows.php',
+ 'phpunit_util_printer' => '/Util/Printer.php',
+ 'phpunit_util_regex' => '/Util/Regex.php',
+ 'phpunit_util_string' => '/Util/String.php',
+ 'phpunit_util_test' => '/Util/Test.php',
+ 'phpunit_util_testdox_nameprettifier' => '/Util/TestDox/NamePrettifier.php',
+ 'phpunit_util_testdox_resultprinter' => '/Util/TestDox/ResultPrinter.php',
+ 'phpunit_util_testdox_resultprinter_html' => '/Util/TestDox/ResultPrinter/HTML.php',
+ 'phpunit_util_testdox_resultprinter_text' => '/Util/TestDox/ResultPrinter/Text.php',
+ 'phpunit_util_testdox_resultprinter_xml' => '/Util/TestDox/ResultPrinter/XML.php',
+ 'phpunit_util_testsuiteiterator' => '/Util/TestSuiteIterator.php',
+ 'phpunit_util_type' => '/Util/Type.php',
+ 'phpunit_util_xml' => '/Util/XML.php',
+),
+ "${include_dir}/PHPUnit"
+);
+
+// Dependencies
+\Fedora\Autoloader\Dependencies::required(array(
+ "${include_dir}/File/Iterator/autoload.php",
+ "${include_dir}/PHP/CodeCoverage/autoload.php",
+ "${include_dir}/PHP/Timer/autoload.php",
+ "${include_dir}/SebastianBergmann/Version/autoload.php",
+ "${include_dir}/SebastianBergmann/Diff/autoload.php",
+ "${include_dir}/SebastianBergmann/Environment/autoload.php",
+ "${include_dir}/SebastianBergmann/Exporter/autoload.php",
+ "${include_dir}/SebastianBergmann/GlobalState/autoload.php",
+ "${include_dir}/SebastianBergmann/Comparator/autoload.php",
+ "${include_dir}/SebastianBergmann/ObjectEnumerator/autoload.php",
+ "${include_dir}/SebastianBergmann/ResourceOperations/autoload.php",
+ "${include_dir}/Symfony/Component/Yaml/autoload.php",
+ "${include_dir}/Text/Template/autoload.php",
+ "${include_dir}/myclabs/DeepCopy/autoload.php",
+ "${include_dir}/PHPUnit/Framework/MockObject/autoload.php",
+ "${include_dir}/phpspec/Prophecy/autoload.php",
+));
diff --git a/dev-php/phpunit/metadata.xml b/dev-php/phpunit/metadata.xml
new file mode 100644
index 000000000000..44a54c50110f
--- /dev/null
+++ b/dev-php/phpunit/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>php-bugs@gentoo.org</email>
+ <name>PHP</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">sebastianbergmann/phpunit</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-php/phpunit/phpunit-3.7.20.ebuild b/dev-php/phpunit/phpunit-3.7.20.ebuild
new file mode 100644
index 000000000000..382ae095598f
--- /dev/null
+++ b/dev-php/phpunit/phpunit-3.7.20.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="A PHP Unit Testing framework"
+HOMEPAGE="http://phpunit.de"
+
+PHPUNIT_PHAR="${P}.phar"
+
+SRC_URI="https://dev.gentoo.org/~olemarkus/phpunit/${PHPUNIT_PHAR}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~hppa x86"
+IUSE=""
+
+DEPEND="dev-lang/php:*[phar,xml]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ return
+}
+
+src_install() {
+ insinto /usr/share/php/phpunit
+ insopts -m755
+ newins "${DISTDIR}"/${PHPUNIT_PHAR} phpunit.phar
+ dosym ../share/php/phpunit/phpunit.phar /usr/bin/phpunit
+}
+
+pkg_postinst() {
+ elog "${PN} can optionally use json, pdo-sqlite and pdo-mysql features."
+ elog "If you want those, emerge dev-lang/php with USE=\"json pdo sqlite mysql\"."
+}
diff --git a/dev-php/phpunit/phpunit-4.3.1.ebuild b/dev-php/phpunit/phpunit-4.3.1.ebuild
new file mode 100644
index 000000000000..24edcb1da974
--- /dev/null
+++ b/dev-php/phpunit/phpunit-4.3.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="A PHP Unit Testing framework"
+HOMEPAGE="http://phpunit.de"
+
+PHPUNIT_PHAR="${P}.phar"
+
+SRC_URI="https://phar.phpunit.de/${PHPUNIT_PHAR}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~hppa x86"
+IUSE=""
+
+DEPEND="dev-lang/php:*[phar,xml]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ return
+}
+
+src_install() {
+ insinto /usr/share/php/phpunit
+ insopts -m755
+ newins "${DISTDIR}"/${PHPUNIT_PHAR} phpunit.phar
+ dosym ../share/php/phpunit/phpunit.phar /usr/bin/phpunit
+}
+
+pkg_postinst() {
+ elog "${PN} can optionally use json, pdo-sqlite and pdo-mysql features."
+ elog "If you want those, emerge dev-lang/php with USE=\"json pdo sqlite mysql\"."
+}
diff --git a/dev-php/phpunit/phpunit-5.0.10.ebuild b/dev-php/phpunit/phpunit-5.0.10.ebuild
new file mode 100644
index 000000000000..46336b4d6db3
--- /dev/null
+++ b/dev-php/phpunit/phpunit-5.0.10.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="A PHP Unit Testing framework"
+HOMEPAGE="http://phpunit.de"
+
+PHPUNIT_PHAR="${P}.phar"
+
+SRC_URI="https://phar.phpunit.de/${PHPUNIT_PHAR}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="
+ || (
+ dev-lang/php:5.6[phar,xml]
+ dev-lang/php:7.0[phar,xml]
+ )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ return
+}
+
+src_install() {
+ insinto /usr/share/php/phpunit
+ insopts -m755
+ newins "${DISTDIR}"/${PHPUNIT_PHAR} phpunit.phar
+ dosym ../share/php/phpunit/phpunit.phar /usr/bin/phpunit
+}
+
+pkg_postinst() {
+ elog "${PN} can optionally use json, pdo-sqlite and pdo-mysql features."
+ elog "If you want those, emerge dev-lang/php with USE=\"json pdo sqlite mysql\"."
+}
diff --git a/dev-php/phpunit/phpunit-5.7.15-r1.ebuild b/dev-php/phpunit/phpunit-5.7.15-r1.ebuild
new file mode 100644
index 000000000000..3c37874521a1
--- /dev/null
+++ b/dev-php/phpunit/phpunit-5.7.15-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A PHP Unit Testing framework"
+HOMEPAGE="http://phpunit.de"
+SRC_URI="https://github.com/sebastianbergmann/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-php/fedora-autoloader
+ >=dev-php/File_Iterator-1.4.0
+ !>=dev-php/File_Iterator-2.0
+ >=dev-php/Text_Template-1.2.0
+ !>=dev-php/Text_Template-2.0
+ >=dev-php/PHP_CodeCoverage-4.0.4
+ !>=dev-php/PHP_CodeCoverage-5.0
+ >=dev-php/PHP_Timer-1.0.6
+ !>=dev-php/PHP_Timer-2.0
+ <dev-php/myclabs-deepcopy-2.0
+ <dev-php/phpspec-prophecy-2.0
+ <dev-php/phpunit-mock-objects-4.0
+ <dev-php/sebastian-comparator-2.0
+ <dev-php/sebastian-diff-2.0
+ <dev-php/sebastian-environment-3.0
+ <dev-php/sebastian-exporter-3.0
+ <dev-php/sebastian-global-state-2.0
+ <dev-php/sebastian-object-enumerator-3.0
+ <dev-php/sebastian-resource-operations-2.0
+ <dev-php/sebastian-version-3.0
+ <dev-php/symfony-yaml-4.0
+ || (
+ dev-lang/php:5.6[cli,json,unicode,xml]
+ dev-lang/php:7.0[cli,json,unicode,xml]
+ dev-lang/php:7.1[cli,json,unicode,xml]
+ )"
+
+src_install() {
+ insinto /usr/share/php/PHPUnit
+ doins -r src/*
+ insinto /usr/share/php/PHPUnit/vendor
+ doins "${FILESDIR}/autoload.php"
+ exeinto /usr/share/php/PHPUnit
+ doexe phpunit
+ dosym ../share/php/PHPUnit/phpunit /usr/bin/phpunit
+}
+
+pkg_postinst() {
+ elog "${PN} can optionally use json, pdo-sqlite and pdo-mysql features."
+ elog "If you want those, emerge dev-lang/php with USE=\"json pdo sqlite mysql\"."
+}