mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-php/sebastian-diff: New package for an unbundled phpunit
Package-Manager: Portage-2.3.4, Repoman-2.3.2
This commit is contained in:
1
dev-php/sebastian-diff/Manifest
Normal file
1
dev-php/sebastian-diff/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST sebastian-diff-1.4.1.tar.gz 10310 SHA256 ddedfbae9063434dfdabf8b74d0f6ee427412b4a894880ab7d0609c8e2495775 SHA512 b355f1407619ea6f1e9153a7946c339e790530c1c86369005998dc0c1078b96ef1ca369fec32f134b056dd8833770fcdb30443334275c8cb17b69e95ef8325a9 WHIRLPOOL f9a718790f62df5fba7e82d0fbd785150be6a4396209066d9420e41f9e7a6416a5aa3ebe004cb84fceb0b5bdac03c71b8edec1065f26b3d2bb08e8b54a78d4eb
|
||||
20
dev-php/sebastian-diff/files/autoload.php
Normal file
20
dev-php/sebastian-diff/files/autoload.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?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\parser' => '/Parser.php',
|
||||
'sebastianbergmann\diff\lcs\longestcommonsubsequence' => '/LCS/LongestCommonSubsequence.php',
|
||||
'sebastianbergmann\diff\lcs\memoryefficientlongestcommonsubsequenceimplementation' => '/LCS/MemoryEfficientLongestCommonSubsequenceImplementation.php',
|
||||
'sebastianbergmann\diff\lcs\timeefficientlongestcommonsubsequenceimplementation' => '/LCS/TimeEfficientLongestCommonSubsequenceImplementation.php',
|
||||
),
|
||||
__DIR__
|
||||
);
|
||||
8
dev-php/sebastian-diff/metadata.xml
Normal file
8
dev-php/sebastian-diff/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
<name>PHP</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
26
dev-php/sebastian-diff/sebastian-diff-1.4.1.ebuild
Normal file
26
dev-php/sebastian-diff/sebastian-diff-1.4.1.ebuild
Normal file
@@ -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 ~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"
|
||||
}
|
||||
Reference in New Issue
Block a user