From 7bed29d1e37576754311964464ded57ef9b40ed4 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 4 May 2017 08:05:12 -0400 Subject: dev-php/sebastian-diff: new revision to fix autoloader class names. Two of the class names in this package's autoload.php were in error: they were named after the filename, instead of the classes that they actually contain (perhaps this is a bug upstream?). In any case, the PHPUnit test suite for symfony-finder was failing looking for a class that it couldn't find. The new revision should force users to install the updated autoload.php. Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-php/sebastian-diff/files/autoload.php | 4 ++-- .../sebastian-diff/sebastian-diff-1.4.1-r1.ebuild | 26 ++++++++++++++++++++++ dev-php/sebastian-diff/sebastian-diff-1.4.1.ebuild | 26 ---------------------- 3 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 dev-php/sebastian-diff/sebastian-diff-1.4.1-r1.ebuild delete mode 100644 dev-php/sebastian-diff/sebastian-diff-1.4.1.ebuild diff --git a/dev-php/sebastian-diff/files/autoload.php b/dev-php/sebastian-diff/files/autoload.php index 40925e7dd6f..5b72dc30331 100644 --- a/dev-php/sebastian-diff/files/autoload.php +++ b/dev-php/sebastian-diff/files/autoload.php @@ -13,8 +13,8 @@ if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { 'sebastianbergmann\diff\line' => '/Line.php', 'sebastianbergmann\diff\parser' => '/Parser.php', 'sebastianbergmann\diff\lcs\longestcommonsubsequence' => '/LCS/LongestCommonSubsequence.php', - 'sebastianbergmann\diff\lcs\memoryefficientlongestcommonsubsequenceimplementation' => '/LCS/MemoryEfficientLongestCommonSubsequenceImplementation.php', - 'sebastianbergmann\diff\lcs\timeefficientlongestcommonsubsequenceimplementation' => '/LCS/TimeEfficientLongestCommonSubsequenceImplementation.php', + 'sebastianbergmann\diff\lcs\memoryefficientimplementation' => '/LCS/MemoryEfficientLongestCommonSubsequenceImplementation.php', + 'sebastianbergmann\diff\lcs\timeefficientimplementation' => '/LCS/TimeEfficientLongestCommonSubsequenceImplementation.php', ), __DIR__ ); diff --git a/dev-php/sebastian-diff/sebastian-diff-1.4.1-r1.ebuild b/dev-php/sebastian-diff/sebastian-diff-1.4.1-r1.ebuild new file mode 100644 index 00000000000..c1d9a3ad177 --- /dev/null +++ b/dev-php/sebastian-diff/sebastian-diff-1.4.1-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="diff" + +DESCRIPTION="PHP Diff implementation" +HOMEPAGE="http://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/Diff + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-diff/sebastian-diff-1.4.1.ebuild b/dev-php/sebastian-diff/sebastian-diff-1.4.1.ebuild deleted file mode 100644 index c1d9a3ad177..00000000000 --- a/dev-php/sebastian-diff/sebastian-diff-1.4.1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MY_PN="diff" - -DESCRIPTION="PHP Diff implementation" -HOMEPAGE="http://phpunit.de" -SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" -IUSE="" - -S="${WORKDIR}/${MY_PN}-${PV}" - -RDEPEND="dev-php/fedora-autoloader - >=dev-lang/php-5.6:*" - -src_install() { - insinto /usr/share/php/SebastianBergmann/Diff - doins -r src/* - doins "${FILESDIR}/autoload.php" -} -- cgit v1.2.1