mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-05 05:17:04 -08:00
dev-php/phpunit: Version bumps
Package-Manager: portage-2.2.26
This commit is contained in:
@@ -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\"."
|
||||
}
|
||||
Reference in New Issue
Block a user