commit:     fbc48c7a1f220fd5accb7f6bd02a1b17b56d3186
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 19 21:06:19 2019 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Dec 19 21:50:53 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbc48c7a

dev-php/sebastian-diff: Version bump for 3.0.2

Signed-off-by: Brian Evans <grknight <AT> gentoo.org>

 dev-php/sebastian-diff/Manifest                    |  1 +
 dev-php/sebastian-diff/files/autoload-3.0.2.php    | 28 ++++++++++++++++++++++
 dev-php/sebastian-diff/sebastian-diff-3.0.2.ebuild | 26 ++++++++++++++++++++
 3 files changed, 55 insertions(+)

diff --git a/dev-php/sebastian-diff/Manifest b/dev-php/sebastian-diff/Manifest
index 8e780a5fe2d..da56572dda1 100644
--- a/dev-php/sebastian-diff/Manifest
+++ b/dev-php/sebastian-diff/Manifest
@@ -1 +1,2 @@
 DIST sebastian-diff-1.4.1.tar.gz 10310 BLAKE2B 
facb81bb6ec7a60714493b531eecd0cea6fc8fde0811de982f3a149b2446cfe71f32bfca62bb830dee734966ac6161990e14b666426f5b34c4068922c544f36f
 SHA512 
b355f1407619ea6f1e9153a7946c339e790530c1c86369005998dc0c1078b96ef1ca369fec32f134b056dd8833770fcdb30443334275c8cb17b69e95ef8325a9
+DIST sebastian-diff-3.0.2.tar.gz 30918 BLAKE2B 
33c307c97d30573c913e4a696710c7b0091b3d0a612661b900dfdb749e4fa5c8970d993c0ee8828c4b0342336c39db4c74702114a5a6ae0daf650fc625baade7
 SHA512 
c06176de492970f3e55a5fdf1901eb56299b3e49cb838b8cdcbb93bc9cfe9fe9c1b693acb0c598c618760c4de0e49deb2f7bad15a929bd13ef08d30fab41b677

diff --git a/dev-php/sebastian-diff/files/autoload-3.0.2.php 
b/dev-php/sebastian-diff/files/autoload-3.0.2.php
new file mode 100644
index 00000000000..13d6bb4216a
--- /dev/null
+++ b/dev-php/sebastian-diff/files/autoload-3.0.2.php
@@ -0,0 +1,28 @@
+<?php
+/* Autoloader for dev-php/sebastian-diff */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+       require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addClassMap(
+       array(
+               'sebastianbergmann\diff\chunk' => '/Chunk.php',
+               'sebastianbergmann\diff\diff' => '/Diff.php',
+               'sebastianbergmann\diff\differ' => '/Differ.php',
+               'sebastianbergmann\diff\line' => '/Line.php',
+               'sebastianbergmann\diff\longestcommonsubsequencecalculator' => 
'/LongestCommonSubsequenceCalculator.php',
+               
'sebastianbergmann\diff\memoryefficientlongestcommonsubsequencecalculator' => 
'/MemoryEfficientLongestCommonSubsequenceCalculator.php',
+               'sebastianbergmann\diff\parser' => '/Parser.php',
+               
'sebastianbergmann\diff\timeefficientlongestcommonsubsequencecalculator' => 
'/TimeEfficientLongestCommonSubsequenceCalculator.php',
+               'sebastianbergmann\diff\configurationexception' => 
'/Exception/ConfigurationException.php',
+                'sebastianbergmann\diff\exception' => 
'/Exception/Exception.php',
+                'sebastianbergmann\diff\invalidargumentexception' => 
'/Exception/InvalidArgumentException.php',
+               'sebastianbergmann\diff\output\abstractchunkoutputbuilder' => 
'/Output/AbstractChunkOutputBuilder.php',
+               'sebastianbergmann\diff\output\diffonlyoutputbuilder' => 
'/Output/DiffOnlyOutputBuilder.php',
+               'sebastianbergmann\diff\output\diffoutputbuilderinterface' => 
'/Output/DiffOutputBuilderInterface.php',
+               'sebastianbergmann\diff\output\strictunifieddiffoutputbuilder' 
=> '/Output/StrictUnifiedDiffOutputBuilder.php',
+               'sebastianbergmann\diff\output\unifieddiffoutputbuilder' => 
'/Output/UnifiedDiffOutputBuilder.php',
+       ),
+       __DIR__
+);

diff --git a/dev-php/sebastian-diff/sebastian-diff-3.0.2.ebuild 
b/dev-php/sebastian-diff/sebastian-diff-3.0.2.ebuild
new file mode 100644
index 00000000000..20aa5303052
--- /dev/null
+++ b/dev-php/sebastian-diff/sebastian-diff-3.0.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+RDEPEND="dev-php/fedora-autoloader
+       >=dev-lang/php-7.1:*"
+
+src_install() {
+       insinto /usr/share/php/SebastianBergmann/Diff
+       doins -r src/*
+       newins "${FILESDIR}/autoload-3.0.2.php" autoload.php
+}

Reply via email to