summaryrefslogtreecommitdiff
path: root/dev-php/phpunit/phpunit-8.5.0.ebuild
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2019-12-20 12:46:53 -0500
committerBrian Evans <grknight@gentoo.org>2019-12-20 13:34:21 -0500
commit8d8ad63790ed8a8389903ee6f5c06c69e7b80900 (patch)
tree4c3ef5899332554dad37a041b761b01449c43661 /dev-php/phpunit/phpunit-8.5.0.ebuild
parentebaa22e55a08fa6dcaa75e5ec755f82e231c6357 (diff)
downloadgentoo-8d8ad63790ed8a8389903ee6f5c06c69e7b80900.tar.gz
gentoo-8d8ad63790ed8a8389903ee6f5c06c69e7b80900.tar.bz2
gentoo-8d8ad63790ed8a8389903ee6f5c06c69e7b80900.zip
dev-php/phpunit: Version bump for 8.5.0
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-php/phpunit/phpunit-8.5.0.ebuild')
-rw-r--r--dev-php/phpunit/phpunit-8.5.0.ebuild66
1 files changed, 66 insertions, 0 deletions
diff --git a/dev-php/phpunit/phpunit-8.5.0.ebuild b/dev-php/phpunit/phpunit-8.5.0.ebuild
new file mode 100644
index 000000000000..2e9083564b31
--- /dev/null
+++ b/dev-php/phpunit/phpunit-8.5.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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-2.0.2
+ <dev-php/File_Iterator-3.0
+ >=dev-php/Text_Template-1.2.1
+ <dev-php/Text_Template-2.0
+ >=dev-php/PHP_CodeCoverage-7.0.7
+ <dev-php/PHP_CodeCoverage-8.0
+ >=dev-php/PHP_Timer-2.1.2
+ <dev-php/PHP_Timer-3.0
+ >=dev-php/doctrine-instantiator-1.2
+ <dev-php/doctrine-instantiator-2.0
+ >=dev-php/myclabs-deepcopy-1.9.1
+ <dev-php/myclabs-deepcopy-2.0
+ >=dev-php/phar-io-manifest-1.0.3
+ <dev-php/phar-io-manifest-2.0
+ >=dev-php/phar-io-version-2.0.1
+ <dev-php/phar-io-version-3.0
+ >=dev-php/phpspec-prophecy-1.8.1
+ <dev-php/phpspec-prophecy-2.0
+ >=dev-php/sebastian-comparator-3.0.2
+ <dev-php/sebastian-comparator-4.0
+ >=dev-php/sebastian-diff-3.0.2
+ <dev-php/sebastian-diff-4.0
+ >=dev-php/sebastian-environment-4.2.2
+ <dev-php/sebastian-environment-5.0
+ >=dev-php/sebastian-exporter-3.1.1
+ <dev-php/sebastian-exporter-4.0
+ >=dev-php/sebastian-global-state-3.0
+ <dev-php/sebastian-global-state-4.0
+ >=dev-php/sebastian-object-enumerator-3.0.3
+ <dev-php/sebastian-object-enumerator-4.0
+ >=dev-php/sebastian-resource-operations-2.0.1
+ <dev-php/sebastian-resource-operations-3.0
+ <dev-php/sebastian-type-2.0
+ <dev-php/sebastian-version-3.0
+ >=dev-lang/php-7.2:*[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
+"
+
+src_install() {
+ insinto /usr/share/php/PHPUnit
+ doins -r src/*
+ insinto /usr/share/php/PHPUnit/vendor
+ newins "${FILESDIR}/autoload-8.5.0.php" 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\"."
+}