From 5554437084c6967ac1d783c1acdbf13f9262af48 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 18 Dec 2016 16:42:33 -0500 Subject: dev-php/symfony-dependency-injection: loosen restrictions on dependencies. Two of this package's dependencies were declared with the tilde "~" operator. Per discussion with the maintainer, these are probably better off being "newer than" operators. We retain the lower bound set by upstream. Package-Manager: portage-2.3.0 --- .../symfony-dependency-injection-2.1.0-r1.ebuild | 45 ++++++++++++++++++++++ .../symfony-dependency-injection-2.1.0.ebuild | 44 --------------------- 2 files changed, 45 insertions(+), 44 deletions(-) create mode 100644 dev-php/symfony-dependency-injection/symfony-dependency-injection-2.1.0-r1.ebuild delete mode 100644 dev-php/symfony-dependency-injection/symfony-dependency-injection-2.1.0.ebuild (limited to 'dev-php/symfony-dependency-injection') diff --git a/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.1.0-r1.ebuild b/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.1.0-r1.ebuild new file mode 100644 index 000000000000..8cbabae983eb --- /dev/null +++ b/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.1.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Symfony DependencyInjection Component" +HOMEPAGE="https://github.com/symfony/dependency-injection" +SRC_URI="https://github.com/symfony/dependency-injection/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="test" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader + >=dev-php/symfony-config-2.1.0 + >=dev-php/symfony-yaml-2.1.0" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +S="${WORKDIR}/dependency-injection-${PV}" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die + fi +} + +src_install() { + insinto "/usr/share/php/Symfony/Component/DependencyInjection" + doins -r . "${FILESDIR}"/autoload.php + dodoc README.md +} + +src_test() { + phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" +} diff --git a/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.1.0.ebuild b/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.1.0.ebuild deleted file mode 100644 index 15b4b0b02701..000000000000 --- a/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.1.0.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -DESCRIPTION="Symfony DependencyInjection Component" -HOMEPAGE="https://github.com/symfony/dependency-injection" -SRC_URI="https://github.com/symfony/dependency-injection/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="test" - -RDEPEND=" - dev-lang/php:* - dev-php/fedora-autoloader - ~dev-php/symfony-config-2.1.0 - ~dev-php/symfony-yaml-2.1.0" -DEPEND=" - test? ( - ${RDEPEND} - dev-php/phpunit )" - -S="${WORKDIR}/dependency-injection-${PV}" - -src_prepare() { - default - if use test; then - cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die - fi -} - -src_install() { - insinto "/usr/share/php/Symfony/Component/DependencyInjection" - doins -r . "${FILESDIR}"/autoload.php - dodoc README.md -} - -src_test() { - phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" -} -- cgit v1.2.3-65-gdbad