1 |
commit: 1bfae2f22a07d71c690d69ed2a6d9efe06bf2eeb |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 9 15:35:26 2017 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 9 16:22:05 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bfae2f2 |
7 |
|
8 |
dev-php/phpdocumentor-reflection-common: New package for an unbundled phpunit |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
|
12 |
dev-php/phpdocumentor-reflection-common/Manifest | 1 + |
13 |
.../files/autoload.php | 8 +++++++ |
14 |
.../phpdocumentor-reflection-common/metadata.xml | 8 +++++++ |
15 |
.../phpdocumentor-reflection-common-1.0.ebuild | 27 ++++++++++++++++++++++ |
16 |
4 files changed, 44 insertions(+) |
17 |
|
18 |
diff --git a/dev-php/phpdocumentor-reflection-common/Manifest b/dev-php/phpdocumentor-reflection-common/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..a6feb054c19 |
21 |
--- /dev/null |
22 |
+++ b/dev-php/phpdocumentor-reflection-common/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST phpdocumentor-reflection-common-1.0.tar.gz 7746 SHA256 f53df95e812fc0208ba6aeef9e9fab95e5896ba3327d3f724ce03f0a17000b97 SHA512 63d76282d0921535af70e084d3621d8cc6b07f49bc5348429a340730212f3c99f8e64636e43cebb3140fa4f6363b4f2a0c02cbe38036a28123e7bbeb67c61a0d WHIRLPOOL e895a96359b4474012be2ad806cd4d4148564090a4b517f3651f531ada0ec3a2ada889b236b85219a4b1fe61272aa5c70192ad193177b66b571960eee7eb56ae |
25 |
|
26 |
diff --git a/dev-php/phpdocumentor-reflection-common/files/autoload.php b/dev-php/phpdocumentor-reflection-common/files/autoload.php |
27 |
new file mode 100644 |
28 |
index 00000000000..356515b7a00 |
29 |
--- /dev/null |
30 |
+++ b/dev-php/phpdocumentor-reflection-common/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-reflection-common/metadata.xml b/dev-php/phpdocumentor-reflection-common/metadata.xml |
42 |
new file mode 100644 |
43 |
index 00000000000..b86acf66c75 |
44 |
--- /dev/null |
45 |
+++ b/dev-php/phpdocumentor-reflection-common/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-reflection-common/phpdocumentor-reflection-common-1.0.ebuild b/dev-php/phpdocumentor-reflection-common/phpdocumentor-reflection-common-1.0.ebuild |
57 |
new file mode 100644 |
58 |
index 00000000000..654a82f3d07 |
59 |
--- /dev/null |
60 |
+++ b/dev-php/phpdocumentor-reflection-common/phpdocumentor-reflection-common-1.0.ebuild |
61 |
@@ -0,0 +1,27 @@ |
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="ReflectionCommon" |
68 |
+MY_VENDOR="phpDocumentor" |
69 |
+ |
70 |
+DESCRIPTION="Common reflection classes used by phpdocumentor to reflect the code structure" |
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-lang/php-5.6:*" |
83 |
+ |
84 |
+src_install() { |
85 |
+ insinto /usr/share/php/${MY_VENDOR}/${MY_PN} |
86 |
+ doins -r src/* |
87 |
+ doins "${FILESDIR}/autoload.php" |
88 |
+} |