Skip to content

Commit

Permalink
dev-php/phpunit: Version bumps
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26
  • Loading branch information
Brian Evans committed Dec 2, 2015
1 parent 6518c64 commit 63cf101
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev-php/phpunit/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
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-4.8.19.phar 3079159 SHA256 ff0e3c284f0170c2f8a6759937d7e0f1689c079e6aff114218a339bab79de8a9 SHA512 08b2d6743e3f6c3bcc09d60391886fb3a21bffe338304bbe65703d430ded1fab96d9ef426467e5703af5c3ebed771d21fa49059e994e8b02056f340087ba616b WHIRLPOOL f69dde07d401b112bacddd6aec81ff4241552c5be9b3ccf2a447da353e32470f80e2b90e3fe9e2c723ad845d16a90a32778275b54abf6995c8ecc9d1c14f6b80
DIST phpunit-5.0.10.phar 2773192 SHA256 e740f1376fec6dd19023d38537583276f804d02f818af1f1b2012599743c7c29 SHA512 978bbc409aeb6823c8a8a630fb6221fad5e6aac1d49288c93a69936468bdc6c01d2c58344b161b6fa6a6ccf6ff1100738edb00d7c3cef357751d00323c365d8d WHIRLPOOL 52255b646c063b60d2094fd1f08546b4c498ddd3c4b7fe0ebfc3f6370581e00679774e5492a30a3f5428007250a1c13937c34016e746004a019bfa26e52cdc18
42 changes: 42 additions & 0 deletions dev-php/phpunit/phpunit-4.8.19.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

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:5.5[phar,xml]
dev-lang/php:5.6[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 /usr/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\"."
}
42 changes: 42 additions & 0 deletions dev-php/phpunit/phpunit-5.0.10.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

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: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 /usr/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\"."
}

0 comments on commit 63cf101

Please sign in to comment.