diff options
4 files changed, 48 insertions, 0 deletions
diff --git a/dev-php/sebastian-code-unit-reverse-lookup/Manifest b/dev-php/sebastian-code-unit-reverse-lookup/Manifest new file mode 100644 index 000000000000..09155760f606 --- /dev/null +++ b/dev-php/sebastian-code-unit-reverse-lookup/Manifest @@ -0,0 +1 @@ +DIST sebastian-code-unit-reverse-lookup-1.0.1.tar.gz 4326 SHA256 6c7f87e14961e75881d7a6caf19d363aba671fd3855a28b9303c071d8f30a90e SHA512 bb6419a13b645a4f35d688d3dd47b0d10de8c996721e95805c08119925fa66ef89cca38f94d3818c62c2eb9a978ee231e91fdeb47bf3b640eeefceaaca135469 WHIRLPOOL 121dcc97276ebc95ab22e8442d4397edda472884d935793b055b41d659c741db2af3a796d63cb7f5549714382150e5b992224894506881aa52690614c56aec4c diff --git a/dev-php/sebastian-code-unit-reverse-lookup/files/autoload.php b/dev-php/sebastian-code-unit-reverse-lookup/files/autoload.php new file mode 100644 index 000000000000..b721c7324032 --- /dev/null +++ b/dev-php/sebastian-code-unit-reverse-lookup/files/autoload.php @@ -0,0 +1,13 @@ +<?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\codeunitreverselookup\wizard' => '/Wizard.php', + ), + __DIR__ +); diff --git a/dev-php/sebastian-code-unit-reverse-lookup/metadata.xml b/dev-php/sebastian-code-unit-reverse-lookup/metadata.xml new file mode 100644 index 000000000000..b86acf66c756 --- /dev/null +++ b/dev-php/sebastian-code-unit-reverse-lookup/metadata.xml @@ -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> diff --git a/dev-php/sebastian-code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-1.0.1.ebuild b/dev-php/sebastian-code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-1.0.1.ebuild new file mode 100644 index 000000000000..006543d23315 --- /dev/null +++ b/dev-php/sebastian-code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-1.0.1.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="${PN/sebastian-/}" + +DESCRIPTION="Looks up which function or method a line of code belongs to" +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/CodeUnitReverseLookup + doins -r src/* + doins "${FILESDIR}/autoload.php" +} |