1 |
commit: 72d99c239872a23f27291d88a2a82dc25358fa41 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 9 15:36:28 2017 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 9 16:22:10 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72d99c23 |
7 |
|
8 |
dev-php/phpdocumentor-type-resolver: New package for an unbundled phpunit |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
|
12 |
dev-php/phpdocumentor-type-resolver/Manifest | 1 + |
13 |
.../phpdocumentor-type-resolver/files/autoload.php | 8 +++++++ |
14 |
dev-php/phpdocumentor-type-resolver/metadata.xml | 8 +++++++ |
15 |
.../phpdocumentor-type-resolver-0.2.1.ebuild | 28 ++++++++++++++++++++++ |
16 |
4 files changed, 45 insertions(+) |
17 |
|
18 |
diff --git a/dev-php/phpdocumentor-type-resolver/Manifest b/dev-php/phpdocumentor-type-resolver/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..f9c9a635f98 |
21 |
--- /dev/null |
22 |
+++ b/dev-php/phpdocumentor-type-resolver/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST phpdocumentor-type-resolver-0.2.1.tar.gz 15231 SHA256 eb9c3adf6b8f51c43e504bf2024bb198285a2e9fc895545137c067a90f930cde SHA512 888d165b397831d7319116c71dc34a3c738601bdb9956d250f80ee89374a9f063449ae9a82a43646e9156ad720e84e5d951c35dee746a37354388cd1f69d5154 WHIRLPOOL f56e01e3316550828b97fa852f1e172c8c41e92510bc34dbd583a792a1f39c92039816de7c09027744f269c5854ed442aa5fc5543299823519923fdc7eec75ea |
25 |
|
26 |
diff --git a/dev-php/phpdocumentor-type-resolver/files/autoload.php b/dev-php/phpdocumentor-type-resolver/files/autoload.php |
27 |
new file mode 100644 |
28 |
index 00000000000..356515b7a00 |
29 |
--- /dev/null |
30 |
+++ b/dev-php/phpdocumentor-type-resolver/files/autoload.php |
31 |
@@ -0,0 +1,8 @@ |
32 |
+<?php |
33 |
+/* Autoloader for dev-php/phpdocumentor-reflection-common */ |
34 |
+ |
35 |
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { |
36 |
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; |
37 |
+} |
38 |
+ |
39 |
+Fedora\Autoloader\Autoload::addPsr4('phpDocumentor\\Reflection\\', __DIR__); |
40 |
|
41 |
diff --git a/dev-php/phpdocumentor-type-resolver/metadata.xml b/dev-php/phpdocumentor-type-resolver/metadata.xml |
42 |
new file mode 100644 |
43 |
index 00000000000..b86acf66c75 |
44 |
--- /dev/null |
45 |
+++ b/dev-php/phpdocumentor-type-resolver/metadata.xml |
46 |
@@ -0,0 +1,8 @@ |
47 |
+<?xml version="1.0" encoding="UTF-8"?> |
48 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
49 |
+<pkgmetadata> |
50 |
+ <maintainer type="project"> |
51 |
+ <email>php-bugs@g.o</email> |
52 |
+ <name>PHP</name> |
53 |
+ </maintainer> |
54 |
+</pkgmetadata> |
55 |
|
56 |
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 |
57 |
new file mode 100644 |
58 |
index 00000000000..d73a456f380 |
59 |
--- /dev/null |
60 |
+++ b/dev-php/phpdocumentor-type-resolver/phpdocumentor-type-resolver-0.2.1.ebuild |
61 |
@@ -0,0 +1,28 @@ |
62 |
+# Copyright 1999-2017 Gentoo Foundation |
63 |
+# Distributed under the terms of the GNU General Public License v2 |
64 |
+ |
65 |
+EAPI=6 |
66 |
+ |
67 |
+MY_PN="TypeResolver" |
68 |
+MY_VENDOR="phpDocumentor" |
69 |
+ |
70 |
+DESCRIPTION="PSR-5 based resolver of Class names, Types and Structural Element Names" |
71 |
+HOMEPAGE="https://www.phpdoc.org" |
72 |
+SRC_URI="https://github.com/${MY_VENDOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
73 |
+ |
74 |
+LICENSE="MIT" |
75 |
+SLOT="0" |
76 |
+KEYWORDS="~amd64 ~x86" |
77 |
+IUSE="" |
78 |
+ |
79 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
80 |
+ |
81 |
+RDEPEND="dev-php/fedora-autoloader |
82 |
+ <dev-php/phpdocumentor-reflection-common-2 |
83 |
+ >=dev-lang/php-5.6:*" |
84 |
+ |
85 |
+src_install() { |
86 |
+ insinto /usr/share/php/${MY_VENDOR}/${MY_PN} |
87 |
+ doins -r src/* |
88 |
+ doins "${FILESDIR}/autoload.php" |
89 |
+} |