diff options
Diffstat (limited to 'dev-php/phpdocumentor-type-resolver')
4 files changed, 51 insertions, 0 deletions
diff --git a/dev-php/phpdocumentor-type-resolver/Manifest b/dev-php/phpdocumentor-type-resolver/Manifest new file mode 100644 index 000000000000..e366ef9c5263 --- /dev/null +++ b/dev-php/phpdocumentor-type-resolver/Manifest @@ -0,0 +1,4 @@ +AUX autoload.php 271 SHA256 1164052255db5deb0dd1bffa8a591820fb121dc7dfa1fab7641c16227898f1fb SHA512 7aae3acc76199fd18558d5ae048e6d32d122a2b5310709f7b6129e3ea53be140e290b0ef8e1f69a153f9ee387de959047a6a8c4ec780df98e51c9f56a7af6e81 WHIRLPOOL 01aece97eac553e5601f42fa72d70ef9566eb4c182548d893553d9f72af08e98b05cd547d13368749a373c0db8cba1e01f0a11138871e9647e77b93306125581 +DIST phpdocumentor-type-resolver-0.2.1.tar.gz 15231 SHA256 eb9c3adf6b8f51c43e504bf2024bb198285a2e9fc895545137c067a90f930cde SHA512 888d165b397831d7319116c71dc34a3c738601bdb9956d250f80ee89374a9f063449ae9a82a43646e9156ad720e84e5d951c35dee746a37354388cd1f69d5154 WHIRLPOOL f56e01e3316550828b97fa852f1e172c8c41e92510bc34dbd583a792a1f39c92039816de7c09027744f269c5854ed442aa5fc5543299823519923fdc7eec75ea +EBUILD phpdocumentor-type-resolver-0.2.1.ebuild 728 SHA256 995dbe9d6fdd492d41accbcc4e84760d7ec8f9cc60564f6446a698ff87d4e809 SHA512 1ee82157fcd4753bd5253c17da118c06bd18ffd34218e9815dbf827f2525f541afc1d0395de3609bc782727ff273805721eb1cd3215ccdfde5e1587d9e4faf6c WHIRLPOOL 7efea4bbe0884d3ba3da665e7b8cad13688fef039d51c203d8a319ed40bc975d99e3fa115a20147da7f807d8acdcec2058800f05626cc05ec782ac1c6d7969a6 +MISC metadata.xml 330 SHA256 8fff29855c8e36db2e4de3721e408ec3d8e5c7f70592ab5a6f67bebffa3179fc SHA512 3c2e71a10cb0191aa7ab5332bdce3e38465514611dabd3374bb29fe4411f68e0382e5bcc66a0782ba56b1bbc823dd0f435f830809c1bd36e9fb142a68774f353 WHIRLPOOL 1bcba70856f1a58f8630c68a7910ca1c077451489563041ea16bcafb42f68c119613bd3f05359ce1511a1962446cac136b3bcde27f37c88b40da2d1beb86fe80 diff --git a/dev-php/phpdocumentor-type-resolver/files/autoload.php b/dev-php/phpdocumentor-type-resolver/files/autoload.php new file mode 100644 index 000000000000..356515b7a000 --- /dev/null +++ b/dev-php/phpdocumentor-type-resolver/files/autoload.php @@ -0,0 +1,8 @@ +<?php +/* Autoloader for dev-php/phpdocumentor-reflection-common */ + +if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { + require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; +} + +Fedora\Autoloader\Autoload::addPsr4('phpDocumentor\\Reflection\\', __DIR__); diff --git a/dev-php/phpdocumentor-type-resolver/metadata.xml b/dev-php/phpdocumentor-type-resolver/metadata.xml new file mode 100644 index 000000000000..4f1ebd70ec3b --- /dev/null +++ b/dev-php/phpdocumentor-type-resolver/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="github">phpDocumentor/TypeResolver</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-php/phpdocumentor-type-resolver/phpdocumentor-type-resolver-0.2.1.ebuild b/dev-php/phpdocumentor-type-resolver/phpdocumentor-type-resolver-0.2.1.ebuild new file mode 100644 index 000000000000..5de350bc86e4 --- /dev/null +++ b/dev-php/phpdocumentor-type-resolver/phpdocumentor-type-resolver-0.2.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="TypeResolver" +MY_VENDOR="phpDocumentor" + +DESCRIPTION="PSR-5 based resolver of Class names, Types and Structural Element Names" +HOMEPAGE="https://www.phpdoc.org" +SRC_URI="https://github.com/${MY_VENDOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +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-php/phpdocumentor-reflection-common-2 + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/${MY_VENDOR}/${MY_PN} + doins -r src/* + doins "${FILESDIR}/autoload.php" +} |