1 |
commit: ee86c6c433ff0523a1b7e8ad614e94bc0205d790 |
2 |
Author: Rob Levitsky <kitsunenokenja <AT> protonmail <DOT> ch> |
3 |
AuthorDate: Tue Jan 9 02:22:52 2018 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 14 17:32:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee86c6c4 |
7 |
|
8 |
dev-php/phar-io-manifest: new package |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
13 |
|
14 |
dev-php/phar-io-manifest/Manifest | 1 + |
15 |
dev-php/phar-io-manifest/files/autoload.php | 62 ++++++++++++++++++++++ |
16 |
dev-php/phar-io-manifest/metadata.xml | 11 ++++ |
17 |
.../phar-io-manifest/phar-io-manifest-1.0.1.ebuild | 28 ++++++++++ |
18 |
4 files changed, 102 insertions(+) |
19 |
|
20 |
diff --git a/dev-php/phar-io-manifest/Manifest b/dev-php/phar-io-manifest/Manifest |
21 |
new file mode 100644 |
22 |
index 00000000000..f78f8aa5b7e |
23 |
--- /dev/null |
24 |
+++ b/dev-php/phar-io-manifest/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST phar-io-manifest-1.0.1.tar.gz 21403 BLAKE2B 0f18d94d127ec54914cb60756fd3e75c2d13ec593b7101735e385e4515abf4da0f03ef94d0bbbfaee02f348309525504f5e99e150a68b0d0fcd2129ccade4541 SHA512 3e4dd7ddd6de0a9f70595d0d8a6721782d2584526d3d4649cf0338ab36f106798daf4b7dcbf5bd972893a1569b622e4217212e5812b14e4bf3f698504f4d2228 |
27 |
|
28 |
diff --git a/dev-php/phar-io-manifest/files/autoload.php b/dev-php/phar-io-manifest/files/autoload.php |
29 |
new file mode 100644 |
30 |
index 00000000000..256ec39e5b8 |
31 |
--- /dev/null |
32 |
+++ b/dev-php/phar-io-manifest/files/autoload.php |
33 |
@@ -0,0 +1,62 @@ |
34 |
+<?php |
35 |
+/* Autoloader for dev-php/phar-io-manifest */ |
36 |
+require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; |
37 |
+ |
38 |
+\Fedora\Autoloader\Autoload::addClassMap( |
39 |
+ [ |
40 |
+ 'phario\\manifest\\manifestdocumentmapper' => '/ManifestDocumentMapper.php', |
41 |
+ 'phario\\manifest\\manifestloader' => '/ManifestLoader.php', |
42 |
+ 'phario\\manifest\\manifestserializer' => '/ManifestSerializer.php', |
43 |
+ 'phario\\manifest\\exception' => '/exceptions/Exception.php', |
44 |
+ 'phario\\manifest\\invalidapplicationnameexception' => '/exceptions/InvalidApplicationNameException.php', |
45 |
+ 'phario\\manifest\\invalidemailexception' => '/exceptions/InvalidEmailException.php', |
46 |
+ 'phario\\manifest\\invalidurlexception' => '/exceptions/InvalidUrlException.php', |
47 |
+ 'phario\\manifest\\manifestdocumentexception' => '/exceptions/ManifestDocumentException.php', |
48 |
+ 'phario\\manifest\\manifestdocumentmapperexception' => '/exceptions/ManifestDocumentMapperException.php', |
49 |
+ 'phario\\manifest\\manifestelementexception' => '/exceptions/ManifestElementException.php', |
50 |
+ 'phario\\manifest\\manifestloaderexception' => '/exceptions/ManifestLoaderException.php', |
51 |
+ 'phario\\manifest\\application' => '/values/Application.php', |
52 |
+ 'phario\\manifest\\applicationname' => '/values/ApplicationName.php', |
53 |
+ 'phario\\manifest\\author' => '/values/Author.php', |
54 |
+ 'phario\\manifest\\authorcollection' => '/values/AuthorCollection.php', |
55 |
+ 'phario\\manifest\\authorcollectioniterator' => '/values/AuthorCollectionIterator.php', |
56 |
+ 'phario\\manifest\\bundledcomponent' => '/values/BundledComponent.php', |
57 |
+ 'phario\\manifest\\bundledcomponentcollection' => '/values/BundledComponentCollection.php', |
58 |
+ 'phario\\manifest\\bundledcomponentcollectioniterator' => '/values/BundledComponentCollectionIterator.php', |
59 |
+ 'phario\\manifest\\copyrightinformation' => '/values/CopyrightInformation.php', |
60 |
+ 'phario\\manifest\\email' => '/values/Email.php', |
61 |
+ 'phario\\manifest\\extension' => '/values/Extension.php', |
62 |
+ 'phario\\manifest\\library' => '/values/Library.php', |
63 |
+ 'phario\\manifest\\license' => '/values/License.php', |
64 |
+ 'phario\\manifest\\manifest' => '/values/Manifest.php', |
65 |
+ 'phario\\manifest\\phpextensionrequirement' => '/values/PhpExtensionRequirement.php', |
66 |
+ 'phario\\manifest\\phpversionrequirement' => '/values/PhpVersionRequirement.php', |
67 |
+ 'phario\\manifest\\requirement' => '/values/Requirement.php', |
68 |
+ 'phario\\manifest\\requirementcollection' => '/values/RequirementCollection.php', |
69 |
+ 'phario\\manifest\\requirementcollectioniterator' => '/values/RequirementCollectionIterator.php', |
70 |
+ 'phario\\manifest\\type' => '/values/Type.php', |
71 |
+ 'phario\\manifest\\url' => '/values/Url.php', |
72 |
+ 'phario\\manifest\\authorelement' => '/xml/AuthorElement.php', |
73 |
+ 'phario\\manifest\\authorelementcollection' => '/xml/AuthorElementCollection.php', |
74 |
+ 'phario\\manifest\\bundleselement' => '/xml/BundlesElement.php', |
75 |
+ 'phario\\manifest\\componentelement' => '/xml/ComponentElement.php', |
76 |
+ 'phario\\manifest\\componentelementcollection' => '/xml/ComponentElementCollection.php', |
77 |
+ 'phario\\manifest\\containselement' => '/xml/ContainsElement.php', |
78 |
+ 'phario\\manifest\\copyrightelement' => '/xml/CopyrightElement.php', |
79 |
+ 'phario\\manifest\\elementcollection' => '/xml/ElementCollection.php', |
80 |
+ 'phario\\manifest\\extelement' => '/xml/ExtElement.php', |
81 |
+ 'phario\\manifest\\extelementcollection' => '/xml/ExtElementCollection.php', |
82 |
+ 'phario\\manifest\\extensionelement' => '/xml/ExtensionElement.php', |
83 |
+ 'phario\\manifest\\licenseelement' => '/xml/LicenseElement.php', |
84 |
+ 'phario\\manifest\\manifestdocument' => '/xml/ManifestDocument.php', |
85 |
+ 'phario\\manifest\\manifestdocumentloadingexception' => '/xml/ManifestDocumentLoadingException.php', |
86 |
+ 'phario\\manifest\\manifestelement' => '/xml/ManifestElement.php', |
87 |
+ 'phario\\manifest\\phpelement' => '/xml/PhpElement.php', |
88 |
+ 'phario\\manifest\\requireselement' => '/xml/RequiresElement.php', |
89 |
+ ], |
90 |
+ __DIR__ |
91 |
+); |
92 |
+ |
93 |
+\Fedora\Autoloader\Dependencies::required([ |
94 |
+ '/usr/share/php/PharIo/Version/autoload.php' |
95 |
+]); |
96 |
|
97 |
diff --git a/dev-php/phar-io-manifest/metadata.xml b/dev-php/phar-io-manifest/metadata.xml |
98 |
new file mode 100644 |
99 |
index 00000000000..622fae9de47 |
100 |
--- /dev/null |
101 |
+++ b/dev-php/phar-io-manifest/metadata.xml |
102 |
@@ -0,0 +1,11 @@ |
103 |
+<?xml version='1.0' encoding='UTF-8'?> |
104 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
105 |
+<pkgmetadata> |
106 |
+ <maintainer type="project"> |
107 |
+ <email>php-bugs@g.o</email> |
108 |
+ <name>PHP</name> |
109 |
+ </maintainer> |
110 |
+ <upstream> |
111 |
+ <remote-id type="github">phar-io/manifest</remote-id> |
112 |
+ </upstream> |
113 |
+</pkgmetadata> |
114 |
|
115 |
diff --git a/dev-php/phar-io-manifest/phar-io-manifest-1.0.1.ebuild b/dev-php/phar-io-manifest/phar-io-manifest-1.0.1.ebuild |
116 |
new file mode 100644 |
117 |
index 00000000000..a9bec3adf3c |
118 |
--- /dev/null |
119 |
+++ b/dev-php/phar-io-manifest/phar-io-manifest-1.0.1.ebuild |
120 |
@@ -0,0 +1,28 @@ |
121 |
+# Copyright 1999-2018 Gentoo Foundation |
122 |
+# Distributed under the terms of the GNU General Public License v2 |
123 |
+ |
124 |
+EAPI=6 |
125 |
+ |
126 |
+MY_PN="manifest" |
127 |
+ |
128 |
+DESCRIPTION="Component for reading phar.io manifest information from a PHP Archive (PHAR)" |
129 |
+HOMEPAGE="https://github.com/phar-io/manifest" |
130 |
+SRC_URI="https://github.com/phar-io/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
131 |
+ |
132 |
+LICENSE="BSD" |
133 |
+SLOT="0" |
134 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
135 |
+IUSE="" |
136 |
+ |
137 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
138 |
+ |
139 |
+RDEPEND="dev-php/fedora-autoloader |
140 |
+ >=dev-php/phar-io-version-1.0.1 |
141 |
+ >=dev-lang/php-5.6[phar]" |
142 |
+ |
143 |
+src_install() { |
144 |
+ insinto /usr/share/php/PharIo/Manifest |
145 |
+ doins -r src/* |
146 |
+ doins "${FILESDIR}/autoload.php" |
147 |
+ dodoc README.md |
148 |
+} |