1 |
commit: 32fcbdd1dff5104e81d6e80d2415194687b31186 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 28 08:58:46 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 28 08:58:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32fcbdd1 |
7 |
|
8 |
dev-php/composer: bump to v2.0.14 |
9 |
|
10 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
dev-php/composer/Manifest | 1 + |
14 |
dev-php/composer/composer-2.0.14.ebuild | 80 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 81 insertions(+) |
16 |
|
17 |
diff --git a/dev-php/composer/Manifest b/dev-php/composer/Manifest |
18 |
index 95874f6e0e1..7364a2dd813 100644 |
19 |
--- a/dev-php/composer/Manifest |
20 |
+++ b/dev-php/composer/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST composer-1.10.22.tar.gz 429521 BLAKE2B da7a340b63fd2540886e0fe9252a115bffdfdddfb9cc5063b296fa4026275390641a761260597f9f4421bfcde62c5f8c9fd4757e41a8278ff0063f905d3a5b50 SHA512 e1a9e22d3e0673a0bbdbc4a97a330e15ce2b6b9e81a6bfc97a6d5918713d02fc414a36393e8760830418d9bde0664cbbcd8e454d6c6be14db585565a3eeb452b |
23 |
DIST composer-2.0.13.tar.gz 497819 BLAKE2B ab51556ff65b0c2822d5419bb6dde2c775c91ed210af6ab84f272db0ea823866d75090173663d517cd36163bbe04ce06f597c670fce45b595716baaf05253d8e SHA512 b16425e0553f69c23e636cc51711e2e433125ac55a29d21c66eead4b40080379449868810e9b443996e3959feae2be6ed9c9a100bc5e3f84d210654dd160887f |
24 |
+DIST composer-2.0.14.tar.gz 498661 BLAKE2B 0b454ed6a00b5cab169a4ff82e9a3d7ceb0d885bd1fe8f70ed495bc28e13a93f477c24df7d9510d0611941addc894d914b6856ef823762f0aeb596fef9332526 SHA512 7eb87f8454d38a091bf97ad470c41f6d1b82bc153618312093935d2b7b5890bf3d1eba25f9bd8e46c5f8ae462729e85ea19eb03184a4484332694a6369a82917 |
25 |
|
26 |
diff --git a/dev-php/composer/composer-2.0.14.ebuild b/dev-php/composer/composer-2.0.14.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..a86e72a98bc |
29 |
--- /dev/null |
30 |
+++ b/dev-php/composer/composer-2.0.14.ebuild |
31 |
@@ -0,0 +1,80 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI="7" |
36 |
+ |
37 |
+DESCRIPTION="Dependency Manager for PHP" |
38 |
+HOMEPAGE="https://github.com/composer/composer" |
39 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+ |
45 |
+BDEPEND="dev-php/theseer-Autoload" |
46 |
+ |
47 |
+RDEPEND="dev-lang/php:*[curl] |
48 |
+ >=dev-php/ca-bundle-1.0 |
49 |
+ dev-php/fedora-autoloader |
50 |
+ >=dev-php/jsonlint-1.4 |
51 |
+ >=dev-php/json-schema-5.2.10 |
52 |
+ >=dev-php/metadata-minifier-1.0 |
53 |
+ >=dev-php/phar-utils-1.0 |
54 |
+ >=dev-php/psr-log-1.0 |
55 |
+ >=dev-php/reactphp-promise-2.7 |
56 |
+ >=dev-php/semver-3.0 |
57 |
+ >=dev-php/spdx-licenses-1.2 |
58 |
+ >=dev-php/symfony-console-2.8.52 |
59 |
+ >=dev-php/symfony-filesystem-2.8.52 |
60 |
+ >=dev-php/symfony-finder-2.8.52 |
61 |
+ >=dev-php/symfony-process-2.8.52 |
62 |
+ >=dev-php/xdebug-handler-2" |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ default |
66 |
+ |
67 |
+ mkdir vendor || die |
68 |
+ |
69 |
+ phpab \ |
70 |
+ --output vendor/autoload.php \ |
71 |
+ --template "${FILESDIR}"/autoload.php.tpl \ |
72 |
+ --basedir src \ |
73 |
+ src \ |
74 |
+ || die |
75 |
+ |
76 |
+ cat >> vendor/autoload.php <<EOF || die "failed to extend autoload.php" |
77 |
+ |
78 |
+// Dependencies |
79 |
+\Fedora\Autoloader\Dependencies::required([ |
80 |
+ '/usr/share/php/Composer/CaBundle/autoload.php', |
81 |
+ '/usr/share/php/Composer/MetadataMinifier/autoload.php', |
82 |
+ '/usr/share/php/Composer/Semver/autoload.php', |
83 |
+ '/usr/share/php/Composer/Spdx/autoload.php', |
84 |
+ '/usr/share/php/Composer/XdebugHandler/autoload.php', |
85 |
+ '/usr/share/php/JsonSchema/autoload.php', |
86 |
+ '/usr/share/php/Psr/Log/autoload.php', |
87 |
+ '/usr/share/php/Seld/JsonLint/autoload.php', |
88 |
+ '/usr/share/php/Seld/PharUtils/autoload.php', |
89 |
+ '/usr/share/php/Symfony/Component/Console/autoload.php', |
90 |
+ '/usr/share/php/Symfony/Component/Filesystem/autoload.php', |
91 |
+ '/usr/share/php/Symfony/Component/Finder/autoload.php', |
92 |
+ '/usr/share/php/Symfony/Component/Process/autoload.php', |
93 |
+ '/usr/share/php/React/Promise/autoload.php' |
94 |
+]); |
95 |
+EOF |
96 |
+} |
97 |
+ |
98 |
+src_install() { |
99 |
+ insinto "/usr/share/${PN}" |
100 |
+ |
101 |
+ # Composer expects the LICENSE file to be there, and the |
102 |
+ # easiest thing to do is to give it what it wants. |
103 |
+ doins -r LICENSE res src vendor |
104 |
+ |
105 |
+ exeinto "/usr/share/${PN}/bin" |
106 |
+ doexe "bin/${PN}" |
107 |
+ dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}" |
108 |
+ |
109 |
+ dodoc CHANGELOG.md README.md doc/*.md |
110 |
+ dodoc -r doc/articles doc/faqs |
111 |
+} |